for-all-payment-gateway 1.0.1 → 1.0.2

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: 2d5f53c271dd4f692cfd741f1a5d278fb3a9e0f745cbb79ff5fc70ec967e91c6
4
- data.tar.gz: b8e4575009d6c7a5178a06c1caeee848a44db23e8a5f57db321f32aa25891f13
3
+ metadata.gz: 4a3d1ca011d7cff9c9f05df92adcf23ebf9f2da9ec755732a87c307910be63f2
4
+ data.tar.gz: 7e8590da371909517181248a8255383253e303f42684342614dcbe33a9995050
5
5
  SHA512:
6
- metadata.gz: a3b9484efb357996600c37d5e56b78e9c43e03e6fcdee2fe236328d237bad0cdffb6ddba785a2bb1c1aa1cb6636a36e77d7d4f40c850358ae94c76aac00488e3
7
- data.tar.gz: 48dd11ee5916e91c2d7f1c1efcd4dd4b678998e48c78385232bce41f910058254e928277788eb038b9f7b7bba36eb700af24f5dd82233c24f7319d801ad9729c
6
+ metadata.gz: fcc5e642ebd75f106680d476d0f5d47b08bce31ae0b4b2ffce5beeb692f8dd301ccb5c2e756c00b579b15db15f5b853a3f24fbb840dc22b61b640f7c02ff5c48
7
+ data.tar.gz: 268b392f81adef72cbe581f0515264be867fdb2e6506820d98b0a44b6c4e06af6ef10a1ca0023931cc52fd80d6422c1d21011b29cf68c3a1341eacd4d6acd984
data/.idea/workspace.xml CHANGED
@@ -2,11 +2,10 @@
2
2
  <project version="4">
3
3
  <component name="ChangeListManager">
4
4
  <list default="true" id="bb91f9e5-dcd0-4c27-bcd5-0888d2ca02ae" name="Default" comment="">
5
- <change afterPath="$PROJECT_DIR$/lib/payment_gateway/version.rb" afterDir="false" />
6
5
  <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
7
- <change beforePath="$PROJECT_DIR$/for-all-payment-gateway.gemspec" beforeDir="false" afterPath="$PROJECT_DIR$/for-all-payment-gateway.gemspec" afterDir="false" />
6
+ <change beforePath="$PROJECT_DIR$/lib/payment_gateway/for_all.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/payment_gateway/for_all.rb" afterDir="false" />
8
7
  <change beforePath="$PROJECT_DIR$/lib/payment_gateway/for_all/base.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/payment_gateway/for_all/base.rb" afterDir="false" />
9
- <change beforePath="$PROJECT_DIR$/lib/payment_gateway/for_all/transaction.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/payment_gateway/for_all/transaction.rb" afterDir="false" />
8
+ <change beforePath="$PROJECT_DIR$/lib/payment_gateway/version.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/payment_gateway/version.rb" afterDir="false" />
10
9
  </list>
11
10
  <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
12
11
  <option name="TRACKING_ENABLED" value="true" />
@@ -29,11 +28,11 @@
29
28
  </provider>
30
29
  </entry>
31
30
  </file>
32
- <file leaf-file-name="base.rb" pinned="false" current-in-tab="true">
31
+ <file leaf-file-name="base.rb" pinned="false" current-in-tab="false">
33
32
  <entry file="file://$PROJECT_DIR$/lib/payment_gateway/for_all/base.rb">
34
33
  <provider selected="true" editor-type-id="text-editor">
35
- <state relative-caret-position="429">
36
- <caret line="22" selection-start-line="22" selection-end-line="22" />
34
+ <state relative-caret-position="503">
35
+ <caret line="32" column="9" selection-start-line="32" selection-start-column="9" selection-end-line="32" selection-end-column="9" />
37
36
  </state>
38
37
  </provider>
39
38
  </entry>
@@ -47,16 +46,16 @@
47
46
  <entry file="file://$PROJECT_DIR$/for-all-payment-gateway.gemspec">
48
47
  <provider selected="true" editor-type-id="text-editor">
49
48
  <state relative-caret-position="154">
50
- <caret line="7" column="23" selection-start-line="7" selection-start-column="23" selection-end-line="7" selection-end-column="23" />
49
+ <caret line="7" column="40" lean-forward="true" selection-start-line="7" selection-start-column="40" selection-end-line="7" selection-end-column="40" />
51
50
  </state>
52
51
  </provider>
53
52
  </entry>
54
53
  </file>
55
- <file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
54
+ <file leaf-file-name="version.rb" pinned="false" current-in-tab="true">
56
55
  <entry file="file://$PROJECT_DIR$/lib/payment_gateway/version.rb">
57
56
  <provider selected="true" editor-type-id="text-editor">
58
- <state relative-caret-position="44">
59
- <caret line="2" column="3" selection-start-line="2" selection-start-column="3" selection-end-line="2" selection-end-column="3" />
57
+ <state relative-caret-position="22">
58
+ <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
60
59
  </state>
61
60
  </provider>
62
61
  </entry>
@@ -82,8 +81,8 @@
82
81
  <file leaf-file-name="for_all.rb" pinned="false" current-in-tab="false">
83
82
  <entry file="file://$PROJECT_DIR$/lib/payment_gateway/for_all.rb">
84
83
  <provider selected="true" editor-type-id="text-editor">
85
- <state relative-caret-position="484">
86
- <caret line="22" column="32" selection-start-line="22" selection-start-column="32" selection-end-line="22" selection-end-column="32" />
84
+ <state relative-caret-position="572">
85
+ <caret line="26" column="22" selection-start-line="26" selection-start-column="22" selection-end-line="26" selection-end-column="22" />
87
86
  </state>
88
87
  </provider>
89
88
  </entry>
@@ -91,8 +90,8 @@
91
90
  <file leaf-file-name="card.rb" pinned="false" current-in-tab="false">
92
91
  <entry file="file://$PROJECT_DIR$/lib/payment_gateway/for_all/card.rb">
93
92
  <provider selected="true" editor-type-id="text-editor">
94
- <state relative-caret-position="682">
95
- <caret line="31" column="15" selection-start-line="31" selection-start-column="15" selection-end-line="31" selection-end-column="15" />
93
+ <state relative-caret-position="284">
94
+ <caret line="36" column="27" selection-start-line="36" selection-start-column="27" selection-end-line="36" selection-end-column="27" />
96
95
  </state>
97
96
  </provider>
98
97
  </entry>
@@ -112,6 +111,7 @@
112
111
  <find>environment</find>
113
112
  <find>API_URL</find>
114
113
  <find>pry-</find>
114
+ <find>configuration.acc</find>
115
115
  </findStrings>
116
116
  </component>
117
117
  <component name="Git.Settings">
@@ -127,13 +127,13 @@
127
127
  <option value="$PROJECT_DIR$/lib/payment_gateway.rb" />
128
128
  <option value="$PROJECT_DIR$/README.md" />
129
129
  <option value="$PROJECT_DIR$/lib/for-all-payment-gateway.rb" />
130
- <option value="$PROJECT_DIR$/lib/payment_gateway/for_all.rb" />
131
130
  <option value="$PROJECT_DIR$/lib/payment_gateway/for_all/card.rb" />
132
131
  <option value="$PROJECT_DIR$/lib/payment_gateway/for_all/vault.rb" />
133
- <option value="$PROJECT_DIR$/lib/payment_gateway/version.rb" />
134
- <option value="$PROJECT_DIR$/for-all-payment-gateway.gemspec" />
135
132
  <option value="$PROJECT_DIR$/lib/payment_gateway/for_all/transaction.rb" />
133
+ <option value="$PROJECT_DIR$/for-all-payment-gateway.gemspec" />
136
134
  <option value="$PROJECT_DIR$/lib/payment_gateway/for_all/base.rb" />
135
+ <option value="$PROJECT_DIR$/lib/payment_gateway/for_all.rb" />
136
+ <option value="$PROJECT_DIR$/lib/payment_gateway/version.rb" />
137
137
  </list>
138
138
  </option>
139
139
  </component>
@@ -274,28 +274,31 @@
274
274
  <workItem from="1550672385952" duration="206000" />
275
275
  <workItem from="1550786637770" duration="1897000" />
276
276
  <workItem from="1551992708977" duration="215000" />
277
+ <workItem from="1552407144514" duration="663000" />
278
+ <workItem from="1552667719046" duration="2462000" />
277
279
  </task>
278
280
  <servers />
279
281
  </component>
280
282
  <component name="TimeTrackingManager">
281
- <option name="totallyTimeSpent" value="56735000" />
283
+ <option name="totallyTimeSpent" value="59860000" />
282
284
  </component>
283
285
  <component name="ToolWindowManager">
284
286
  <frame x="0" y="0" width="1280" height="800" extended-state="0" />
285
287
  <editor active="true" />
286
288
  <layout>
287
- <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.19453125" />
288
289
  <window_info anchor="bottom" id="TODO" order="6" />
289
- <window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
290
290
  <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" />
291
- <window_info anchor="right" id="Database" order="3" />
292
291
  <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
293
- <window_info anchor="bottom" id="Version Control" order="7" />
294
292
  <window_info anchor="bottom" id="Run" order="2" weight="0.20588236" />
295
- <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
293
+ <window_info anchor="bottom" id="Version Control" order="7" />
296
294
  <window_info anchor="bottom" id="Terminal" order="7" />
297
- <window_info id="Favorites" order="2" side_tool="true" />
295
+ <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.19453125" />
296
+ <window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
297
+ <window_info anchor="right" id="Database" order="3" />
298
+ <window_info anchor="bottom" id="Find" order="1" />
299
+ <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
298
300
  <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
301
+ <window_info id="Favorites" order="2" side_tool="true" />
299
302
  <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
300
303
  <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
301
304
  <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
@@ -303,7 +306,6 @@
303
306
  <window_info anchor="bottom" id="Messages" order="7" weight="0.328877" />
304
307
  <window_info anchor="bottom" id="Message" order="0" />
305
308
  <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
306
- <window_info anchor="bottom" id="Find" order="1" />
307
309
  </layout>
308
310
  </component>
309
311
  <component name="TypeScriptGeneratedFilesManager">
@@ -549,66 +551,66 @@
549
551
  </state>
550
552
  </provider>
551
553
  </entry>
552
- <entry file="file://$PROJECT_DIR$/lib/payment_gateway/for_all.rb">
554
+ <entry file="file://$PROJECT_DIR$/lib/for-all-payment-gateway.rb">
553
555
  <provider selected="true" editor-type-id="text-editor">
554
- <state relative-caret-position="484">
555
- <caret line="22" column="32" selection-start-line="22" selection-start-column="32" selection-end-line="22" selection-end-column="32" />
556
+ <state relative-caret-position="110">
557
+ <caret line="5" column="8" selection-start-line="5" selection-start-column="8" selection-end-line="5" selection-end-column="8" />
556
558
  </state>
557
559
  </provider>
558
560
  </entry>
559
- <entry file="file://$PROJECT_DIR$/lib/payment_gateway/version.rb">
561
+ <entry file="file://$PROJECT_DIR$/.gitignore">
560
562
  <provider selected="true" editor-type-id="text-editor">
561
- <state relative-caret-position="44">
562
- <caret line="2" column="3" selection-start-line="2" selection-start-column="3" selection-end-line="2" selection-end-column="3" />
563
+ <state relative-caret-position="242">
564
+ <caret line="11" lean-forward="true" selection-start-line="11" selection-end-line="11" />
563
565
  </state>
564
566
  </provider>
565
567
  </entry>
566
- <entry file="file://$PROJECT_DIR$/for-all-payment-gateway.gemspec">
568
+ <entry file="file://$PROJECT_DIR$/lib/payment_gateway/for_all/transaction.rb">
567
569
  <provider selected="true" editor-type-id="text-editor">
568
- <state relative-caret-position="154">
569
- <caret line="7" column="23" selection-start-line="7" selection-start-column="23" selection-end-line="7" selection-end-column="23" />
570
+ <state relative-caret-position="396">
571
+ <caret line="18" column="37" selection-start-line="18" selection-start-column="37" selection-end-line="18" selection-end-column="37" />
570
572
  </state>
571
573
  </provider>
572
574
  </entry>
573
- <entry file="file://$PROJECT_DIR$/lib/for-all-payment-gateway.rb">
575
+ <entry file="file://$PROJECT_DIR$/lib/payment_gateway/for_all/vault.rb">
574
576
  <provider selected="true" editor-type-id="text-editor">
575
- <state relative-caret-position="110">
576
- <caret line="5" column="8" selection-start-line="5" selection-start-column="8" selection-end-line="5" selection-end-column="8" />
577
+ <state relative-caret-position="198">
578
+ <caret line="9" selection-start-line="9" selection-end-line="9" />
577
579
  </state>
578
580
  </provider>
579
581
  </entry>
580
- <entry file="file://$PROJECT_DIR$/.gitignore">
582
+ <entry file="file://$PROJECT_DIR$/lib/payment_gateway/for_all/card.rb">
581
583
  <provider selected="true" editor-type-id="text-editor">
582
- <state relative-caret-position="242">
583
- <caret line="11" lean-forward="true" selection-start-line="11" selection-end-line="11" />
584
+ <state relative-caret-position="284">
585
+ <caret line="36" column="27" selection-start-line="36" selection-start-column="27" selection-end-line="36" selection-end-column="27" />
584
586
  </state>
585
587
  </provider>
586
588
  </entry>
587
- <entry file="file://$PROJECT_DIR$/lib/payment_gateway/for_all/vault.rb">
589
+ <entry file="file://$PROJECT_DIR$/lib/payment_gateway/for_all/base.rb">
588
590
  <provider selected="true" editor-type-id="text-editor">
589
- <state relative-caret-position="198">
590
- <caret line="9" selection-start-line="9" selection-end-line="9" />
591
+ <state relative-caret-position="503">
592
+ <caret line="32" column="9" selection-start-line="32" selection-start-column="9" selection-end-line="32" selection-end-column="9" />
591
593
  </state>
592
594
  </provider>
593
595
  </entry>
594
- <entry file="file://$PROJECT_DIR$/lib/payment_gateway/for_all/card.rb">
596
+ <entry file="file://$PROJECT_DIR$/lib/payment_gateway/for_all.rb">
595
597
  <provider selected="true" editor-type-id="text-editor">
596
- <state relative-caret-position="682">
597
- <caret line="31" column="15" selection-start-line="31" selection-start-column="15" selection-end-line="31" selection-end-column="15" />
598
+ <state relative-caret-position="572">
599
+ <caret line="26" column="22" selection-start-line="26" selection-start-column="22" selection-end-line="26" selection-end-column="22" />
598
600
  </state>
599
601
  </provider>
600
602
  </entry>
601
- <entry file="file://$PROJECT_DIR$/lib/payment_gateway/for_all/transaction.rb">
603
+ <entry file="file://$PROJECT_DIR$/for-all-payment-gateway.gemspec">
602
604
  <provider selected="true" editor-type-id="text-editor">
603
- <state relative-caret-position="396">
604
- <caret line="18" column="37" selection-start-line="18" selection-start-column="37" selection-end-line="18" selection-end-column="37" />
605
+ <state relative-caret-position="154">
606
+ <caret line="7" column="40" lean-forward="true" selection-start-line="7" selection-start-column="40" selection-end-line="7" selection-end-column="40" />
605
607
  </state>
606
608
  </provider>
607
609
  </entry>
608
- <entry file="file://$PROJECT_DIR$/lib/payment_gateway/for_all/base.rb">
610
+ <entry file="file://$PROJECT_DIR$/lib/payment_gateway/version.rb">
609
611
  <provider selected="true" editor-type-id="text-editor">
610
- <state relative-caret-position="429">
611
- <caret line="22" selection-start-line="22" selection-end-line="22" />
612
+ <state relative-caret-position="22">
613
+ <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
612
614
  </state>
613
615
  </provider>
614
616
  </entry>
@@ -19,13 +19,11 @@ module PaymentGateway
19
19
  class Configuration
20
20
  attr_accessor :public_key
21
21
  attr_accessor :merchant_key
22
- attr_accessor :access_key
23
22
  attr_accessor :environment
24
23
 
25
24
  def initialize
26
25
  @public_key = nil
27
26
  @merchant_key = nil
28
- @access_key = nil
29
27
  @environment = nil
30
28
  end
31
29
  end
@@ -29,8 +29,7 @@ module PaymentGateway
29
29
  end
30
30
 
31
31
  def access_key
32
- access_key = PaymentGateway::ForAll.configuration.access_key
33
- access_key.blank? ? Vault.new.request_key : access_key
32
+ Vault.new.request_key
34
33
  end
35
34
  end
36
35
  end
@@ -1,3 +1,3 @@
1
1
  module PaymentGateway
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: for-all-payment-gateway
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jhonatan Teixeira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-12 00:00:00.000000000 Z
11
+ date: 2019-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http