amorail 0.1.8 → 0.1.9

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: 7d135728d3ff91d041ff0114f7674f548758ede9
4
- data.tar.gz: 66c9aef842b6989ceb4eca793358e9d6c61140ca
3
+ metadata.gz: 20a8ca62be5f80149cddb2e7e82442d611b9fe32
4
+ data.tar.gz: 90ce153c4740de2c2049adcc2f473f6f1b0d9b57
5
5
  SHA512:
6
- metadata.gz: 9bb9ea6019c46ce4ec6778abbc45d6d1c1c7dee9fe99177ab9a7753b810d7a6495c9f813eab700309b17e9f3e85bf7af359d4b1e798c09d5355244a3aadb2377
7
- data.tar.gz: 2671b2d09412cda7bba66d90961a474fad00848a39e004cf22f6ecb76821e98412966151158f855caee92631ed8dd31ff56217ac4e003d9836cdb7649a91f9f7
6
+ metadata.gz: c0d2b86bbfef3d13494baffbe381ccf0e4ce4162100cecb37c92a301324c4d87fd7295a2873ba58ed04a1f3c8acadc34b2d281b6d887a9cb810328702617e418
7
+ data.tar.gz: d8718c7c448a91b45be58d25ae26970c8c4b222c0dbee8682223548eb00df93fdaba99a340c508e961517b34ee1f026916c598dceecb74b933b97ccf051da95c
data/amorail.gemspec CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.add_development_dependency "rspec"
24
24
  spec.add_development_dependency "webmock"
25
25
  spec.add_development_dependency 'pry'
26
- spec.add_development_dependency 'shoulda-matchers'
26
+ spec.add_development_dependency 'shoulda-matchers', "~> 2.0"
27
27
  spec.add_dependency "anyway_config", "~> 0", ">= 0.3"
28
28
  spec.add_dependency "faraday"
29
29
  spec.add_dependency "faraday_middleware"
@@ -22,6 +22,7 @@ module Amorail
22
22
  end
23
23
 
24
24
  def authorize
25
+ self.cookies = nil
25
26
  response = post(
26
27
  Amorail.config.auth_url,
27
28
  'USER_LOGIN' => Amorail.config.usermail,
@@ -1,4 +1,4 @@
1
1
  # Amorail version
2
2
  module Amorail
3
- VERSION = "0.1.8"
3
+ VERSION = "0.1.9"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amorail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - alekseenkoss
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-06-24 00:00:00.000000000 Z
12
+ date: 2015-10-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -85,16 +85,16 @@ dependencies:
85
85
  name: shoulda-matchers
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - ">="
88
+ - - "~>"
89
89
  - !ruby/object:Gem::Version
90
- version: '0'
90
+ version: '2.0'
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - ">="
95
+ - - "~>"
96
96
  - !ruby/object:Gem::Version
97
- version: '0'
97
+ version: '2.0'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: anyway_config
100
100
  requirement: !ruby/object:Gem::Requirement
@@ -246,7 +246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
246
246
  version: '0'
247
247
  requirements: []
248
248
  rubyforge_project:
249
- rubygems_version: 2.2.2
249
+ rubygems_version: 2.4.5
250
250
  signing_key:
251
251
  specification_version: 4
252
252
  summary: Ruby API client for AmoCRM