spree_purchase_order 2.0.1 → 2.1.0.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/spree/payment_decorator.rb +0 -1
- data/app/models/spree/purchase_order.rb +1 -1
- data/lib/generators/spree_purchase_order/install/install_generator.rb +4 -0
- data/lib/spree_purchase_order/version.rb +1 -1
- metadata +5 -6
- data/app/models/spree/payment/processing_decorator.rb +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15b1dc14301550fdad116b68d0b8b5ec706014e7
|
4
|
+
data.tar.gz: bf8f77ccf7fff4473c9eecff76e59b7271a60982
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85eebdd705ab4b58dec2e0e5f4497a150e98c872b6286b241608c8ffcdb24c4bdcf44ba3357ca91fdd51695ff96ed433ec2725666d202fe86c02a7fd11187ac8
|
7
|
+
data.tar.gz: db35cab870024ae5624cadbb801c47198430b873f8ad21285b27a3d02939821306a9a2dc3b40a1353eeccdae72f3f5f557d7b5ae9e95f4a1892b15174f00e2b9
|
@@ -12,6 +12,10 @@ module SpreePurchaseOrder
|
|
12
12
|
inject_into_file 'app/assets/stylesheets/admin/all.css', " *= require admin/spree_purchase_order\n", before: /\*\//, verbose: true
|
13
13
|
end
|
14
14
|
|
15
|
+
def add_source_attributes
|
16
|
+
append_file 'config/initializers/spree.rb', "Spree::PermittedAttributes.source_attributes.push :po_number, :organization_name"
|
17
|
+
end
|
18
|
+
|
15
19
|
def add_migrations
|
16
20
|
run 'bundle exec rake railties:install:migrations FROM=spree_purchase_order'
|
17
21
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_purchase_order
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.1.0.beta
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Deepak Mahakale
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
19
|
+
version: 2.1.0
|
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.
|
26
|
+
version: 2.1.0
|
27
27
|
description: Adds Purchase Order as a Payment Method to Spree Commerce
|
28
28
|
email: deepakmahakale@gmail.com
|
29
29
|
executables: []
|
@@ -38,7 +38,6 @@ files:
|
|
38
38
|
- app/assets/stylesheets/admin/spree_purchase_order.css
|
39
39
|
- app/assets/stylesheets/store/spree_purchase_order.css
|
40
40
|
- app/models/spree/order_decorator.rb
|
41
|
-
- app/models/spree/payment/processing_decorator.rb
|
42
41
|
- app/models/spree/payment_decorator.rb
|
43
42
|
- app/models/spree/payment_method/purchase_order.rb
|
44
43
|
- app/models/spree/purchase_order.rb
|
@@ -66,9 +65,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
66
65
|
version: 1.9.3
|
67
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
67
|
requirements:
|
69
|
-
- - "
|
68
|
+
- - ">"
|
70
69
|
- !ruby/object:Gem::Version
|
71
|
-
version:
|
70
|
+
version: 1.3.1
|
72
71
|
requirements:
|
73
72
|
- none
|
74
73
|
rubyforge_project:
|