Skip to content

Commit

Permalink
Add Version
Browse files Browse the repository at this point in the history
  • Loading branch information
Asmod4n committed Dec 3, 2015
1 parent d88a44b commit 6bf8853
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
/test/tmp/
/test/version_tmp/
/tmp/
/mruby/

## Specific to RubyMotion:
.dat*
Expand Down
3 changes: 3 additions & 0 deletions mrbgem.rake
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
require_relative 'mrblib/version'

MRuby::Gem::Specification.new('mruby-hiredis') do |spec|
spec.license = 'Apache-2'
spec.author = 'Hendrik Beskow'
spec.summary = 'hiredis bindings for mruby'
spec.version = Hiredis::VERSION
spec.add_dependency 'mruby-errno'

if build.toolchains.include?("androideabi")
Expand Down
3 changes: 3 additions & 0 deletions mrblib/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
class Hiredis
VERSION = '0.1.0'
end

0 comments on commit 6bf8853

Please sign in to comment.