veritrans 2.1.2 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +10 -1
  3. data/.idea/.gitignore +8 -0
  4. data/.rubocop.yml +35 -0
  5. data/.travis.yml +10 -5
  6. data/CHANGELOG.md +45 -0
  7. data/Gemfile +6 -7
  8. data/Gemfile.lock +134 -146
  9. data/Maintaining.MD +8 -0
  10. data/README.md +266 -226
  11. data/api_reference.md +534 -143
  12. data/example/coreapi/core_api_credit_card_example.rb +66 -0
  13. data/example/coreapi/readme.md +4 -0
  14. data/example/sinatra/Gemfile +7 -0
  15. data/example/sinatra/README.md +6 -0
  16. data/example/sinatra/index.erb +202 -0
  17. data/example/sinatra/response.erb +1 -0
  18. data/example/sinatra/snap.erb +33 -0
  19. data/example/sinatra/snap_redirect.erb +10 -0
  20. data/example/sinatra/webapp.rb +113 -0
  21. data/example/snap/readme.md +4 -0
  22. data/example/snap/snap_example.rb +39 -0
  23. data/lib/test/all.rb +1 -0
  24. data/lib/test/api_test.rb +319 -0
  25. data/lib/test/config_test.rb +26 -0
  26. data/lib/test/gopay_tokenization_test.rb +80 -0
  27. data/lib/test/snap_test.rb +79 -0
  28. data/lib/test/subscription_test.rb +116 -0
  29. data/lib/test/transaction_test.rb +160 -0
  30. data/lib/veritrans/api.rb +146 -22
  31. data/lib/veritrans/client.rb +48 -12
  32. data/lib/veritrans/config.rb +31 -6
  33. data/lib/veritrans/events.rb +46 -35
  34. data/lib/veritrans/midtrans_error.rb +15 -0
  35. data/lib/veritrans/result.rb +66 -5
  36. data/lib/veritrans/version.rb +1 -1
  37. data/lib/veritrans.rb +121 -12
  38. data/veritrans.gemspec +2 -9
  39. metadata +30 -146
  40. data/.rspec +0 -2
  41. data/Procfile +0 -1
  42. data/Rakefile +0 -16
  43. data/bin/midtrans +0 -3
  44. data/bin/veritrans +0 -68
  45. data/example/README.md +0 -8
  46. data/example/config.ru +0 -6
  47. data/example/index.erb +0 -213
  48. data/example/localization.erb +0 -248
  49. data/example/points.erb +0 -187
  50. data/example/recurring.erb +0 -201
  51. data/example/response.erb +0 -37
  52. data/example/sinatra.rb +0 -188
  53. data/example/style.css +0 -126
  54. data/example/veritrans.yml +0 -11
  55. data/example/widget.erb +0 -51
  56. data/lib/generators/templates/assets/credit_card_form.js +0 -51
  57. data/lib/generators/templates/payments_controller.rb +0 -85
  58. data/lib/generators/templates/veritrans.rb +0 -46
  59. data/lib/generators/templates/veritrans.yml +0 -18
  60. data/lib/generators/templates/views/_credit_card_form.erb +0 -42
  61. data/lib/generators/templates/views/_veritrans_include.erb +0 -10
  62. data/lib/generators/templates/views/payments/create.erb +0 -15
  63. data/lib/generators/templates/views/payments/new.erb +0 -6
  64. data/lib/generators/veritrans/install_generator.rb +0 -32
  65. data/lib/generators/veritrans/payment_form_generator.rb +0 -45
  66. data/lib/veritrans/cli.rb +0 -155
  67. data/lib/veritrans/core_extensions.rb +0 -32
  68. data/spec/cli_spec.rb +0 -83
  69. data/spec/configs/real_key.yml +0 -4
  70. data/spec/configs/veritrans.yml +0 -7
  71. data/spec/configs/veritrans_flat.yml +0 -2
  72. data/spec/configs/veritrans_with_erb.yml +0 -2
  73. data/spec/fixtures/approve_failed.yml +0 -48
  74. data/spec/fixtures/cancel_failed.yml +0 -48
  75. data/spec/fixtures/cancel_success.yml +0 -106
  76. data/spec/fixtures/capture_failed.yml +0 -48
  77. data/spec/fixtures/charge.yml +0 -50
  78. data/spec/fixtures/charge_direct.yml +0 -56
  79. data/spec/fixtures/charge_vtweb.yml +0 -50
  80. data/spec/fixtures/cli_test_1111-not-exists.yml +0 -45
  81. data/spec/fixtures/cli_test_not_exists.yml +0 -45
  82. data/spec/fixtures/cli_test_real_txn.yml +0 -55
  83. data/spec/fixtures/cli_test_unauthorized.yml +0 -47
  84. data/spec/fixtures/events_test_real_txn.yml +0 -55
  85. data/spec/fixtures/expire_failed.yml +0 -50
  86. data/spec/fixtures/expire_success.yml +0 -56
  87. data/spec/fixtures/midtrans_status.yml +0 -117
  88. data/spec/fixtures/status_fail.yml +0 -46
  89. data/spec/fixtures/status_success.yml +0 -109
  90. data/spec/midtrans_rename_spec.rb +0 -27
  91. data/spec/rails_plugin_spec.rb +0 -281
  92. data/spec/spec_helper.rb +0 -61
  93. data/spec/veritrans_client_spec.rb +0 -184
  94. data/spec/veritrans_config_spec.rb +0 -70
  95. data/spec/veritrans_events_spec.rb +0 -72
  96. data/spec/veritrans_logger_spec.rb +0 -46
  97. data/spec/veritrans_snap_spec.rb +0 -39
  98. data/testing_webhooks.md +0 -78
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 8b3d6c35a692b27c7bf8e73cdc3842462ff4f2e4
4
- data.tar.gz: eba6c6db6e039e048df4e77c288c371c7add0d0b
2
+ SHA256:
3
+ metadata.gz: c2484ec329b86513d8003585c7aa216fca7d4b3249fbb7a3111effdcca5b7a87
4
+ data.tar.gz: 7e2a60467217efaf6eafc968c8855cceab8957dbdecd365fbb55817cb52d721f
5
5
  SHA512:
6
- metadata.gz: db7c2b13c948249ca67d09201dc28024dbc62e07217e3808ccb8abd64017b074eeddf0c0a53895911f10e1a7c4d26355383f35ea00b11f169fddda95c0e953f2
7
- data.tar.gz: 59170815eb3b50e4532fd74943cb55a4b8be14a64f6db49cc4785d972d6119b52dbda5dfae8ea944f1a2120b7a43f3624cb22b429fdd4a317193e7c4740df387
6
+ metadata.gz: 19777da7f7a41ca65c971e377145b35c2a2202ca2b241d0c49eb88cd7cb89f37f11c96356738fe5331f12c94b58c2a290979e806dd83f9388856ae8037014e4c
7
+ data.tar.gz: 9a12920d515efb504782f42d2fbc65d02c09d76c23f28c6c55418ca9c9dd11e8c6eb522cd0688a3c404786565d2449f2926d6fd7eae4ee8f0ceb2329e32b5aa7
data/.gitignore CHANGED
@@ -3,4 +3,13 @@ rails_example*
3
3
  .DS_Store
4
4
  tmp
5
5
  doc/
6
- veritrans_credentials
6
+ example/rails/cable/log
7
+ example/rails/cable/tmp
8
+ example/rails/simplepay/log
9
+ example/rails/simplepay/tmp
10
+ veritrans_credentials
11
+ .ruby-version
12
+ .idea/veritrans-ruby.iml
13
+ .idea/vcs.xml
14
+ .idea/modules.xml
15
+ .idea/misc.xml
data/.idea/.gitignore ADDED
@@ -0,0 +1,8 @@
1
+ # Default ignored files
2
+ /shelf/
3
+ /workspace.xml
4
+ # Datasource local storage ignored files
5
+ /dataSources/
6
+ /dataSources.local.xml
7
+ # Editor-based HTTP Client requests
8
+ /httpRequests/
data/.rubocop.yml ADDED
@@ -0,0 +1,35 @@
1
+ Rails:
2
+ Enabled: true
3
+
4
+ Metrics/MethodLength:
5
+ Max: 100
6
+
7
+ Metrics/AbcSize:
8
+ Max: 40
9
+
10
+ Metrics/CyclomaticComplexity:
11
+ Max: 10
12
+
13
+ Metrics/PerceivedComplexity:
14
+ Max: 10
15
+
16
+ Metrics/ClassLength:
17
+ Enabled: false
18
+
19
+ Metrics/BlockLength:
20
+ Enabled: false
21
+
22
+ Metrics/LineLength:
23
+ Max: 120
24
+
25
+ Metrics/ModuleLength:
26
+ Enabled: false
27
+
28
+ Rails/CreateTableWithTimestamps:
29
+ Enabled: false
30
+
31
+ Style/FrozenStringLiteralComment:
32
+ Enabled: false
33
+
34
+ Style/Documentation:
35
+ Enabled: false
data/.travis.yml CHANGED
@@ -1,13 +1,18 @@
1
1
  language: ruby
2
2
  cache: bundler
3
+
3
4
  env:
4
- - DEBUG=1
5
+ # - DEBUG=1
5
6
 
6
7
  before_install:
7
- - gem install bundler -v '~> 1.11'
8
+ - gem install bundler -v '1.17.3' --no-doc
8
9
 
9
- script: "bundle exec rspec"
10
+ script:
11
+ - bundle exec rspec
10
12
 
11
13
  rvm:
12
- - 2.2.4
13
- - 2.3.1
14
+ - 2.4.6
15
+ - 2.5.5
16
+ - 2.6.2
17
+ - 2.7.2
18
+ - 3.0.0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,48 @@
1
+ ### Version 2.4.0 (date 22 October 2021)
2
+ * Update dependency, revamp implementation by removing non relevant features & adding new features
3
+ * Implement Gopay tokenization
4
+ * Implement API subscription
5
+ * Add function Idempotency Key, override notification, append Notification
6
+ * Make new unit test using minitest
7
+ * Create example core api and snap using Sinatra framework
8
+ * API client methods will now raise `MidtransError` when getting unexpected API response. You may need to update your error handling.
9
+
10
+ ### Version 2.3.1 (date 9 March 2021)
11
+
12
+ * Change URI.escape to ERB::Util.url_encode (support ruby 3.0)
13
+
14
+ ### Version 2.3.0 (date 1 April 2019)
15
+
16
+ * Add refund, deny, and test_token methods (Thank to @christianmkuss)
17
+ * Remove logging of server key
18
+
19
+ ### Version 2.2.1 (date 30 May 2018)
20
+
21
+ * Update assertion message value
22
+ * Add alias method create_snap_redirect_url
23
+ * add redirect_url accessor in SnapResult
24
+ * Improve some wordings and examples in README.md
25
+
26
+ ### Version 2.2.0 (date 08 May 2017)
27
+
28
+ * Change default endpoint to *.midtrans.com
29
+ * Fix broken links to documentation
30
+ * Add support for Rails 5.1
31
+ * Add Rails examples (Thanks to Adam Pahlevi)
32
+ * More complete rdoc commects
33
+ * Add items to vtweb example
34
+ * Update year in example app
35
+ * Log error message for failed requests
36
+ * Add Veritrans::Testing for testing API
37
+
38
+ ### Version 2.1.3 (date 19 Dec 2016)
39
+
40
+ * Update create snap token endpoint
41
+
42
+ ### Version 2.1.2 (date 20 Oct 2016)
43
+
44
+ * Create alias Midtrans = Veritrans
45
+
1
46
  ### Version 2.1.1 (date 15 Sep 2016)
2
47
 
3
48
  * Allow use ENV variables in config
data/Gemfile CHANGED
@@ -1,12 +1,11 @@
1
- source "https://rubygems.org"
1
+ source 'https://rubygems.org'
2
2
 
3
- gem 'rake'
4
- gem 'rspec'
5
-
6
- gem 'rails', '< 6'
7
-
8
- gem 'sinatra', git: 'https://github.com/sinatra/sinatra.git'
9
3
  gem 'puma'
4
+ gem 'rails', '< 7'
5
+ gem 'rake'
6
+ gem 'sinatra'
10
7
  gem 'tilt'
8
+ gem 'sqlite3'
9
+ gem 'minitest', '~> 5.14', '>= 5.14.4'
11
10
 
12
11
  gemspec
data/Gemfile.lock CHANGED
@@ -1,181 +1,169 @@
1
- GIT
2
- remote: https://github.com/sinatra/sinatra.git
3
- revision: 1b0edc0aeaaf4839cadfcec1b21da86e6af1d4c0
4
- specs:
5
- rack-protection (2.0.0.beta2)
6
- rack
7
- sinatra (2.0.0.beta2)
8
- mustermann (= 1.0.0.beta2)
9
- rack (~> 2.0)
10
- rack-protection (= 2.0.0.beta2)
11
- tilt (~> 2.0)
12
-
13
1
  PATH
14
2
  remote: .
15
3
  specs:
16
- veritrans (2.1.2)
4
+ veritrans (2.4.0)
17
5
  excon (~> 0.20)
18
6
 
19
7
  GEM
20
8
  remote: https://rubygems.org/
21
9
  specs:
22
- actioncable (5.0.0.1)
23
- actionpack (= 5.0.0.1)
24
- nio4r (~> 1.2)
25
- websocket-driver (~> 0.6.1)
26
- actionmailer (5.0.0.1)
27
- actionpack (= 5.0.0.1)
28
- actionview (= 5.0.0.1)
29
- activejob (= 5.0.0.1)
10
+ actioncable (6.1.4.1)
11
+ actionpack (= 6.1.4.1)
12
+ activesupport (= 6.1.4.1)
13
+ nio4r (~> 2.0)
14
+ websocket-driver (>= 0.6.1)
15
+ actionmailbox (6.1.4.1)
16
+ actionpack (= 6.1.4.1)
17
+ activejob (= 6.1.4.1)
18
+ activerecord (= 6.1.4.1)
19
+ activestorage (= 6.1.4.1)
20
+ activesupport (= 6.1.4.1)
21
+ mail (>= 2.7.1)
22
+ actionmailer (6.1.4.1)
23
+ actionpack (= 6.1.4.1)
24
+ actionview (= 6.1.4.1)
25
+ activejob (= 6.1.4.1)
26
+ activesupport (= 6.1.4.1)
30
27
  mail (~> 2.5, >= 2.5.4)
31
28
  rails-dom-testing (~> 2.0)
32
- actionpack (5.0.0.1)
33
- actionview (= 5.0.0.1)
34
- activesupport (= 5.0.0.1)
35
- rack (~> 2.0)
36
- rack-test (~> 0.6.3)
29
+ actionpack (6.1.4.1)
30
+ actionview (= 6.1.4.1)
31
+ activesupport (= 6.1.4.1)
32
+ rack (~> 2.0, >= 2.0.9)
33
+ rack-test (>= 0.6.3)
37
34
  rails-dom-testing (~> 2.0)
38
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
39
- actionview (5.0.0.1)
40
- activesupport (= 5.0.0.1)
35
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
36
+ actiontext (6.1.4.1)
37
+ actionpack (= 6.1.4.1)
38
+ activerecord (= 6.1.4.1)
39
+ activestorage (= 6.1.4.1)
40
+ activesupport (= 6.1.4.1)
41
+ nokogiri (>= 1.12.5)
42
+ actionview (6.1.4.1)
43
+ activesupport (= 6.1.4.1)
41
44
  builder (~> 3.1)
42
- erubis (~> 2.7.0)
45
+ erubi (~> 1.4)
43
46
  rails-dom-testing (~> 2.0)
44
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
45
- activejob (5.0.0.1)
46
- activesupport (= 5.0.0.1)
47
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
48
+ activejob (6.1.4.1)
49
+ activesupport (= 6.1.4.1)
47
50
  globalid (>= 0.3.6)
48
- activemodel (5.0.0.1)
49
- activesupport (= 5.0.0.1)
50
- activerecord (5.0.0.1)
51
- activemodel (= 5.0.0.1)
52
- activesupport (= 5.0.0.1)
53
- arel (~> 7.0)
54
- activesupport (5.0.0.1)
51
+ activemodel (6.1.4.1)
52
+ activesupport (= 6.1.4.1)
53
+ activerecord (6.1.4.1)
54
+ activemodel (= 6.1.4.1)
55
+ activesupport (= 6.1.4.1)
56
+ activestorage (6.1.4.1)
57
+ actionpack (= 6.1.4.1)
58
+ activejob (= 6.1.4.1)
59
+ activerecord (= 6.1.4.1)
60
+ activesupport (= 6.1.4.1)
61
+ marcel (~> 1.0.0)
62
+ mini_mime (>= 1.1.0)
63
+ activesupport (6.1.4.1)
55
64
  concurrent-ruby (~> 1.0, >= 1.0.2)
56
- i18n (~> 0.7)
57
- minitest (~> 5.1)
58
- tzinfo (~> 1.1)
59
- addressable (2.4.0)
60
- arel (7.1.1)
61
- builder (3.2.2)
62
- capybara (2.7.1)
63
- addressable
64
- mime-types (>= 1.16)
65
- nokogiri (>= 1.3.3)
66
- rack (>= 1.0.0)
67
- rack-test (>= 0.5.4)
68
- xpath (~> 2.0)
69
- cliver (0.3.2)
70
- concurrent-ruby (1.0.2)
71
- crack (0.4.3)
72
- safe_yaml (~> 1.0.0)
73
- diff-lcs (1.2.5)
74
- erubis (2.7.0)
75
- excon (0.53.0)
76
- globalid (0.3.7)
77
- activesupport (>= 4.1.0)
78
- hashdiff (0.3.0)
79
- i18n (0.7.0)
80
- loofah (2.0.3)
65
+ i18n (>= 1.6, < 2)
66
+ minitest (>= 5.1)
67
+ tzinfo (~> 2.0)
68
+ zeitwerk (~> 2.3)
69
+ builder (3.2.4)
70
+ concurrent-ruby (1.1.9)
71
+ crass (1.0.6)
72
+ erubi (1.10.0)
73
+ excon (0.85.0)
74
+ globalid (0.5.2)
75
+ activesupport (>= 5.0)
76
+ i18n (1.8.10)
77
+ concurrent-ruby (~> 1.0)
78
+ loofah (2.12.0)
79
+ crass (~> 1.0.2)
81
80
  nokogiri (>= 1.5.9)
82
- mail (2.6.4)
83
- mime-types (>= 1.16, < 4)
84
- method_source (0.8.2)
85
- mime-types (3.1)
86
- mime-types-data (~> 3.2015)
87
- mime-types-data (3.2016.0521)
88
- mini_portile2 (2.1.0)
89
- minitest (5.9.0)
90
- mustermann (1.0.0.beta2)
91
- nio4r (1.2.1)
92
- nokogiri (1.6.8)
93
- mini_portile2 (~> 2.1.0)
94
- pkg-config (~> 1.1.7)
95
- pkg-config (1.1.7)
96
- poltergeist (1.10.0)
97
- capybara (~> 2.1)
98
- cliver (~> 0.3.1)
99
- websocket-driver (>= 0.2.0)
100
- puma (3.6.0)
101
- rack (2.0.1)
102
- rack-test (0.6.3)
103
- rack (>= 1.0)
104
- rails (5.0.0.1)
105
- actioncable (= 5.0.0.1)
106
- actionmailer (= 5.0.0.1)
107
- actionpack (= 5.0.0.1)
108
- actionview (= 5.0.0.1)
109
- activejob (= 5.0.0.1)
110
- activemodel (= 5.0.0.1)
111
- activerecord (= 5.0.0.1)
112
- activesupport (= 5.0.0.1)
113
- bundler (>= 1.3.0, < 2.0)
114
- railties (= 5.0.0.1)
81
+ mail (2.7.1)
82
+ mini_mime (>= 0.1.1)
83
+ marcel (1.0.2)
84
+ method_source (1.0.0)
85
+ mini_mime (1.1.1)
86
+ mini_portile2 (2.6.1)
87
+ minitest (5.14.4)
88
+ mustermann (1.1.1)
89
+ ruby2_keywords (~> 0.0.1)
90
+ nio4r (2.5.8)
91
+ nokogiri (1.12.5)
92
+ mini_portile2 (~> 2.6.1)
93
+ racc (~> 1.4)
94
+ nokogiri (1.12.5-x86_64-darwin)
95
+ racc (~> 1.4)
96
+ puma (5.5.0)
97
+ nio4r (~> 2.0)
98
+ racc (1.5.2)
99
+ rack (2.2.3)
100
+ rack-protection (2.1.0)
101
+ rack
102
+ rack-test (1.1.0)
103
+ rack (>= 1.0, < 3)
104
+ rails (6.1.4.1)
105
+ actioncable (= 6.1.4.1)
106
+ actionmailbox (= 6.1.4.1)
107
+ actionmailer (= 6.1.4.1)
108
+ actionpack (= 6.1.4.1)
109
+ actiontext (= 6.1.4.1)
110
+ actionview (= 6.1.4.1)
111
+ activejob (= 6.1.4.1)
112
+ activemodel (= 6.1.4.1)
113
+ activerecord (= 6.1.4.1)
114
+ activestorage (= 6.1.4.1)
115
+ activesupport (= 6.1.4.1)
116
+ bundler (>= 1.15.0)
117
+ railties (= 6.1.4.1)
115
118
  sprockets-rails (>= 2.0.0)
116
- rails-dom-testing (2.0.1)
117
- activesupport (>= 4.2.0, < 6.0)
118
- nokogiri (~> 1.6.0)
119
- rails-html-sanitizer (1.0.3)
120
- loofah (~> 2.0)
121
- railties (5.0.0.1)
122
- actionpack (= 5.0.0.1)
123
- activesupport (= 5.0.0.1)
119
+ rails-dom-testing (2.0.3)
120
+ activesupport (>= 4.2.0)
121
+ nokogiri (>= 1.6)
122
+ rails-html-sanitizer (1.4.2)
123
+ loofah (~> 2.3)
124
+ railties (6.1.4.1)
125
+ actionpack (= 6.1.4.1)
126
+ activesupport (= 6.1.4.1)
124
127
  method_source
125
- rake (>= 0.8.7)
126
- thor (>= 0.18.1, < 2.0)
127
- rake (11.2.2)
128
- rspec (3.5.0)
129
- rspec-core (~> 3.5.0)
130
- rspec-expectations (~> 3.5.0)
131
- rspec-mocks (~> 3.5.0)
132
- rspec-core (3.5.2)
133
- rspec-support (~> 3.5.0)
134
- rspec-expectations (3.5.0)
135
- diff-lcs (>= 1.2.0, < 2.0)
136
- rspec-support (~> 3.5.0)
137
- rspec-mocks (3.5.0)
138
- diff-lcs (>= 1.2.0, < 2.0)
139
- rspec-support (~> 3.5.0)
140
- rspec-support (3.5.0)
141
- safe_yaml (1.0.4)
142
- sprockets (3.7.0)
128
+ rake (>= 0.13)
129
+ thor (~> 1.0)
130
+ rake (13.0.6)
131
+ ruby2_keywords (0.0.5)
132
+ sinatra (2.1.0)
133
+ mustermann (~> 1.0)
134
+ rack (~> 2.2)
135
+ rack-protection (= 2.1.0)
136
+ tilt (~> 2.0)
137
+ sprockets (4.0.2)
143
138
  concurrent-ruby (~> 1.0)
144
139
  rack (> 1, < 3)
145
- sprockets-rails (3.1.1)
140
+ sprockets-rails (3.2.2)
146
141
  actionpack (>= 4.0)
147
142
  activesupport (>= 4.0)
148
143
  sprockets (>= 3.0.0)
149
- thor (0.19.1)
150
- thread_safe (0.3.5)
151
- tilt (2.0.5)
152
- tzinfo (1.2.2)
153
- thread_safe (~> 0.1)
154
- vcr (3.0.3)
155
- webmock (2.1.0)
156
- addressable (>= 2.3.6)
157
- crack (>= 0.3.2)
158
- hashdiff
159
- websocket-driver (0.6.4)
144
+ sqlite3 (1.4.2)
145
+ thor (1.1.0)
146
+ tilt (2.0.10)
147
+ tzinfo (2.0.4)
148
+ concurrent-ruby (~> 1.0)
149
+ websocket-driver (0.7.5)
160
150
  websocket-extensions (>= 0.1.0)
161
- websocket-extensions (0.1.2)
162
- xpath (2.0.0)
163
- nokogiri (~> 1.3)
151
+ websocket-extensions (0.1.5)
152
+ zeitwerk (2.4.2)
164
153
 
165
154
  PLATFORMS
166
155
  ruby
156
+ x86_64-darwin-19
167
157
 
168
158
  DEPENDENCIES
169
- poltergeist (~> 1.8)
159
+ minitest (~> 5.14, >= 5.14.4)
170
160
  puma
171
- rails (< 6)
161
+ rails (< 7)
172
162
  rake
173
- rspec
174
- sinatra!
163
+ sinatra
164
+ sqlite3
175
165
  tilt
176
- vcr (~> 3.0)
177
166
  veritrans!
178
- webmock (>= 1.20)
179
167
 
180
168
  BUNDLED WITH
181
- 1.13.1
169
+ 2.2.26
data/Maintaining.MD ADDED
@@ -0,0 +1,8 @@
1
+ > Warning: This note is for developer/maintainer of this package only
2
+
3
+ ## Updating Package
4
+
5
+ - Make your changes
6
+ - Update `version` value on `version.rb` file
7
+ - To run all test `ruby -Itest all.rb`
8
+ - To run specific test `ruby snap_test.rb`