ace-client 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock ADDED
@@ -0,0 +1,56 @@
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ addressable (2.3.2)
5
+ builder (3.0.4)
6
+ diff-lcs (1.1.3)
7
+ faraday (0.8.7)
8
+ multipart-post (~> 1.1)
9
+ git (1.2.5)
10
+ github_api (0.10.1)
11
+ addressable
12
+ faraday (~> 0.8.1)
13
+ hashie (>= 1.2)
14
+ multi_json (~> 1.4)
15
+ nokogiri (~> 1.5.2)
16
+ oauth2
17
+ hashie (2.0.5)
18
+ highline (1.6.19)
19
+ jeweler (1.8.8)
20
+ builder
21
+ bundler (~> 1.0)
22
+ git (>= 1.2.5)
23
+ github_api (= 0.10.1)
24
+ highline (>= 1.6.15)
25
+ nokogiri (= 1.5.10)
26
+ rake
27
+ rdoc
28
+ json (1.8.0)
29
+ multi_json (1.7.3)
30
+ multipart-post (1.2.0)
31
+ nokogiri (1.5.10)
32
+ oauth2 (0.5.2)
33
+ faraday (~> 0.7)
34
+ multi_json (~> 1.0)
35
+ rake (10.0.4)
36
+ rcov (0.9.11)
37
+ rdoc (3.12.2)
38
+ json (~> 1.4)
39
+ rspec (2.8.0)
40
+ rspec-core (~> 2.8.0)
41
+ rspec-expectations (~> 2.8.0)
42
+ rspec-mocks (~> 2.8.0)
43
+ rspec-core (2.8.0)
44
+ rspec-expectations (2.8.0)
45
+ diff-lcs (~> 1.1.2)
46
+ rspec-mocks (2.8.0)
47
+
48
+ PLATFORMS
49
+ ruby
50
+
51
+ DEPENDENCIES
52
+ bundler (~> 1.0)
53
+ jeweler (~> 1.8.7)
54
+ rcov
55
+ rdoc (~> 3.12)
56
+ rspec (~> 2.8.0)
data/README.md CHANGED
@@ -102,5 +102,6 @@ you can specify your http method with :http_method option (Default is :post).
102
102
  * handle redirects
103
103
  * socket/connection timeout configuration
104
104
  * rewrite query and header before/after genrating signature (maybe hook-like interface)
105
+ * environment variable suppoort (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, HTTP_PROXY)
105
106
 
106
107
  ## Copyright
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.0
1
+ 0.0.1
@@ -28,7 +28,7 @@ module AceClient
28
28
  def set_http_proxy
29
29
  if @http_proxy
30
30
  uri = URI.parse(@http_proxy)
31
- self.class.http_proxy(uri.scheme + '://' + uri.host, uri.port)
31
+ self.class.http_proxy(uri.host, uri.port)
32
32
  end
33
33
  end
34
34
 
@@ -52,7 +52,6 @@ module AceClient
52
52
  end
53
53
 
54
54
  def string_to_sign
55
- p [@http_method.to_s.upcase, @endpoint, @path, canonical_query_string].join("\n")
56
55
  [@http_method.to_s.upcase, @endpoint, @path, canonical_query_string].join("\n")
57
56
  end
58
57
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ace-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2013-11-18 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &57501080 !ruby/object:Gem::Requirement
16
+ requirement: &188048620 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 2.8.0
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *57501080
24
+ version_requirements: *188048620
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rdoc
27
- requirement: &57500260 !ruby/object:Gem::Requirement
27
+ requirement: &188041680 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '3.12'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *57500260
35
+ version_requirements: *188041680
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bundler
38
- requirement: &57499240 !ruby/object:Gem::Requirement
38
+ requirement: &188039980 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '1.0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *57499240
46
+ version_requirements: *188039980
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: jeweler
49
- requirement: &57495300 !ruby/object:Gem::Requirement
49
+ requirement: &188038560 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 1.8.7
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *57495300
57
+ version_requirements: *188038560
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rcov
60
- requirement: &57493560 !ruby/object:Gem::Requirement
60
+ requirement: &188036280 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *57493560
68
+ version_requirements: *188036280
69
69
  description: Simple ACE(Amazon Compatible Environment) Client
70
70
  email: tily05@gmail.com
71
71
  executables: []
@@ -75,6 +75,7 @@ extra_rdoc_files:
75
75
  - README.md
76
76
  files:
77
77
  - Gemfile
78
+ - Gemfile.lock
78
79
  - LICENSE.txt
79
80
  - README.md
80
81
  - Rakefile
@@ -100,7 +101,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
100
101
  version: '0'
101
102
  segments:
102
103
  - 0
103
- hash: 4298272965098336729
104
+ hash: 2258516443171811769
104
105
  required_rubygems_version: !ruby/object:Gem::Requirement
105
106
  none: false
106
107
  requirements: