ace-client 0.0.22 → 0.0.23

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ FROM ruby:1.9.3
2
+ WORKDIR /usr/local/app
3
+ ADD Gemfile Gemfile
4
+ ADD Gemfile.lock Gemfile.lock
5
+ RUN bundle install
@@ -69,6 +69,3 @@ DEPENDENCIES
69
69
  rdoc (~> 3.12)
70
70
  rspec (~> 2.8.0)
71
71
  thor
72
-
73
- BUNDLED WITH
74
- 1.10.6
data/README.md CHANGED
@@ -217,6 +217,18 @@ Environment variable ACE_ENDPOINT, ACE_ACCESS_KEY, ACE_SECRET_ACCESS_KEY should
217
217
  </ResponseMetadata>
218
218
  </CreateQueueResponse>
219
219
 
220
+ ## How to develop with docker
221
+
222
+ ```
223
+ ## Define your environment variables
224
+ $ vi .env
225
+
226
+
227
+ ## Execute command-line tool with docker
228
+ $ docker-compose run --rm app ruby bin/ace-q2
229
+ Usage: ace-q2 DescribeSomethings Key1=Value1 Key2=Value2 ...
230
+ ```
231
+
220
232
  ## TODO
221
233
 
222
234
  * query + sig4 support
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.22
1
+ 0.0.23
@@ -0,0 +1,7 @@
1
+ version: "3"
2
+ services:
3
+ app:
4
+ build: .
5
+ volumes:
6
+ - .:/usr/local/app
7
+ env_file: .env
@@ -4,7 +4,6 @@ require 'uri'
4
4
  module AceClient
5
5
  class Base
6
6
  include HTTParty
7
- ssl_version :TLSv1
8
7
 
9
8
  attr_accessor :access_key_id
10
9
  attr_accessor :secret_access_key
@@ -58,7 +57,7 @@ module AceClient
58
57
  self.class.debug_output($stderr)
59
58
  end
60
59
  end
61
- self.class.format (options[:response_format] || ENV['ACE_RESPONSE_FORMAT'] || 'xml').to_sym
60
+ self.class.format (options[:response_format] || ENV['ACE_RESPONSE_FORMAT'] || self.class.format).to_sym
62
61
  @version = options[:version]
63
62
  @path = options[:path] || ENV['ACE_PATH'] || '/'
64
63
  @user_agent = options[:user_agent]
metadata CHANGED
@@ -1,32 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ace-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.22
4
+ version: 0.0.23
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - tily
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2016-02-24 00:00:00.000000000 Z
12
+ date: 2019-01-28 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: nokogiri
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - ">="
19
+ - - ! '>='
18
20
  - !ruby/object:Gem::Version
19
21
  version: '0'
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - ">="
27
+ - - ! '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: '0'
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: httparty
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - '='
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - '='
39
44
  - !ruby/object:Gem::Version
@@ -41,85 +46,97 @@ dependencies:
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: thor
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - ">="
51
+ - - ! '>='
46
52
  - !ruby/object:Gem::Version
47
53
  version: '0'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - ">="
59
+ - - ! '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: builder
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - ">="
67
+ - - ! '>='
60
68
  - !ruby/object:Gem::Version
61
69
  version: '0'
62
70
  type: :runtime
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - ">="
75
+ - - ! '>='
67
76
  - !ruby/object:Gem::Version
68
77
  version: '0'
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: rspec
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
- - - "~>"
83
+ - - ~>
74
84
  - !ruby/object:Gem::Version
75
85
  version: 2.8.0
76
86
  type: :development
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
- - - "~>"
91
+ - - ~>
81
92
  - !ruby/object:Gem::Version
82
93
  version: 2.8.0
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: rdoc
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
- - - "~>"
99
+ - - ~>
88
100
  - !ruby/object:Gem::Version
89
101
  version: '3.12'
90
102
  type: :development
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
- - - "~>"
107
+ - - ~>
95
108
  - !ruby/object:Gem::Version
96
109
  version: '3.12'
97
110
  - !ruby/object:Gem::Dependency
98
111
  name: bundler
99
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
100
114
  requirements:
101
- - - "~>"
115
+ - - ~>
102
116
  - !ruby/object:Gem::Version
103
117
  version: '1.0'
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
107
122
  requirements:
108
- - - "~>"
123
+ - - ~>
109
124
  - !ruby/object:Gem::Version
110
125
  version: '1.0'
111
126
  - !ruby/object:Gem::Dependency
112
127
  name: jeweler
113
128
  requirement: !ruby/object:Gem::Requirement
129
+ none: false
114
130
  requirements:
115
- - - "~>"
131
+ - - ~>
116
132
  - !ruby/object:Gem::Version
117
133
  version: 1.8.7
118
134
  type: :development
119
135
  prerelease: false
120
136
  version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
121
138
  requirements:
122
- - - "~>"
139
+ - - ~>
123
140
  - !ruby/object:Gem::Version
124
141
  version: 1.8.7
125
142
  description: Simple ACE(Amazon Compatible Environment) Client
@@ -131,6 +148,7 @@ extra_rdoc_files:
131
148
  - LICENSE.txt
132
149
  - README.md
133
150
  files:
151
+ - Dockerfile
134
152
  - Gemfile
135
153
  - Gemfile.lock
136
154
  - LICENSE.txt
@@ -138,6 +156,7 @@ files:
138
156
  - Rakefile
139
157
  - VERSION
140
158
  - bin/ace-q2
159
+ - docker-compose.yml
141
160
  - lib/ace-client.rb
142
161
  - lib/ace-client/base.rb
143
162
  - lib/ace-client/base3.rb
@@ -152,25 +171,29 @@ files:
152
171
  homepage: http://github.com/tily/ace-client
153
172
  licenses:
154
173
  - MIT
155
- metadata: {}
156
174
  post_install_message:
157
175
  rdoc_options: []
158
176
  require_paths:
159
177
  - lib
160
178
  required_ruby_version: !ruby/object:Gem::Requirement
179
+ none: false
161
180
  requirements:
162
- - - ">="
181
+ - - ! '>='
163
182
  - !ruby/object:Gem::Version
164
183
  version: '0'
184
+ segments:
185
+ - 0
186
+ hash: -2728965400814798466
165
187
  required_rubygems_version: !ruby/object:Gem::Requirement
188
+ none: false
166
189
  requirements:
167
- - - ">="
190
+ - - ! '>='
168
191
  - !ruby/object:Gem::Version
169
192
  version: '0'
170
193
  requirements: []
171
194
  rubyforge_project:
172
- rubygems_version: 2.4.5.1
195
+ rubygems_version: 1.8.23.2
173
196
  signing_key:
174
- specification_version: 4
197
+ specification_version: 3
175
198
  summary: Simple ACE(Amazon Compatible Environment) Client
176
199
  test_files: []
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: ab2ca825602d84574438df3e387177e59dc6752b
4
- data.tar.gz: e8af923167c49255fab4d7adb7218323f1d95b3c
5
- SHA512:
6
- metadata.gz: 54a71128293e348ab07429a205367ddbc09a4f71d863f91c3b9b63d84ccb5aa8bdeb9db624c3c8054877fceb62c57f4df35996c166ab3704b695b14cef87699d
7
- data.tar.gz: dbd1dac80f93b820b0a51c25a56a15bb088a08f9745a4d31e2d74bf630e148259565e5312446edaa9738c2c7d5f566e18bf4689a3711b2b9bad4be99be73a94d