spree_purchase_order 2.1.0.beta → 2.2.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/assets/javascripts/spree/backend/spree_purchase_order.js +1 -0
- data/app/assets/javascripts/spree/frontend/spree_purchase_order.js +1 -0
- data/app/assets/stylesheets/spree/backend/spree_purchase_order.css +3 -0
- data/app/assets/stylesheets/spree/frontend/spree_purchase_order.css +3 -0
- data/lib/generators/spree_purchase_order/install/install_generator.rb +4 -4
- data/lib/spree_purchase_order/version.rb +1 -1
- metadata +7 -8
- data/app/assets/javascripts/admin/spree_purchase_order.js +0 -1
- data/app/assets/javascripts/store/spree_purchase_order.js +0 -1
- data/app/assets/stylesheets/admin/spree_purchase_order.css +0 -3
- data/app/assets/stylesheets/store/spree_purchase_order.css +0 -3
- data/config/locales/en.yml +0 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81114882d03d7836f8a1b418485d94c63c602545
|
4
|
+
data.tar.gz: a4a4c26513e130bc7b976e84d24752ebad822f02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ae96a3f288897373513a9e5370124a7777d45b67fab61e491f50d793cb97a8588d15df6b44e070c4bf9d15136215ebbaa6b5727505bc8f885685cb9e3ac8bcc
|
7
|
+
data.tar.gz: 3970c4a83bfc12a292ec8b307a72b9b7840107c2284ee6fd297378f8efcb3af55f958143fd0eab8e6dda8eeb3a924babc3663a63ccf923f53d63fe792ac2e40b
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require spree/backend
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require spree/frontend
|
@@ -3,13 +3,13 @@ module SpreePurchaseOrder
|
|
3
3
|
class InstallGenerator < Rails::Generators::Base
|
4
4
|
|
5
5
|
def add_javascripts
|
6
|
-
append_file '
|
7
|
-
append_file '
|
6
|
+
append_file 'vendor/assets/javascripts/spree/frontend/all.js', "//= require spree/frontend/spree_purchase_order\n"
|
7
|
+
append_file 'vendor/assets/javascripts/spree/backend/all.js', "//= require spree/backend/spree_purchase_order\n"
|
8
8
|
end
|
9
9
|
|
10
10
|
def add_stylesheets
|
11
|
-
inject_into_file '
|
12
|
-
inject_into_file '
|
11
|
+
inject_into_file 'vendor/assets/stylesheets/spree/frontend/all.css', " *= require spree/frontend/spree_purchase_order\n", before: /\*\//, verbose: true
|
12
|
+
inject_into_file 'vendor/assets/stylesheets/spree/backend/all.css', " *= require spree/backend/spree_purchase_order\n", before: /\*\//, verbose: true
|
13
13
|
end
|
14
14
|
|
15
15
|
def add_source_attributes
|
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.
|
4
|
+
version: 2.2.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.2.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.2.0
|
27
27
|
description: Adds Purchase Order as a Payment Method to Spree Commerce
|
28
28
|
email: deepakmahakale@gmail.com
|
29
29
|
executables: []
|
@@ -33,16 +33,15 @@ files:
|
|
33
33
|
- MIT-LICENSE
|
34
34
|
- README.md
|
35
35
|
- Rakefile
|
36
|
-
- app/assets/javascripts/
|
37
|
-
- app/assets/javascripts/
|
38
|
-
- app/assets/stylesheets/
|
39
|
-
- app/assets/stylesheets/
|
36
|
+
- app/assets/javascripts/spree/backend/spree_purchase_order.js
|
37
|
+
- app/assets/javascripts/spree/frontend/spree_purchase_order.js
|
38
|
+
- app/assets/stylesheets/spree/backend/spree_purchase_order.css
|
39
|
+
- app/assets/stylesheets/spree/frontend/spree_purchase_order.css
|
40
40
|
- app/models/spree/order_decorator.rb
|
41
41
|
- app/models/spree/payment_decorator.rb
|
42
42
|
- app/models/spree/payment_method/purchase_order.rb
|
43
43
|
- app/models/spree/purchase_order.rb
|
44
44
|
- app/views/spree/checkout/payment/_purchaseorder.html.erb
|
45
|
-
- config/locales/en.yml
|
46
45
|
- config/routes.rb
|
47
46
|
- db/migrate/20160111123141_create_spree_purchase_orders.rb
|
48
47
|
- db/migrate/20160111163926_add_po_number_to_spree_payments.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
//= require admin/spree_backend
|
@@ -1 +0,0 @@
|
|
1
|
-
//= require store/spree_frontend
|
data/config/locales/en.yml
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
# Files in the config/locales directory are used for internationalization
|
2
|
-
# and are automatically loaded by Rails. If you want to use locales other
|
3
|
-
# than English, add the necessary files in this directory.
|
4
|
-
#
|
5
|
-
# To use the locales, use `I18n.t`:
|
6
|
-
#
|
7
|
-
# I18n.t 'hello'
|
8
|
-
#
|
9
|
-
# In views, this is aliased to just `t`:
|
10
|
-
#
|
11
|
-
# <%= t('hello') %>
|
12
|
-
#
|
13
|
-
# To use a different locale, set it with `I18n.locale`:
|
14
|
-
#
|
15
|
-
# I18n.locale = :es
|
16
|
-
#
|
17
|
-
# This would use the information in config/locales/es.yml.
|
18
|
-
#
|
19
|
-
# To learn more, please read the Rails Internationalization guide
|
20
|
-
# available at http://guides.rubyonrails.org/i18n.html.
|
21
|
-
|
22
|
-
en:
|
23
|
-
activerecord:
|
24
|
-
attributes:
|
25
|
-
spree/purchase_order:
|
26
|
-
po_number: Purchase order number
|