feat: 增加attr_json gem
Showing
| ... | ... | @@ -14,8 +14,7 @@ Gem::Specification.new do |spec| |
| spec.platform = Gem::Platform::RUBY | ||
| # 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. | ||
| # 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 | ||
| ... | ... | @@ -31,4 +30,5 @@ Gem::Specification.new do |spec| |
| spec.add_dependency('activesupport') | ||
| spec.add_dependency('redis') | ||
| spec.add_dependency('redis-objects') | ||
| spec.add_dependency 'attr_json' | ||
| end |
Please
register
or
sign in
to comment