Commit 379052c244bab6545edbbd4b03f14ffcd711c293
1 parent
c1f74980
Exists in
master
Adding license to gem spec
Showing
1 changed file
with
1 additions
and
8 deletions
Show diff stats
surveyable.gemspec
... | ... | @@ -12,14 +12,7 @@ Gem::Specification.new do |spec| |
12 | 12 | spec.summary = 'Models for attaching questions to a survey (polymorphic) and answers to a response (polymorphic)' |
13 | 13 | spec.description = 'Models for attaching questions to a survey (polymorphic) and answers to a response (polymorphic)' |
14 | 14 | spec.homepage = 'https://github.com/globalimpact/surveyable' |
15 | - | |
16 | - # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or | |
17 | - # delete this section to allow pushing this gem to any host. | |
18 | - if spec.respond_to?(:metadata) | |
19 | - spec.metadata['allowed_push_host'] = "charity.org" | |
20 | - else | |
21 | - raise "RubyGems 2.0 or newer is required to protect against public gem pushes." | |
22 | - end | |
15 | + spec.license = 'MIT' | |
23 | 16 | |
24 | 17 | spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } |
25 | 18 | spec.bindir = "exe" | ... | ... |