deno92.gemspec in deno92-0.1.16 vs deno92.gemspec in deno92-0.1.17
- old
+ new
@@ -1,31 +1,19 @@
+require File.expand_path('lib/deno92/version', File.dirname(__FILE__))
-lib = File.expand_path("../lib", __FILE__)
-$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-require "deno92/version"
-
-Gem::Specification.new do |spec|
- spec.name = "deno92"
- spec.version = Deno92::VERSION
- spec.authors = ["deno"]
- spec.email = ["d3no520@gmail.com"]
-
- spec.summary = %q{This is a sms sdk}
- spec.description = %q{This is a sms sdk}
- spec.homepage = "https://github.com/d3no/sms-sdk-ruby"
- spec.license = "MIT"
-
-
-
- # Specify which files should be added to the gem when it is released.
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
- end
- spec.bindir = "exe"
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
- spec.require_paths = ["lib"]
-
- spec.add_development_dependency "bundler", "~> 1.16"
- spec.add_development_dependency "rake", "~> 10.0"
- spec.add_development_dependency "minitest", "~> 5.0"
+Gem::Specification.new do |s|
+ s.name = 'deno92'
+ s.version = Deno92::VERSION
+ s.license = 'MIT'
+ s.platform = Gem::Platform::RUBY
+ s.authors = ['deno']
+ s.email = ['kahkeong.mocean@gmail.com']
+ s.homepage = 'https://github.com/d3no/sms-sdk-ruby'
+ s.description = 'sms-sdk-ruby'
+ s.summary = 'testing upload'
+ s.files = Dir.glob('{lib,spec}/**/*') + %w(LICENSE.txt README.md deno92.gemspec)
+ s.required_ruby_version = '>= 2.0.0'
+ s.add_development_dependency('rake','~>1.15')
+ s.add_development_dependency('minitest', '~> 5.0')
+ s.add_development_dependency('webmock', '~> 3.0')
+ s.require_path = 'lib'
end