miasma 0.2.32 → 0.2.34

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: 48da08fd7ed1ba1008c9e096ef25dc0bdaef075c
4
- data.tar.gz: 3269b073a883189f845b85650b82190da416f408
3
+ metadata.gz: 92b8d21e370e8219b46aee1a6bddae5d13c36256
4
+ data.tar.gz: 8041dc78826128dd9d3ca8e0ae29815b0059b093
5
5
  SHA512:
6
- metadata.gz: 594a6037ccea6c2f4680f6b76fad80c2155bbf6c590dd2589f2f3c9f33d85f818cd4493d54df0306229f5369a399fec4abb10d0233d0f56e41dd76d717dcded2
7
- data.tar.gz: 0c12f456735c0554df17b5c6a65e83b8ccc1423076764608007916c437dfb2f529fbd4a6df0a513f68af1b26766eb1f98e5cd6bf716e179d748e53d07e5f968b
6
+ metadata.gz: 48b93716ce6f30272486cf38f9117cfcf0ce1f6e287b4beb552ecf4b9c86246260688a5f5045954a92a1a44e3879e296b3e0df464e878be55f4ee7fd9ab69fdf
7
+ data.tar.gz: 00d689e12cde2cea79fd86153094b2e09c8587c2d2bda34fe6eda60a9c2ce7f281f1bb82d99aad48669d283a6bcfec4ee0c6c12b2af653f435af93dcf5527a98
@@ -1,3 +1,6 @@
1
+ # v0.2.34
2
+ * Remove deprecated method usage on http library
3
+
1
4
  # v0.2.32
2
5
  * Add API stub for after setup modifications (#17)
3
6
  * Allow Server attributes to be lazy loaded
@@ -77,7 +77,7 @@ module Miasma
77
77
 
78
78
  # @return [HTTP]
79
79
  def connection
80
- HTTP.with_headers('User-Agent' => "miasma/v#{Miasma::VERSION}")
80
+ HTTP.headers('User-Agent' => "miasma/v#{Miasma::VERSION}")
81
81
  end
82
82
 
83
83
  # @return [String] url endpoint
@@ -113,7 +113,7 @@ module Miasma
113
113
  ary.push(options) unless options.empty?
114
114
  end
115
115
  if(args[:headers])
116
- _connection = connection.with_headers(args[:headers])
116
+ _connection = connection.headers(args[:headers])
117
117
  args.delete(:headers)
118
118
  else
119
119
  _connection = connection
@@ -1,4 +1,4 @@
1
1
  module Miasma
2
2
  # current library version
3
- VERSION = Gem::Version.new('0.2.32')
3
+ VERSION = Gem::Version.new('0.2.34')
4
4
  end
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.description = 'Smoggy API'
11
11
  s.license = 'Apache 2.0'
12
12
  s.require_path = 'lib'
13
- s.add_runtime_dependency 'http'
13
+ s.add_runtime_dependency 'http', '>= 0.8.12', '< 1.1'
14
14
  s.add_runtime_dependency 'multi_json'
15
15
  s.add_runtime_dependency 'multi_xml'
16
16
  s.add_runtime_dependency 'xml-simple'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miasma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.32
4
+ version: 0.2.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Roberts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-06 00:00:00.000000000 Z
11
+ date: 2015-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http
@@ -16,14 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 0.8.12
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '1.1'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - ">="
25
28
  - !ruby/object:Gem::Version
26
- version: '0'
29
+ version: 0.8.12
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '1.1'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: multi_json
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -262,3 +268,4 @@ signing_key:
262
268
  specification_version: 4
263
269
  summary: Smoggy API
264
270
  test_files: []
271
+ has_rdoc: