Skip to content

Commit

Permalink
Add ruby version
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyasyraf committed Mar 24, 2022
1 parent e1873df commit fae4535
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Rake::TestTask.new do |t|
end

desc "Run tests"
task :default => :test
task :default => :test
24 changes: 14 additions & 10 deletions brokjson.gemspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
Gem::Specification.new do |s|
s.name = 'brokjson'
s.version = '1.0.0'
s.summary = 'BrokJSON is a space-saving alternative to GeoJSON'
s.name = 'brokjson'
s.version = '1.0.0'
s.platform = Gem::Platform::RUBY
s.authors = ['Hazimi Asyraf']
s.email = '[email protected]'
s.summary = 'BrokJSON is a space-saving alternative to GeoJSON'
s.description = 'BrokJSON is a space-saving alternative to GeoJSON. Convert GeoJSON to BrokJSON and vice versa'
s.authors = ['Hazimi Asyraf']
s.email = '[email protected]'
s.files = ['lib/brokjson.rb']
s.test_files = ['test/test_brokjson.rb']
s.homepage = 'https://rubygems.org/gems/brokjson'
s.license = 'MIT'
end
s.homepage = 'https://github.com/jimmyasyraf/brokJSON_rb'
s.license = 'MIT'

s.required_ruby_version = '>= 2.6'

s.files = ['lib/brokjson.rb']
s.test_files = ['test/test_brokjson.rb']
end
2 changes: 1 addition & 1 deletion lib/brokjson.rb
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,4 @@ def self.brok2geo(brok)

return geo
end
end
end
2 changes: 1 addition & 1 deletion test/test_brokjson.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,4 @@ def sample_brokjson
]
}
end
end
end

0 comments on commit fae4535

Please sign in to comment.