webmock_method 1.2.4 → 1.2.5

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
  SHA1:
3
- metadata.gz: 36d0e2c3d9299945d4064ac1742263fadc5e43b7
4
- data.tar.gz: b78156be61ea12249cfeb0ef9bc66d0be7181c3a
3
+ metadata.gz: b999fd6b16f22cde05a4f113015cfa9105bc2cc4
4
+ data.tar.gz: bd02fed31ffb137d74f1bf0f495729122d29728d
5
5
  SHA512:
6
- metadata.gz: 618c0424756a719d526fc1c945f784bc56f980823925eeab8f91f63bd92e4232ee7e586cbdd922669b66da51971ecf51e8590fd37006f4ba87d6b3d1b01f1b41
7
- data.tar.gz: f1b254dfcd4051486d8a2d1be48639c3b85277da0dafa4e8c2003ff0534d9266512f7f33d8df37b12961d365c8ca16e672dc306b5bd73f87bde176cfd2425b2c
6
+ metadata.gz: 421c6f58ebf307af35bdd135da2dd045218077cae5ed934b9c74a262e3919fba15e05d26c97b2f476b6f53693e6a2b2979da0ced7d6303f806a0e83d88b04c5b
7
+ data.tar.gz: 43c54f76408fe3cea16661d3f2714637f814ee47fe3952d7eb42cd9cda6bf82e4b7e9fde2a0989c6014c55b9efc8f74434231174b0a21c32d1b1d9587832ab9e
@@ -46,7 +46,7 @@
46
46
  <ConfigurationWrapper RunnerId="RubyRunner" />
47
47
  <method />
48
48
  </configuration>
49
- <configuration default="false" name="Run spec 'open_weather_map_service_spec': webmock_method" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
49
+ <configuration default="false" name="PaymentGateway#purchase: webmock_method" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
50
50
  <predefined_log_file id="RUBY_RSPEC" enabled="true" />
51
51
  <module name="webmock_method" />
52
52
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
@@ -66,10 +66,10 @@
66
66
  </EXTENSION>
67
67
  <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
68
68
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
69
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/open_weather_map_service_spec.rb" />
69
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/payment_gateway_spec.rb" />
70
70
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
71
71
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
72
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
72
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="PaymentGateway#purchase" />
73
73
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
74
74
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
75
75
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
@@ -82,7 +82,7 @@
82
82
  <ConfigurationWrapper RunnerId="RubyRunner" />
83
83
  <method />
84
84
  </configuration>
85
- <configuration default="false" name="Run spec 'payment_gateway_spec': webmock_method" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
85
+ <configuration default="false" name="Run spec 'open_weather_map_service_spec': webmock_method" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
86
86
  <predefined_log_file id="RUBY_RSPEC" enabled="true" />
87
87
  <module name="webmock_method" />
88
88
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
@@ -102,7 +102,7 @@
102
102
  </EXTENSION>
103
103
  <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
104
104
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
105
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/payment_gateway_spec.rb" />
105
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/open_weather_map_service_spec.rb" />
106
106
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
107
107
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
108
108
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
@@ -118,31 +118,7 @@
118
118
  <ConfigurationWrapper RunnerId="RubyRunner" />
119
119
  <method />
120
120
  </configuration>
121
- <configuration default="false" name="payment_gateway" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
122
- <module name="webmock_method" />
123
- <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
124
- <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/spec/stubs" />
125
- <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
126
- <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
127
- <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
128
- <envs />
129
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
130
- <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
131
- <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
132
- <COVERAGE_PATTERN ENABLED="true">
133
- <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
134
- </COVERAGE_PATTERN>
135
- </EXTENSION>
136
- <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
137
- <RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/stubs/payment_gateway.rb" />
138
- <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
139
- <RunnerSettings RunnerId="RubyDebugRunner" />
140
- <RunnerSettings RunnerId="RubyRunner" />
141
- <ConfigurationWrapper RunnerId="RubyDebugRunner" />
142
- <ConfigurationWrapper RunnerId="RubyRunner" />
143
- <method />
144
- </configuration>
145
- <configuration default="false" name="PaymentGateway#purchase: webmock_method" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
121
+ <configuration default="false" name="Run spec 'payment_gateway_spec': webmock_method" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
146
122
  <predefined_log_file id="RUBY_RSPEC" enabled="true" />
147
123
  <module name="webmock_method" />
148
124
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
@@ -165,7 +141,7 @@
165
141
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/payment_gateway_spec.rb" />
166
142
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
167
143
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
168
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="PaymentGateway#purchase" />
144
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
169
145
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
170
146
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
171
147
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
@@ -178,33 +154,57 @@
178
154
  <ConfigurationWrapper RunnerId="RubyRunner" />
179
155
  <method />
180
156
  </configuration>
157
+ <configuration default="false" name="payment_gateway" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
158
+ <module name="webmock_method" />
159
+ <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
160
+ <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/spec/stubs" />
161
+ <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
162
+ <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
163
+ <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
164
+ <envs />
165
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
166
+ <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
167
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
168
+ <COVERAGE_PATTERN ENABLED="true">
169
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
170
+ </COVERAGE_PATTERN>
171
+ </EXTENSION>
172
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
173
+ <RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/stubs/payment_gateway.rb" />
174
+ <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
175
+ <RunnerSettings RunnerId="RubyDebugRunner" />
176
+ <RunnerSettings RunnerId="RubyRunner" />
177
+ <ConfigurationWrapper RunnerId="RubyDebugRunner" />
178
+ <ConfigurationWrapper RunnerId="RubyRunner" />
179
+ <method />
180
+ </configuration>
181
181
  </component>
182
182
  <component name="NewModuleRootManager">
183
183
  <content url="file://$MODULE_DIR$/../docs" />
184
184
  <content url="file://$MODULE_DIR$" />
185
- <orderEntry type="jdk" jdkName="RVM: ruby-2.1.4 [webmock_method]" jdkType="RUBY_SDK" />
185
+ <orderEntry type="jdk" jdkName="RVM: ruby-1.9.3-p550 [webmock_method]" jdkType="RUBY_SDK" />
186
186
  <orderEntry type="sourceFolder" forTests="false" />
187
- <orderEntry type="library" scope="PROVIDED" name="addressable (v2.3.6, RVM: ruby-2.1.4 [webmock_method]) [gem]" level="application" />
188
- <orderEntry type="library" scope="PROVIDED" name="awesome_print (v1.2.0, RVM: ruby-2.1.4 [webmock_method]) [gem]" level="application" />
189
- <orderEntry type="library" scope="PROVIDED" name="bundler (v1.7.4, RVM: ruby-2.1.4 [webmock_method]) [gem]" level="application" />
190
- <orderEntry type="library" scope="PROVIDED" name="crack (v0.4.2, RVM: ruby-2.1.4 [webmock_method]) [gem]" level="application" />
191
- <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, RVM: ruby-2.1.4 [webmock_method]) [gem]" level="application" />
192
- <orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.7, RVM: ruby-2.1.4 [webmock_method]) [gem]" level="application" />
193
- <orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-2.1.4 [webmock_method]) [gem]" level="application" />
194
- <orderEntry type="library" scope="PROVIDED" name="gemspec_deps_gen (v1.1.2, RVM: ruby-2.1.4 [webmock_method]) [gem]" level="application" />
195
- <orderEntry type="library" scope="PROVIDED" name="haml (v4.0.5, RVM: ruby-2.1.4 [webmock_method]) [gem]" level="application" />
196
- <orderEntry type="library" scope="PROVIDED" name="json_pure (v1.8.1, RVM: ruby-2.1.4 [webmock_method]) [gem]" level="application" />
197
- <orderEntry type="library" scope="PROVIDED" name="meta_methods (v1.3.0, RVM: ruby-2.1.4 [webmock_method]) [gem]" level="application" />
198
- <orderEntry type="library" scope="PROVIDED" name="metaclass (v0.0.4, RVM: ruby-2.1.4 [webmock_method]) [gem]" level="application" />
199
- <orderEntry type="library" scope="PROVIDED" name="mocha (v1.1.0, RVM: ruby-2.1.4 [webmock_method]) [gem]" level="application" />
200
- <orderEntry type="library" scope="PROVIDED" name="rspec (v3.1.0, RVM: ruby-2.1.4 [webmock_method]) [gem]" level="application" />
201
- <orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.1.7, RVM: ruby-2.1.4 [webmock_method]) [gem]" level="application" />
202
- <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.1.2, RVM: ruby-2.1.4 [webmock_method]) [gem]" level="application" />
203
- <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.1.3, RVM: ruby-2.1.4 [webmock_method]) [gem]" level="application" />
204
- <orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.1.2, RVM: ruby-2.1.4 [webmock_method]) [gem]" level="application" />
205
- <orderEntry type="library" scope="PROVIDED" name="safe_yaml (v1.0.4, RVM: ruby-2.1.4 [webmock_method]) [gem]" level="application" />
206
- <orderEntry type="library" scope="PROVIDED" name="tilt (v2.0.1, RVM: ruby-2.1.4 [webmock_method]) [gem]" level="application" />
207
- <orderEntry type="library" scope="PROVIDED" name="webmock (v1.20.4, RVM: ruby-2.1.4 [webmock_method]) [gem]" level="application" />
208
- <orderEntry type="library" scope="PROVIDED" name="xml-simple (v1.1.4, RVM: ruby-2.1.4 [webmock_method]) [gem]" level="application" />
187
+ <orderEntry type="library" scope="PROVIDED" name="addressable (v2.3.6, RVM: ruby-1.9.3-p550 [webmock_method]) [gem]" level="application" />
188
+ <orderEntry type="library" scope="PROVIDED" name="awesome_print (v1.2.0, RVM: ruby-1.9.3-p550 [webmock_method]) [gem]" level="application" />
189
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.7.4, RVM: ruby-1.9.3-p550 [webmock_method]) [gem]" level="application" />
190
+ <orderEntry type="library" scope="PROVIDED" name="crack (v0.4.2, RVM: ruby-1.9.3-p550 [webmock_method]) [gem]" level="application" />
191
+ <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, RVM: ruby-1.9.3-p550 [webmock_method]) [gem]" level="application" />
192
+ <orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.7, RVM: ruby-1.9.3-p550 [webmock_method]) [gem]" level="application" />
193
+ <orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-1.9.3-p550 [webmock_method]) [gem]" level="application" />
194
+ <orderEntry type="library" scope="PROVIDED" name="gemspec_deps_gen (v1.1.2, RVM: ruby-1.9.3-p550 [webmock_method]) [gem]" level="application" />
195
+ <orderEntry type="library" scope="PROVIDED" name="haml (v4.0.5, RVM: ruby-1.9.3-p550 [webmock_method]) [gem]" level="application" />
196
+ <orderEntry type="library" scope="PROVIDED" name="json_pure (v1.8.1, RVM: ruby-1.9.3-p550 [webmock_method]) [gem]" level="application" />
197
+ <orderEntry type="library" scope="PROVIDED" name="meta_methods (v1.3.0, RVM: ruby-1.9.3-p550 [webmock_method]) [gem]" level="application" />
198
+ <orderEntry type="library" scope="PROVIDED" name="metaclass (v0.0.4, RVM: ruby-1.9.3-p550 [webmock_method]) [gem]" level="application" />
199
+ <orderEntry type="library" scope="PROVIDED" name="mocha (v1.1.0, RVM: ruby-1.9.3-p550 [webmock_method]) [gem]" level="application" />
200
+ <orderEntry type="library" scope="PROVIDED" name="rspec (v3.1.0, RVM: ruby-1.9.3-p550 [webmock_method]) [gem]" level="application" />
201
+ <orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.1.7, RVM: ruby-1.9.3-p550 [webmock_method]) [gem]" level="application" />
202
+ <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.1.2, RVM: ruby-1.9.3-p550 [webmock_method]) [gem]" level="application" />
203
+ <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.1.3, RVM: ruby-1.9.3-p550 [webmock_method]) [gem]" level="application" />
204
+ <orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.1.2, RVM: ruby-1.9.3-p550 [webmock_method]) [gem]" level="application" />
205
+ <orderEntry type="library" scope="PROVIDED" name="safe_yaml (v1.0.4, RVM: ruby-1.9.3-p550 [webmock_method]) [gem]" level="application" />
206
+ <orderEntry type="library" scope="PROVIDED" name="tilt (v2.0.1, RVM: ruby-1.9.3-p550 [webmock_method]) [gem]" level="application" />
207
+ <orderEntry type="library" scope="PROVIDED" name="webmock (v1.20.4, RVM: ruby-1.9.3-p550 [webmock_method]) [gem]" level="application" />
208
+ <orderEntry type="library" scope="PROVIDED" name="xml-simple (v1.1.4, RVM: ruby-1.9.3-p550 [webmock_method]) [gem]" level="application" />
209
209
  </component>
210
210
  </module>
data/CHANGES CHANGED
@@ -33,4 +33,8 @@
33
33
 
34
34
  == Version 1.2.4
35
35
 
36
+ * Bug fix.
37
+
38
+ == Version 1.2.5
39
+
36
40
  * Bug fix.
@@ -1,3 +1,3 @@
1
1
  module WebmockMethod
2
- VERSION = "1.2.4"
2
+ VERSION = "1.2.5"
3
3
  end
@@ -2,6 +2,7 @@ require 'webmock'
2
2
  require 'meta_methods/core'
3
3
 
4
4
  module WebmockMethod
5
+ extend self
5
6
 
6
7
  class << self
7
8
  attr_accessor :url
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webmock_method
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Shvets