spree_product_activator 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,14 @@
1
+ \#*
2
+ *~
3
+ .#*
4
+ .DS_Store
5
+ .idea
6
+ .project
7
+ .sass-cache
8
+ coverage
9
+ Gemfile.lock
10
+ tmp
11
+ nbproject
12
+ pkg
13
+ *.swp
14
+ spec/dummy
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Provides basic authentication functionality for testing parts of your engine
4
+ gem 'spree', github: 'spree/spree', branch: '2-2-stable'
5
+ gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '2-2-stable'
6
+ gem 'pry'
7
+
8
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,26 @@
1
+ Copyright (c) 2014 [name of plugin creator]
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without modification,
5
+ are permitted provided that the following conditions are met:
6
+
7
+ * Redistributions of source code must retain the above copyright notice,
8
+ this list of conditions and the following disclaimer.
9
+ * Redistributions in binary form must reproduce the above copyright notice,
10
+ this list of conditions and the following disclaimer in the documentation
11
+ and/or other materials provided with the distribution.
12
+ * Neither the name Spree nor the names of its contributors may be used to
13
+ endorse or promote products derived from this software without specific
14
+ prior written permission.
15
+
16
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
20
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
21
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
22
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
23
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
24
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
25
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
26
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,54 @@
1
+ Spree Product Activator
2
+ =====================
3
+
4
+ Simple way to make active/inactive a product
5
+
6
+ You're going to be able to see a checkbox to make a product active/inactive as you need, this in product admin site
7
+
8
+ Now you can use it like here:
9
+
10
+ ```ruby
11
+ Spree::Product.without_inactive
12
+ ```
13
+
14
+ or
15
+
16
+ ```ruby
17
+ Spree::Product.with_inactive
18
+ ```
19
+
20
+ Installation
21
+ ------------
22
+
23
+ Add spree_product_activator to your Gemfile:
24
+
25
+ ```ruby
26
+ gem 'spree_product_activator'
27
+ ```
28
+
29
+ Bundle your dependencies and run the installation generator:
30
+
31
+ ```shell
32
+ bundle
33
+ bundle exec rails g spree_product_activator:install
34
+ ```
35
+
36
+ Testing
37
+ -------
38
+
39
+ Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.
40
+
41
+ ```shell
42
+ bundle
43
+ bundle exec rake test_app
44
+ bundle exec rspec spec
45
+ ```
46
+
47
+ When testing your applications integration with this extension you may use it's factories.
48
+ Simply add this require statement to your spec_helper:
49
+
50
+ ```ruby
51
+ require 'spree_product_activator/factories'
52
+ ```
53
+
54
+ Copyright (c) 2014 jtapia, released under the New BSD License
@@ -0,0 +1,15 @@
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
3
+
4
+ require 'rspec/core/rake_task'
5
+ require 'spree/testing_support/extension_rake'
6
+
7
+ RSpec::Core::RakeTask.new
8
+
9
+ task :default => [:spec]
10
+
11
+ desc 'Generates a dummy app for testing'
12
+ task :test_app do
13
+ ENV['LIB_NAME'] = 'spree_product_activator'
14
+ Rake::Task['extension:test_app'].invoke
15
+ end
@@ -0,0 +1,2 @@
1
+ "2.2.x" => { :branch => "2-2-stable" }
2
+ "2.0.x" => { :branch => "2-0-stable" }
@@ -0,0 +1 @@
1
+ //= require spree/backend
@@ -0,0 +1 @@
1
+ //= require spree/frontend
@@ -0,0 +1,3 @@
1
+ /*
2
+ *= require spree/backend
3
+ */
@@ -0,0 +1,3 @@
1
+ /*
2
+ *= require spree/frontend
3
+ */
@@ -0,0 +1,12 @@
1
+ Spree::Product.class_eval do
2
+
3
+ # Add inactive products scope to the search scope
4
+ add_search_scope :without_inactive do
5
+ where("#{Spree::Product.table_name}.inactive = ?", false)
6
+ end
7
+
8
+ add_search_scope :with_inactive do
9
+ where("#{Spree::Product.table_name}.inactive = ?", true)
10
+ end
11
+
12
+ end
@@ -0,0 +1,8 @@
1
+ <!-- insert_bottom "[data-hook=admin_product_form_right]"
2
+ original '94d9fcd0ef87eb4231f1f80e637f31e1b0928cdb' -->
3
+
4
+ <%= f.field_container :inactive do %>
5
+ <%= f.check_box :inactive %>
6
+ <%= f.label :inactive, Spree.t(:make_inactive) %>
7
+ <%= f.error_message_on :inactive %>
8
+ <% end %>
@@ -0,0 +1,7 @@
1
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
2
+
3
+ ENGINE_ROOT = File.expand_path('../..', __FILE__)
4
+ ENGINE_PATH = File.expand_path('../../lib/spree_product_activator/engine', __FILE__)
5
+
6
+ require 'rails/all'
7
+ require 'rails/engine/commands'
@@ -0,0 +1,6 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ spree:
6
+ make_inactive: Make Inactive?
@@ -0,0 +1,3 @@
1
+ Spree::Core::Engine.routes.draw do
2
+ # Add your extension routes here
3
+ end
@@ -0,0 +1,5 @@
1
+ class AddInactiveToSpreeProducts < ActiveRecord::Migration
2
+ def change
3
+ add_column :spree_products, :inactive, :boolean, default: false
4
+ end
5
+ end
@@ -0,0 +1,21 @@
1
+ module SpreeProductActivator
2
+ module Generators
3
+ class InstallGenerator < Rails::Generators::Base
4
+
5
+ class_option :auto_run_migrations, :type => :boolean, :default => false
6
+
7
+ def add_migrations
8
+ run 'bundle exec rake railties:install:migrations FROM=spree_product_activator'
9
+ end
10
+
11
+ def run_migrations
12
+ run_migrations = options[:auto_run_migrations] || ['', 'y', 'Y'].include?(ask 'Would you like to run the migrations now? [Y/n]')
13
+ if run_migrations
14
+ run 'bundle exec rake db:migrate'
15
+ else
16
+ puts 'Skipping rake db:migrate, don\'t forget to run it!'
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,2 @@
1
+ require 'spree_core'
2
+ require 'spree_product_activator/engine'
@@ -0,0 +1,22 @@
1
+ module SpreeProductActivator
2
+ class Engine < Rails::Engine
3
+ require 'spree/core'
4
+ isolate_namespace Spree
5
+ engine_name 'spree_product_activator'
6
+
7
+ config.autoload_paths += %W(#{config.root}/lib)
8
+
9
+ # use rspec for tests
10
+ config.generators do |g|
11
+ g.test_framework :rspec
12
+ end
13
+
14
+ def self.activate
15
+ Dir.glob(File.join(File.dirname(__FILE__), '../../app/**/*_decorator*.rb')) do |c|
16
+ Rails.configuration.cache_classes ? require(c) : load(c)
17
+ end
18
+ end
19
+
20
+ config.to_prepare &method(:activate).to_proc
21
+ end
22
+ end
@@ -0,0 +1,6 @@
1
+ FactoryGirl.define do
2
+ # Define your Spree extensions Factories within this file to enable applications, and other extensions to use and override them.
3
+ #
4
+ # Example adding this to your spec_helper will load these Factories for use:
5
+ # require 'spree_product_activator/factories'
6
+ end
@@ -0,0 +1,38 @@
1
+ # encoding: UTF-8
2
+ require 'spec_helper'
3
+
4
+ describe 'Product Details' do
5
+ stub_authorization!
6
+
7
+ before do
8
+ create(:product, :name => 'Test Product', :sku => 'A100',
9
+ :description => 'lorem ipsum', :available_on => Date.today - 1.month)
10
+ create(:product, :name => 'Test Product 2', :sku => 'A100',
11
+ :description => 'lorem ipsum', :available_on => Date.today - 1.month)
12
+ visit spree.admin_products_path
13
+ within_row(1) { click_icon :edit }
14
+ click_link 'Product Details'
15
+ end
16
+
17
+ context 'editing a product' do
18
+ it 'should list the product details' do
19
+ find('input#product_inactive').value.should == '1'
20
+ end
21
+
22
+ it 'should list the product without inactive products' do
23
+ find('input#product_inactive').set true
24
+ click_button "Update"
25
+
26
+ Spree::Product.count.should == 2
27
+ Spree::Product.without_inactive.count.should == 1
28
+ end
29
+
30
+ it 'should list the product with inactive products' do
31
+ find('input#product_inactive').set false
32
+ click_button "Update"
33
+
34
+ Spree::Product.count.should == 2
35
+ Spree::Product.without_inactive.count.should == 2
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,84 @@
1
+ # Run Coverage report
2
+ require 'simplecov'
3
+ SimpleCov.start do
4
+ add_filter 'spec/dummy'
5
+ add_group 'Controllers', 'app/controllers'
6
+ add_group 'Helpers', 'app/helpers'
7
+ add_group 'Mailers', 'app/mailers'
8
+ add_group 'Models', 'app/models'
9
+ add_group 'Views', 'app/views'
10
+ add_group 'Libraries', 'lib'
11
+ end
12
+
13
+ # Configure Rails Environment
14
+ ENV['RAILS_ENV'] = 'test'
15
+
16
+ require File.expand_path('../dummy/config/environment.rb', __FILE__)
17
+
18
+ require 'rspec/rails'
19
+ require 'database_cleaner'
20
+ require 'ffaker'
21
+
22
+ # Requires supporting ruby files with custom matchers and macros, etc,
23
+ # in spec/support/ and its subdirectories.
24
+ Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |f| require f }
25
+
26
+ # Requires factories defined in spree_core
27
+ require 'spree/testing_support/factories'
28
+ require 'spree/testing_support/controller_requests'
29
+ require 'spree/testing_support/authorization_helpers'
30
+ require 'spree/testing_support/capybara_ext'
31
+ require 'spree/testing_support/preferences'
32
+ require 'spree/testing_support/url_helpers'
33
+
34
+ # Requires factories defined in lib/spree_product_activator/factories.rb
35
+ require 'spree_product_activator/factories'
36
+
37
+ RSpec.configure do |config|
38
+ config.include FactoryGirl::Syntax::Methods
39
+
40
+ # == URL Helpers
41
+ #
42
+ # Allows access to Spree's routes in specs:
43
+ #
44
+ # visit spree.admin_path
45
+ # current_path.should eql(spree.products_path)
46
+ config.include Spree::TestingSupport::UrlHelpers
47
+
48
+ # == Mock Framework
49
+ #
50
+ # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
51
+ #
52
+ # config.mock_with :mocha
53
+ # config.mock_with :flexmock
54
+ # config.mock_with :rr
55
+ config.mock_with :rspec
56
+ config.color = true
57
+
58
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
59
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
60
+
61
+ # Capybara javascript drivers require transactional fixtures set to false, and we use DatabaseCleaner
62
+ # to cleanup after each test instead. Without transactional fixtures set to false the records created
63
+ # to setup a test will be unavailable to the browser, which runs under a separate server instance.
64
+ config.use_transactional_fixtures = false
65
+
66
+ # Ensure Suite is set to use transactions for speed.
67
+ config.before :suite do
68
+ DatabaseCleaner.strategy = :transaction
69
+ DatabaseCleaner.clean_with :truncation
70
+ end
71
+
72
+ # Before each spec check if it is a Javascript test and switch between using database transactions or not where necessary.
73
+ config.before :each do
74
+ DatabaseCleaner.strategy = example.metadata[:js] ? :truncation : :transaction
75
+ DatabaseCleaner.start
76
+ end
77
+
78
+ # After each spec clean the database.
79
+ config.after :each do
80
+ DatabaseCleaner.clean
81
+ end
82
+
83
+ config.fail_fast = ENV['FAIL_FAST'] || false
84
+ end
@@ -0,0 +1,33 @@
1
+ # encoding: UTF-8
2
+ Gem::Specification.new do |s|
3
+ s.platform = Gem::Platform::RUBY
4
+ s.name = 'spree_product_activator'
5
+ s.version = '1.0.0'
6
+ s.summary = 'Spree Product Activator'
7
+ s.description = 'Spree Product Activator Extension'
8
+ s.required_ruby_version = '>= 1.9.3'
9
+
10
+ s.author = ['Jonathan Tapia']
11
+ s.email = ['jonathan.tapia@crowdint.com']
12
+ s.homepage = 'http://github.com/jtapia/spree_product_activator'
13
+
14
+ s.files = `git ls-files`.split("\n")
15
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
+
17
+ s.require_path = 'lib'
18
+ s.requirements << 'none'
19
+
20
+ s.add_dependency 'spree_core', '~> 2.2.0'
21
+
22
+ s.add_development_dependency 'capybara', '~> 2.1'
23
+ s.add_development_dependency 'coffee-rails'
24
+ s.add_development_dependency 'database_cleaner'
25
+ s.add_development_dependency 'factory_girl', '~> 4.2'
26
+ s.add_development_dependency 'ffaker'
27
+ s.add_development_dependency 'rspec-rails', '~> 2.13'
28
+ s.add_development_dependency 'sass-rails'
29
+ s.add_development_dependency 'shoulda-matchers', '>= 1.5.4'
30
+ s.add_development_dependency 'selenium-webdriver'
31
+ s.add_development_dependency 'simplecov'
32
+ s.add_development_dependency 'sqlite3'
33
+ end
metadata ADDED
@@ -0,0 +1,264 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: spree_product_activator
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Jonathan Tapia
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2014-08-27 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: spree_core
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 2.2.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 2.2.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: capybara
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: '2.1'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '2.1'
46
+ - !ruby/object:Gem::Dependency
47
+ name: coffee-rails
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: database_cleaner
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: factory_girl
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: '4.2'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: '4.2'
94
+ - !ruby/object:Gem::Dependency
95
+ name: ffaker
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: rspec-rails
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: '2.13'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ~>
124
+ - !ruby/object:Gem::Version
125
+ version: '2.13'
126
+ - !ruby/object:Gem::Dependency
127
+ name: sass-rails
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ - !ruby/object:Gem::Dependency
143
+ name: shoulda-matchers
144
+ requirement: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ! '>='
148
+ - !ruby/object:Gem::Version
149
+ version: 1.5.4
150
+ type: :development
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: 1.5.4
158
+ - !ruby/object:Gem::Dependency
159
+ name: selenium-webdriver
160
+ requirement: !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ! '>='
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ type: :development
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ - !ruby/object:Gem::Dependency
175
+ name: simplecov
176
+ requirement: !ruby/object:Gem::Requirement
177
+ none: false
178
+ requirements:
179
+ - - ! '>='
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
182
+ type: :development
183
+ prerelease: false
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ! '>='
188
+ - !ruby/object:Gem::Version
189
+ version: '0'
190
+ - !ruby/object:Gem::Dependency
191
+ name: sqlite3
192
+ requirement: !ruby/object:Gem::Requirement
193
+ none: false
194
+ requirements:
195
+ - - ! '>='
196
+ - !ruby/object:Gem::Version
197
+ version: '0'
198
+ type: :development
199
+ prerelease: false
200
+ version_requirements: !ruby/object:Gem::Requirement
201
+ none: false
202
+ requirements:
203
+ - - ! '>='
204
+ - !ruby/object:Gem::Version
205
+ version: '0'
206
+ description: Spree Product Activator Extension
207
+ email:
208
+ - jonathan.tapia@crowdint.com
209
+ executables: []
210
+ extensions: []
211
+ extra_rdoc_files: []
212
+ files:
213
+ - .gitignore
214
+ - .rspec
215
+ - Gemfile
216
+ - LICENSE
217
+ - README.md
218
+ - Rakefile
219
+ - Versionfile
220
+ - app/assets/javascripts/spree/backend/spree_product_activator.js
221
+ - app/assets/javascripts/spree/frontend/spree_product_activator.js
222
+ - app/assets/stylesheets/spree/backend/spree_product_activator.css
223
+ - app/assets/stylesheets/spree/frontend/spree_product_activator.css
224
+ - app/models/spree/product_decorator.rb
225
+ - app/overrides/spree/admin/products/_form/add_inactive_checkbox.html.erb.deface
226
+ - bin/rails
227
+ - config/locales/en.yml
228
+ - config/routes.rb
229
+ - db/migrate/20140811181003_add_inactive_to_spree_products.rb
230
+ - lib/generators/spree_product_activator/install/install_generator.rb
231
+ - lib/spree_product_activator.rb
232
+ - lib/spree_product_activator/engine.rb
233
+ - lib/spree_product_activator/factories.rb
234
+ - spec/features/admin/products_spec.rb
235
+ - spec/spec_helper.rb
236
+ - spree_product_activator.gemspec
237
+ homepage: http://github.com/jtapia/spree_product_activator
238
+ licenses: []
239
+ post_install_message:
240
+ rdoc_options: []
241
+ require_paths:
242
+ - lib
243
+ required_ruby_version: !ruby/object:Gem::Requirement
244
+ none: false
245
+ requirements:
246
+ - - ! '>='
247
+ - !ruby/object:Gem::Version
248
+ version: 1.9.3
249
+ required_rubygems_version: !ruby/object:Gem::Requirement
250
+ none: false
251
+ requirements:
252
+ - - ! '>='
253
+ - !ruby/object:Gem::Version
254
+ version: '0'
255
+ requirements:
256
+ - none
257
+ rubyforge_project:
258
+ rubygems_version: 1.8.23
259
+ signing_key:
260
+ specification_version: 3
261
+ summary: Spree Product Activator
262
+ test_files:
263
+ - spec/features/admin/products_spec.rb
264
+ - spec/spec_helper.rb