solidus_culqi 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3cd59cbb6af2ed7440da329d4d1e3469b52713ae5571efd8d3faa195755a16e
4
- data.tar.gz: a917bb5cc087316f47b063e7b9c01bb5e8a7527145e86fae8e35453ee0bd63bb
3
+ metadata.gz: c623122f14e7c6ec787c93661d40fc4266fd9cefe6478d4fc30d7446496011f6
4
+ data.tar.gz: eddcf724e1dbf86a0269808c55ec84d76803ba21e7c1c16ec68f6a8d26d7e577
5
5
  SHA512:
6
- metadata.gz: a1a37781d7f842659712e65b849447ac1fc82fbf73d7a2858c500886ff6990ebc0b57da9a4fa61e0dd391aea8c29c8c449b85502e97e75554166859d78f1f383
7
- data.tar.gz: e91564cc019279601db13b752f13a9253882c106482c4846bc544463d4ffcc3f801bf33e1adcab3f9c370759cd5f7fccf1ee70dcaa36083c07e4a43aff839426
6
+ metadata.gz: feb467b202a7e3ac1cad370daa66072930c1415baa3bb09a06062f2fe9443ec66fadcb84a7636efbeaa93c043394f74b9d392a6a00e556e4287aa86f128da0a8
7
+ data.tar.gz: 528d326dfe09348975b6ee4f3ec814e73cde89ddbc1fd77f19a2710ede1230adc51029b9193d752ddb350bd429eac3e8b0a9bf9287f8245783b38e4492114d1c
@@ -6,11 +6,6 @@ AllCops:
6
6
  - 'vendor/bundle/**/*'
7
7
  TargetRubyVersion: 2.5
8
8
 
9
- # Sometimes I believe this reads better
10
- # This also causes spacing issues on multi-line fixes
11
- Style/BracesAroundHashParameters:
12
- Enabled: false
13
-
14
9
  # We use class vars and will have to continue doing so for compatability
15
10
  Style/ClassVars:
16
11
  Enabled: false
@@ -67,6 +62,9 @@ Layout/ClosingParenthesisIndentation:
67
62
  Layout/MultilineMethodCallIndentation:
68
63
  Enabled: false
69
64
 
65
+ Layout/LineLength:
66
+ Enabled: false
67
+
70
68
  # From http://relaxed.ruby.style/
71
69
 
72
70
  Style/Alias:
@@ -176,6 +174,15 @@ Style/WhileUntilModifier:
176
174
  Enabled: false
177
175
  StyleGuide: http://relaxed.ruby.style/#stylewhileuntilmodifier
178
176
 
177
+ Style/HashEachMethods:
178
+ Enabled: true
179
+
180
+ Style/HashTransformKeys:
181
+ Enabled: true
182
+
183
+ Style/HashTransformValues:
184
+ Enabled: true
185
+
179
186
  Lint/AmbiguousRegexpLiteral:
180
187
  Enabled: false
181
188
  StyleGuide: http://relaxed.ruby.style/#lintambiguousregexpliteral
@@ -207,9 +214,6 @@ Metrics/ModuleLength:
207
214
  Metrics/CyclomaticComplexity:
208
215
  Enabled: false
209
216
 
210
- Metrics/LineLength:
211
- Enabled: false
212
-
213
217
  Metrics/MethodLength:
214
218
  Enabled: false
215
219
 
@@ -11,13 +11,13 @@ services:
11
11
  - mysql
12
12
  env:
13
13
  matrix:
14
- - SOLIDUS_BRANCH=v2.5 DB=postgres
15
- - SOLIDUS_BRANCH=v2.6 DB=postgres
16
14
  - SOLIDUS_BRANCH=v2.7 DB=postgres
17
15
  - SOLIDUS_BRANCH=v2.8 DB=postgres
16
+ - SOLIDUS_BRANCH=v2.9 DB=postgres
17
+ - SOLIDUS_BRANCH=v2.10 DB=postgres
18
18
  - SOLIDUS_BRANCH=master DB=postgres
19
- - SOLIDUS_BRANCH=v2.5 DB=mysql
20
- - SOLIDUS_BRANCH=v2.6 DB=mysql
21
19
  - SOLIDUS_BRANCH=v2.7 DB=mysql
22
20
  - SOLIDUS_BRANCH=v2.8 DB=mysql
21
+ - SOLIDUS_BRANCH=v2.9 DB=mysql
22
+ - SOLIDUS_BRANCH=v2.10 DB=mysql
23
23
  - SOLIDUS_BRANCH=master DB=mysql
@@ -14,7 +14,7 @@ module SolidusCulqi
14
14
  end
15
15
 
16
16
  def self.activate
17
- Dir.glob(File.join(File.dirname(__FILE__), '../../app/**/*_decorator*.rb')) do |c|
17
+ Dir.glob(File.join(File.dirname(__FILE__), '../../app/**/*_decorator*.rb')).sort.map do |c|
18
18
  Rails.configuration.cache_classes ? require(c) : load(c)
19
19
  end
20
20
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusCulqi
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
5
5
  end
@@ -24,12 +24,10 @@ require 'pry'
24
24
 
25
25
  # Requires supporting ruby files with custom matchers and macros, etc,
26
26
  # in spec/support/ and its subdirectories.
27
- Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |f| require f }
27
+ Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].sort.each { |f| require f }
28
28
 
29
29
  # Requires factories and other useful helpers defined in spree_core.
30
30
  require 'spree/testing_support/authorization_helpers'
31
- require 'spree/testing_support/capybara_ext'
32
- require 'spree/testing_support/controller_requests'
33
31
  require 'spree/testing_support/factories'
34
32
  require 'spree/testing_support/url_helpers'
35
33
  require 'spree/testing_support/preferences'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_culqi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - César Carruitero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-05 00:00:00.000000000 Z
11
+ date: 2021-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: culqi-ruby
@@ -181,7 +181,7 @@ files:
181
181
  - lib/solidus_culqi/support.rb
182
182
  - lib/solidus_culqi/version.rb
183
183
  - solidus_culqi.gemspec
184
- - spec/models/culqi_gateway.rb
184
+ - spec/models/culqi_gateway_spec.rb
185
185
  - spec/spec_helper.rb
186
186
  homepage: https://github.com/ccarruitero/solidus_culqi
187
187
  licenses:
@@ -202,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
202
202
  - !ruby/object:Gem::Version
203
203
  version: '0'
204
204
  requirements: []
205
- rubygems_version: 3.0.6
205
+ rubygems_version: 3.1.4
206
206
  signing_key:
207
207
  specification_version: 4
208
208
  summary: Adds solidus support for Culqi Gateway