moneta-api 1.12.5 → 1.12.6

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: d588ec14b582a368358d7a8d3334811e6b114af0
4
- data.tar.gz: 7a81522af4a06ce3e0968d206f85d8a3ad4ce437
3
+ metadata.gz: aee4e34e9fc436cc419b33fb86fcf67092caaf76
4
+ data.tar.gz: 3c22d7bcfd3c0cae874a64541cadad5f80481c9a
5
5
  SHA512:
6
- metadata.gz: 2abc9df84c44bc176efc8034b22106854555e826589b5935d23271ea94ed12544266018b6ac9cded1f8a7930ea7efe50901be68a784afde6a0c206a467a3cd54
7
- data.tar.gz: cd67d4baa64417d6b87b978d5106d4358573c810e67301759e2b5f41ca1713e94ce7a2a6fb19e50add96e5ecb19512da03c11e27f698a274c219a71bace1b89b
6
+ metadata.gz: 64dfba2dc9b0b9020afad8e6d7afcae56aaa8059ad9e342a7605e07bd9d36e3d8213fe19b55e1fa911fab33fcb269109568702aac264bc984307dae484f9e01e
7
+ data.tar.gz: 5dcf4fe2817c86456eeba2a7cc9f780b62bb88448a22d9e252e5c63423fb11573bbcab9fade3366d6bb8faf8dd80150885680a4b0b792d9aaeeec7bfbfedc941
data/.travis.yml CHANGED
@@ -1,11 +1,11 @@
1
1
  language: ruby
2
2
 
3
3
  rvm:
4
- - 2.0.0
5
- - 2.1
6
- - 2.2
7
- - 2.2.3
4
+ - 2.2.6
5
+ - 2.3.3
6
+ - 2.4.0
8
7
  before_script:
9
8
  - cp spec/support/moneta.example.yml spec/support/moneta.yml
9
+ - bundle update
10
10
  script:
11
11
  - CODECLIMATE_REPO_TOKEN=d10be753ffa1a760be2df97c61673629a3fa86270cdd898250b8366213b0799c bundle exec rspec
@@ -1,5 +1,5 @@
1
1
  module Moneta
2
2
  module Api
3
- VERSION = '1.12.5'
3
+ VERSION = '1.12.6'
4
4
  end
5
5
  end
data/moneta-api.gemspec CHANGED
@@ -6,8 +6,8 @@ require 'moneta/api/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'moneta-api'
8
8
  spec.version = Moneta::Api::VERSION
9
- spec.authors = ['ssnikolay', 'llxff']
10
- spec.email = ['ssnikolay@gmail.com', 'll.wg.bin@gmail.com']
9
+ spec.authors = %w(ssnikolay llxff)
10
+ spec.email = %w(ssnikolay@gmail.com ll.wg.bin@gmail.com)
11
11
  spec.summary = 'МОНЕТА.РУ (MONETA.MerchantAPI.v2)'
12
12
  spec.description = 'МОНЕТА.РУ (MONETA.MerchantAPI.v2).'
13
13
  spec.homepage = 'https://github.com/RuntimeLLC/moneta-api'
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.add_development_dependency 'rspec'
29
29
  spec.add_development_dependency 'rspec-its'
30
30
  spec.add_development_dependency 'vcr'
31
- spec.add_development_dependency 'fakeweb'
31
+ spec.add_development_dependency 'webmock'
32
32
  spec.add_development_dependency 'yard'
33
33
  spec.add_development_dependency 'codeclimate-test-reporter'
34
34
  end
data/spec/spec_helper.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  if ENV['CODECLIMATE_REPO_TOKEN']
2
- require 'codeclimate-test-reporter'
3
- CodeClimate::TestReporter.start
2
+ require 'simplecov'
3
+ SimpleCov.start
4
4
  end
5
5
 
6
6
  require 'rspec'
@@ -9,6 +9,7 @@ require 'rspec/its'
9
9
  require 'moneta/api'
10
10
  require 'yaml'
11
11
  require 'vcr'
12
+ require 'webmock/rspec'
12
13
 
13
14
  Dir['spec/support/**/*.rb'].each do |file|
14
15
  require File.join(File.dirname(__FILE__), '..', file)
@@ -21,7 +22,7 @@ $password = config['password']
21
22
 
22
23
  class WebHelper
23
24
  def self.with_real_connection
24
- FakeWeb.allow_net_connect = true
25
+ WebMock.allow_net_connect!
25
26
 
26
27
  VCR.turned_off do
27
28
  yield
@@ -31,7 +32,7 @@ end
31
32
 
32
33
  VCR.configure do |config|
33
34
  config.cassette_library_dir = File.join(Dir.pwd, 'spec/vcr')
34
- config.hook_into :fakeweb
35
+ config.hook_into :webmock
35
36
  config.filter_sensitive_data('<USERNAME>') { $username }
36
37
  config.filter_sensitive_data('<PASSWORD>') { $password }
37
38
  config.ignore_hosts 'codeclimate.com'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moneta-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.5
4
+ version: 1.12.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - ssnikolay
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-01-17 00:00:00.000000000 Z
12
+ date: 2017-01-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: savon
@@ -110,7 +110,7 @@ dependencies:
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  - !ruby/object:Gem::Dependency
113
- name: fakeweb
113
+ name: webmock
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - ">="