spree_repeat_order 2.1.9 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/app/assets/javascripts/spree/backend/spree_repeat_order.js +1 -0
- data/app/assets/javascripts/spree/frontend/spree_repeat_order.js +1 -0
- data/app/assets/stylesheets/spree/backend/spree_repeat_order.css +3 -0
- data/app/assets/stylesheets/spree/frontend/spree_repeat_order.css +3 -0
- data/app/controllers/spree/repeated_orders_controller.rb +1 -1
- data/lib/generators/spree_repeat_order/install/install_generator.rb +4 -4
- data/lib/spree_repeat_order.rb +2 -0
- data/spree_repeat_order.gemspec +4 -4
- metadata +12 -12
- data/app/assets/javascripts/admin/spree_repeat_order.js +0 -1
- data/app/assets/javascripts/store/spree_repeat_order.js +0 -1
- data/app/assets/stylesheets/admin/spree_repeat_order.css +0 -3
- data/app/assets/stylesheets/store/spree_repeat_order.css +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 529ebf90d5bc56d96e6b0089ee17cbb12bb33065
|
4
|
+
data.tar.gz: 3e6abee2f0bbd092639039138f19093ad1c0ce85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a85a234026e72393e1485749f5b0dde345c146dc7270f527f8637b1a897b327ce133cf785c18746414d39721d1aec644e5c6e2cdb77c9ed0004f6fdd7aed0bb
|
7
|
+
data.tar.gz: 2d6b96ca37556bff40066539f1945a36988ef9ad89483391452625ddada464c1144f6d98ccb10ab85bd24f6e37f9ba9332697c0ea8419144853d1564dc19ce0f
|
data/Gemfile
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
//= require spree/backend
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require spree/frontend
|
@@ -5,13 +5,13 @@ module SpreeRepeatOrder
|
|
5
5
|
class_option :auto_run_migrations, :type => :boolean, :default => false
|
6
6
|
|
7
7
|
def add_javascripts
|
8
|
-
append_file '
|
9
|
-
append_file '
|
8
|
+
append_file 'vendor/assets/javascripts/spree/frontend/all.js', "//= require spree/frontend/spree_repeat_order\n"
|
9
|
+
append_file 'vendor/assets/javascripts/spree/backend/all.js', "//= require spree/backend/spree_repeat_order\n"
|
10
10
|
end
|
11
11
|
|
12
12
|
def add_stylesheets
|
13
|
-
inject_into_file '
|
14
|
-
inject_into_file '
|
13
|
+
inject_into_file 'vendor/assets/stylesheets/spree/frontend/all.css', " *= require spree/frontend/spree_repeat_order\n", :before => /\*\//, :verbose => true
|
14
|
+
inject_into_file 'vendor/assets/stylesheets/spree/backend/all.css', " *= require spree/backend/spree_repeat_order\n", :before => /\*\//, :verbose => true
|
15
15
|
end
|
16
16
|
|
17
17
|
def add_migrations
|
data/lib/spree_repeat_order.rb
CHANGED
data/spree_repeat_order.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.platform = Gem::Platform::RUBY
|
4
4
|
s.name = 'spree_repeat_order'
|
5
|
-
s.version = '2.1
|
5
|
+
s.version = '2.2.1'
|
6
6
|
s.summary = 'Makes it possible to repeat an existing order with one click'
|
7
7
|
s.description = ''
|
8
8
|
s.required_ruby_version = '>= 2.0.0'
|
@@ -15,9 +15,9 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.require_path = 'lib'
|
16
16
|
s.requirements << 'none'
|
17
17
|
|
18
|
-
s.add_dependency 'spree_core', '~> 2.1
|
19
|
-
s.add_dependency 'spree_frontend', '~> 2.1
|
20
|
-
s.add_dependency 'spree_backend', '~> 2.1
|
18
|
+
s.add_dependency 'spree_core', '~> 2.2.1'
|
19
|
+
s.add_dependency 'spree_frontend', '~> 2.2.1'
|
20
|
+
s.add_dependency 'spree_backend', '~> 2.2.1'
|
21
21
|
|
22
22
|
s.add_development_dependency 'capybara', '~> 2.1'
|
23
23
|
s.add_development_dependency 'coffee-rails'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_repeat_order
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francisco Trindade
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spree_core
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.1
|
19
|
+
version: 2.2.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.1
|
26
|
+
version: 2.2.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: spree_frontend
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.1
|
33
|
+
version: 2.2.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 2.1
|
40
|
+
version: 2.2.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: spree_backend
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.1
|
47
|
+
version: 2.2.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.1
|
54
|
+
version: 2.2.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: capybara
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -204,10 +204,10 @@ files:
|
|
204
204
|
- LICENSE
|
205
205
|
- README.md
|
206
206
|
- Rakefile
|
207
|
-
- app/assets/javascripts/
|
208
|
-
- app/assets/javascripts/
|
209
|
-
- app/assets/stylesheets/
|
210
|
-
- app/assets/stylesheets/
|
207
|
+
- app/assets/javascripts/spree/backend/spree_repeat_order.js
|
208
|
+
- app/assets/javascripts/spree/frontend/spree_repeat_order.js
|
209
|
+
- app/assets/stylesheets/spree/backend/spree_repeat_order.css
|
210
|
+
- app/assets/stylesheets/spree/frontend/spree_repeat_order.css
|
211
211
|
- app/controllers/spree/admin/repeated_orders_controller.rb
|
212
212
|
- app/controllers/spree/repeated_orders_controller.rb
|
213
213
|
- app/models/spree/line_item_decorator.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
//= require admin/spree_backend
|
@@ -1 +0,0 @@
|
|
1
|
-
//= require store/spree_frontend
|