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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 15b1dc14301550fdad116b68d0b8b5ec706014e7
4
- data.tar.gz: bf8f77ccf7fff4473c9eecff76e59b7271a60982
3
+ metadata.gz: 81114882d03d7836f8a1b418485d94c63c602545
4
+ data.tar.gz: a4a4c26513e130bc7b976e84d24752ebad822f02
5
5
  SHA512:
6
- metadata.gz: 85eebdd705ab4b58dec2e0e5f4497a150e98c872b6286b241608c8ffcdb24c4bdcf44ba3357ca91fdd51695ff96ed433ec2725666d202fe86c02a7fd11187ac8
7
- data.tar.gz: db35cab870024ae5624cadbb801c47198430b873f8ad21285b27a3d02939821306a9a2dc3b40a1353eeccdae72f3f5f557d7b5ae9e95f4a1892b15174f00e2b9
6
+ metadata.gz: 2ae96a3f288897373513a9e5370124a7777d45b67fab61e491f50d793cb97a8588d15df6b44e070c4bf9d15136215ebbaa6b5727505bc8f885685cb9e3ac8bcc
7
+ data.tar.gz: 3970c4a83bfc12a292ec8b307a72b9b7840107c2284ee6fd297378f8efcb3af55f958143fd0eab8e6dda8eeb3a924babc3663a63ccf923f53d63fe792ac2e40b
@@ -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
+ */
@@ -3,13 +3,13 @@ module SpreePurchaseOrder
3
3
  class InstallGenerator < Rails::Generators::Base
4
4
 
5
5
  def add_javascripts
6
- append_file 'app/assets/javascripts/store/all.js', "//= require store/spree_purchase_order\n"
7
- append_file 'app/assets/javascripts/admin/all.js', "//= require admin/spree_purchase_order\n"
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 'app/assets/stylesheets/store/all.css', " *= require store/spree_purchase_order\n", before: /\*\//, verbose: true
12
- inject_into_file 'app/assets/stylesheets/admin/all.css', " *= require admin/spree_purchase_order\n", before: /\*\//, verbose: true
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
@@ -1,3 +1,3 @@
1
1
  module SpreePurchaseOrder
2
- VERSION = '2.1.0.beta'
2
+ VERSION = '2.2.0.beta'
3
3
  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.1.0.beta
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.1.0
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.1.0
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/admin/spree_purchase_order.js
37
- - app/assets/javascripts/store/spree_purchase_order.js
38
- - app/assets/stylesheets/admin/spree_purchase_order.css
39
- - app/assets/stylesheets/store/spree_purchase_order.css
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
@@ -1,3 +0,0 @@
1
- /*
2
- *= require admin/spree_backend
3
- */
@@ -1,3 +0,0 @@
1
- /*
2
- *= require store/spree_frontend
3
- */
@@ -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