zephyr 1.1.8 → 1.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -10
- data/Gemfile.lock +10 -4
- data/VERSION +1 -1
- data/lib/typhoeus_ext/request.rb +7 -0
- data/lib/typhoeus_ext/response.rb +7 -0
- data/lib/{ext/typhoeus_ext.rb → typhoeus_ext/utils.rb} +0 -8
- data/lib/zephyr.rb +3 -1
- data/zephyr.gemspec +7 -8
- metadata +6 -4
data/Gemfile
CHANGED
@@ -1,12 +1,3 @@
|
|
1
|
-
|
2
1
|
source "http://rubygems.org"
|
3
|
-
gem "typhoeus", ">= 0.2.4"
|
4
|
-
gem "yajl-ruby"
|
5
|
-
|
6
2
|
|
7
|
-
|
8
|
-
gem "bundler", "~> 1.0.21"
|
9
|
-
gem "jeweler", "~> 1.6.4"
|
10
|
-
gem "shoulda", "~> 2.11.3"
|
11
|
-
gem "mocha", "~> 0.12.0", :require => false
|
12
|
-
end
|
3
|
+
gemspec
|
data/Gemfile.lock
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
zephyr (1.1.9)
|
5
|
+
typhoeus (>= 0.2.4)
|
6
|
+
yajl-ruby
|
7
|
+
|
1
8
|
GEM
|
2
9
|
remote: http://rubygems.org/
|
3
10
|
specs:
|
@@ -7,7 +14,7 @@ GEM
|
|
7
14
|
git (>= 1.2.5)
|
8
15
|
rake
|
9
16
|
metaclass (0.0.1)
|
10
|
-
mime-types (1.
|
17
|
+
mime-types (1.19)
|
11
18
|
mocha (0.12.0)
|
12
19
|
metaclass (~> 0.0.1)
|
13
20
|
rake (0.9.2.2)
|
@@ -21,9 +28,8 @@ PLATFORMS
|
|
21
28
|
ruby
|
22
29
|
|
23
30
|
DEPENDENCIES
|
24
|
-
bundler (~> 1.0
|
31
|
+
bundler (~> 1.1.0)
|
25
32
|
jeweler (~> 1.6.4)
|
26
33
|
mocha (~> 0.12.0)
|
27
34
|
shoulda (~> 2.11.3)
|
28
|
-
|
29
|
-
yajl-ruby
|
35
|
+
zephyr!
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.9
|
data/lib/zephyr.rb
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
require 'logger'
|
2
2
|
require 'net/http'
|
3
3
|
require 'typhoeus'
|
4
|
-
require '
|
4
|
+
require 'typhoeus_ext/request.rb'
|
5
|
+
require 'typhoeus_ext/response.rb'
|
6
|
+
require 'typhoeus_ext/utils.rb'
|
5
7
|
require 'yajl'
|
6
8
|
|
7
9
|
# Stolen with a fair bit of modification from the riak-client gem, which is
|
data/zephyr.gemspec
CHANGED
@@ -1,11 +1,8 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
1
|
# -*- encoding: utf-8 -*-
|
5
2
|
|
6
3
|
Gem::Specification.new do |s|
|
7
4
|
s.name = "zephyr"
|
8
|
-
s.version = "1.1.
|
5
|
+
s.version = "1.1.9"
|
9
6
|
|
10
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
8
|
s.authors = ["Matt Knopp"]
|
@@ -26,7 +23,9 @@ Gem::Specification.new do |s|
|
|
26
23
|
"VERSION",
|
27
24
|
"lib/zephyr.rb",
|
28
25
|
"lib/zephyr/failed_request.rb",
|
29
|
-
"lib/
|
26
|
+
"lib/typhoeus_ext/request.rb",
|
27
|
+
"lib/typhoeus_ext/response.rb",
|
28
|
+
"lib/typhoeus_ext/utils.rb",
|
30
29
|
"test/helper.rb",
|
31
30
|
"test/test_zephyr.rb",
|
32
31
|
"zephyr.gemspec"
|
@@ -43,21 +42,21 @@ Gem::Specification.new do |s|
|
|
43
42
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
44
43
|
s.add_runtime_dependency(%q<typhoeus>, [">= 0.2.4"])
|
45
44
|
s.add_runtime_dependency(%q<yajl-ruby>, [">= 0"])
|
46
|
-
s.add_development_dependency(%q<bundler>, ["~> 1.
|
45
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.1.0"])
|
47
46
|
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
48
47
|
s.add_development_dependency(%q<shoulda>, ["~> 2.11.3"])
|
49
48
|
s.add_development_dependency(%q<mocha>, ["~> 0.12.0"])
|
50
49
|
else
|
51
50
|
s.add_dependency(%q<typhoeus>, [">= 0.2.4"])
|
52
51
|
s.add_dependency(%q<yajl-ruby>, [">= 0"])
|
53
|
-
s.add_dependency(%q<bundler>, ["~> 1.
|
52
|
+
s.add_dependency(%q<bundler>, ["~> 1.1.0"])
|
54
53
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
55
54
|
s.add_dependency(%q<shoulda>, ["~> 2.11.3"])
|
56
55
|
end
|
57
56
|
else
|
58
57
|
s.add_dependency(%q<typhoeus>, [">= 0.2.4"])
|
59
58
|
s.add_dependency(%q<yajl-ruby>, [">= 0"])
|
60
|
-
s.add_dependency(%q<bundler>, ["~> 1.
|
59
|
+
s.add_dependency(%q<bundler>, ["~> 1.1.0"])
|
61
60
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
62
61
|
s.add_dependency(%q<shoulda>, ["~> 2.11.3"])
|
63
62
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zephyr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ~>
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.
|
53
|
+
version: 1.1.0
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -58,7 +58,7 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.
|
61
|
+
version: 1.1.0
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: jeweler
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -124,7 +124,9 @@ files:
|
|
124
124
|
- VERSION
|
125
125
|
- lib/zephyr.rb
|
126
126
|
- lib/zephyr/failed_request.rb
|
127
|
-
- lib/
|
127
|
+
- lib/typhoeus_ext/request.rb
|
128
|
+
- lib/typhoeus_ext/response.rb
|
129
|
+
- lib/typhoeus_ext/utils.rb
|
128
130
|
- test/helper.rb
|
129
131
|
- test/test_zephyr.rb
|
130
132
|
- zephyr.gemspec
|