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 +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/miasma/types/api.rb +2 -2
- data/lib/miasma/version.rb +1 -1
- data/miasma.gemspec +1 -1
- metadata +11 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92b8d21e370e8219b46aee1a6bddae5d13c36256
|
4
|
+
data.tar.gz: 8041dc78826128dd9d3ca8e0ae29815b0059b093
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48b93716ce6f30272486cf38f9117cfcf0ce1f6e287b4beb552ecf4b9c86246260688a5f5045954a92a1a44e3879e296b3e0df464e878be55f4ee7fd9ab69fdf
|
7
|
+
data.tar.gz: 00d689e12cde2cea79fd86153094b2e09c8587c2d2bda34fe6eda60a9c2ce7f281f1bb82d99aad48669d283a6bcfec4ee0c6c12b2af653f435af93dcf5527a98
|
data/CHANGELOG.md
CHANGED
data/lib/miasma/types/api.rb
CHANGED
@@ -77,7 +77,7 @@ module Miasma
|
|
77
77
|
|
78
78
|
# @return [HTTP]
|
79
79
|
def connection
|
80
|
-
HTTP.
|
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.
|
116
|
+
_connection = connection.headers(args[:headers])
|
117
117
|
args.delete(:headers)
|
118
118
|
else
|
119
119
|
_connection = connection
|
data/lib/miasma/version.rb
CHANGED
data/miasma.gemspec
CHANGED
@@ -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.
|
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-
|
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:
|
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:
|
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:
|