solidus_me 1.0.2 → 1.0.4

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
  SHA256:
3
- metadata.gz: a89d704cbb3a8a4e5608af1df273b2648995285572c086093e98b7054cb9e9ce
4
- data.tar.gz: f98e49c3cde1bcf4f85bd9d2469afd96ab6c01f0b0eb736a890f6ad343e517c5
3
+ metadata.gz: 5f3cef5e5b4044a418752e6a5ff7473d4d6308a0d5ed2910a1748f43b5af792d
4
+ data.tar.gz: 9e433ab0240b246c2139d0fb1bc53552e81cc1e983a531e435f17cceb7dd63f8
5
5
  SHA512:
6
- metadata.gz: 14c383bea7b2378d33a728c3282038c3bae7088da2433d8f23a613970bd61ad48c7a486428270c0dbff8ae6aa3668813a61d74fd50b86be6dd5df56da99a1917
7
- data.tar.gz: 8a10c4ef91bf67556fb337008db1dec890eee8a9090bcf7aed963096881e7d03d83f19ac32bc2f107c0be9aff361317cd4e80d089a2d8acd296f197d1055318a
6
+ metadata.gz: 832e452b369be10b6c0602182fc832a890b4a627830b344d04564785cb77bdc8b94b404dd7ef76d02f8c7112ac432e1d1fd2d83fea5dd95a9d0abbe529fbd500
7
+ data.tar.gz: cd845069b249719aba3e752d547654baca78647c820ea686b13dcf9cedfa6abe91bb7850615c2f0fae04d93f5a6b204874668597ba4d035a512ad0c85c58c959
@@ -36,7 +36,7 @@ module Spree
36
36
  def preferences_params
37
37
  hash_preferences = params.permit(:postal_code_from, :services, :client_id, :client_secret, :redirect_url, :state, :access_token, :refresh_token, :token_expires_in)
38
38
  hash_preferences[:services] = hash_preferences[:services].split(" ")
39
- hash_preferences
39
+ hash_preferences.to_h
40
40
  end
41
41
  end
42
42
  end
@@ -26,6 +26,10 @@ module SolidusMe
26
26
  puts 'Skipping bin/rails db:migrate, don\'t forget to run it!' # rubocop:disable Rails/Output
27
27
  end
28
28
  end
29
+
30
+ def install_dependencies
31
+ puts "\nTo complete the installation, please run:\nbin/rails generate solidus_brazilian_adaptations:install"
32
+ end
29
33
  end
30
34
  end
31
35
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusMe
4
- VERSION = '1.0.2'
4
+ VERSION = '1.0.4'
5
5
  end
data/solidus_me.gemspec CHANGED
@@ -32,6 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.add_dependency 'solidus_core', ['>= 2.0.0', '< 5']
33
33
  spec.add_dependency 'solidus_support', '~> 0.5'
34
34
  spec.add_dependency 'me_api'
35
+ spec.add_dependency 'solidus_brazilian_adaptations'
35
36
 
36
37
  spec.add_development_dependency 'solidus_dev_support', '~> 2.7'
37
38
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_me
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hamilton Tumenas Borges
@@ -58,6 +58,20 @@ dependencies:
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: solidus_brazilian_adaptations
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ type: :runtime
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
61
75
  - !ruby/object:Gem::Dependency
62
76
  name: solidus_dev_support
63
77
  requirement: !ruby/object:Gem::Requirement