moneris_simulator 0.2.0 → 0.3.0

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: 8a73cfe22e8660b60de857c9c1b19843dddebca0
4
- data.tar.gz: bdc924e6510966cccc398943d5db7379a84478ba
3
+ metadata.gz: 98beeeeb3ec4c8a030a0af1b531b351e1bf6c44d
4
+ data.tar.gz: 0dd6f10ff275559f5fa133daf73e592283c757d7
5
5
  SHA512:
6
- metadata.gz: 85842e81dcf024ffc769fcf54a84473cac3e10dabfc2f8cbb3ab69b49cf7f9eb2cdde24ef53343837fc1d4e4a17a915ad7692ba1973ced734dd83ddfafe72057
7
- data.tar.gz: f8ced414fa22d113519a3779ce225bb443523193459ea6726ca502cfdfae92ad05806f0df0b98241b09c02ab5a993caabe19a75d60e642c32c1a98ed3148eed4
6
+ metadata.gz: ee44bd66b9b775b93f083958f001ec4a2587969ef14bcc72ee3dfd10a6317a9aaab194fa1360cb037f9934f4c8f74a9475b948c3b7e564d8e55e033e13b1c13e
7
+ data.tar.gz: b62e4caf469776a86667c094337a8ae6432086445a0f8e8e865aad57663072e74c87634ddb65dc5f6ebfa5258383b5ca7e31fda1fcc16044bbf3657aa11ddfc3
@@ -22,7 +22,7 @@ class MonerisSimulator.CreditCard
22
22
  @creditCardNumber().substring 0, 6
23
23
 
24
24
  responseCode: () ->
25
- if @validCreditCard() then "1" else "51"
25
+ if @validCreditCard() then "001" else ["940","941","942"]
26
26
 
27
27
  validCreditCard: () ->
28
28
  @creditCardNumber() in @validCreditCards
@@ -1,3 +1,3 @@
1
1
  module MonerisSimulator
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -21,9 +21,9 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_dependency "coffee-rails"
23
23
  spec.add_dependency "jquery-rails"
24
- spec.add_dependency "rails", "~> 4.2"
24
+ spec.add_dependency "rails", ">= 4.2"
25
25
  spec.add_dependency "sass-rails"
26
- spec.add_development_dependency "bundler", "~> 1.11"
26
+ spec.add_development_dependency "bundler"
27
27
  spec.add_development_dependency "capybara"
28
28
  spec.add_development_dependency "capybara-webkit"
29
29
  spec.add_development_dependency "combustion"
@@ -31,8 +31,8 @@ Gem::Specification.new do |spec|
31
31
  spec.add_development_dependency "factory_girl_rails"
32
32
  spec.add_development_dependency "launchy"
33
33
  spec.add_development_dependency "pry"
34
- spec.add_development_dependency "rake", "~> 10.0"
35
- spec.add_development_dependency "rspec", "~> 3.0"
34
+ spec.add_development_dependency "rake"
35
+ spec.add_development_dependency "rspec"
36
36
  spec.add_development_dependency "rspec-rails"
37
37
  spec.add_development_dependency "shoulda-matchers"
38
38
  spec.add_development_dependency "simplecov"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moneris_simulator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael van den Beuken
@@ -18,7 +18,7 @@ authors:
18
18
  autorequire:
19
19
  bindir: exe
20
20
  cert_chain: []
21
- date: 2016-04-27 00:00:00.000000000 Z
21
+ date: 2017-09-06 00:00:00.000000000 Z
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
24
24
  name: coffee-rails
@@ -52,14 +52,14 @@ dependencies:
52
52
  name: rails
53
53
  requirement: !ruby/object:Gem::Requirement
54
54
  requirements:
55
- - - "~>"
55
+ - - ">="
56
56
  - !ruby/object:Gem::Version
57
57
  version: '4.2'
58
58
  type: :runtime
59
59
  prerelease: false
60
60
  version_requirements: !ruby/object:Gem::Requirement
61
61
  requirements:
62
- - - "~>"
62
+ - - ">="
63
63
  - !ruby/object:Gem::Version
64
64
  version: '4.2'
65
65
  - !ruby/object:Gem::Dependency
@@ -80,16 +80,16 @@ dependencies:
80
80
  name: bundler
81
81
  requirement: !ruby/object:Gem::Requirement
82
82
  requirements:
83
- - - "~>"
83
+ - - ">="
84
84
  - !ruby/object:Gem::Version
85
- version: '1.11'
85
+ version: '0'
86
86
  type: :development
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
89
89
  requirements:
90
- - - "~>"
90
+ - - ">="
91
91
  - !ruby/object:Gem::Version
92
- version: '1.11'
92
+ version: '0'
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: capybara
95
95
  requirement: !ruby/object:Gem::Requirement
@@ -192,30 +192,30 @@ dependencies:
192
192
  name: rake
193
193
  requirement: !ruby/object:Gem::Requirement
194
194
  requirements:
195
- - - "~>"
195
+ - - ">="
196
196
  - !ruby/object:Gem::Version
197
- version: '10.0'
197
+ version: '0'
198
198
  type: :development
199
199
  prerelease: false
200
200
  version_requirements: !ruby/object:Gem::Requirement
201
201
  requirements:
202
- - - "~>"
202
+ - - ">="
203
203
  - !ruby/object:Gem::Version
204
- version: '10.0'
204
+ version: '0'
205
205
  - !ruby/object:Gem::Dependency
206
206
  name: rspec
207
207
  requirement: !ruby/object:Gem::Requirement
208
208
  requirements:
209
- - - "~>"
209
+ - - ">="
210
210
  - !ruby/object:Gem::Version
211
- version: '3.0'
211
+ version: '0'
212
212
  type: :development
213
213
  prerelease: false
214
214
  version_requirements: !ruby/object:Gem::Requirement
215
215
  requirements:
216
- - - "~>"
216
+ - - ">="
217
217
  - !ruby/object:Gem::Version
218
- version: '3.0'
218
+ version: '0'
219
219
  - !ruby/object:Gem::Dependency
220
220
  name: rspec-rails
221
221
  requirement: !ruby/object:Gem::Requirement
@@ -347,7 +347,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
347
347
  version: '0'
348
348
  requirements: []
349
349
  rubyforge_project:
350
- rubygems_version: 2.4.5
350
+ rubygems_version: 2.6.13
351
351
  signing_key:
352
352
  specification_version: 4
353
353
  summary: Simulator for Moneris Hosted Tokenization