ace-client 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -0
- data/VERSION +1 -1
- data/lib/ace-client/query2.rb +4 -3
- metadata +13 -13
data/README.md
CHANGED
@@ -16,6 +16,10 @@ ace-client solves this problem, and provide simple interface to test ACE environ
|
|
16
16
|
* no client-side validation
|
17
17
|
* no dynamic API exception (both success and error response is returned as raw response)
|
18
18
|
|
19
|
+
## Installation
|
20
|
+
|
21
|
+
gem install ace-client
|
22
|
+
|
19
23
|
## Usage
|
20
24
|
|
21
25
|
### Good Old Query + Sig2 Client
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
data/lib/ace-client/query2.rb
CHANGED
@@ -9,7 +9,7 @@ module AceClient
|
|
9
9
|
attr_accessor :sampler
|
10
10
|
|
11
11
|
format :xml
|
12
|
-
debug_output $stderr
|
12
|
+
#debug_output $stderr
|
13
13
|
|
14
14
|
def initialize(options={})
|
15
15
|
super(options)
|
@@ -38,12 +38,13 @@ module AceClient
|
|
38
38
|
@params['Version'] = @version if @version
|
39
39
|
@params['Signature'] = create_signature
|
40
40
|
|
41
|
-
options =
|
41
|
+
options = self.class.default_options.dup
|
42
|
+
options.merge!(
|
42
43
|
:headers => {
|
43
44
|
'Content-Type' => 'application/x-www-form-urlencoded;charset=UTF-8'
|
44
45
|
},
|
45
46
|
:query => @params
|
46
|
-
|
47
|
+
)
|
47
48
|
options[:headers]['User-Agent'] = @user_agent if @user_agent
|
48
49
|
|
49
50
|
if http_method == :get
|
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.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-11-
|
12
|
+
date: 2013-11-21 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &135907300 !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: *
|
24
|
+
version_requirements: *135907300
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rdoc
|
27
|
-
requirement: &
|
27
|
+
requirement: &135906120 !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: *
|
35
|
+
version_requirements: *135906120
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: bundler
|
38
|
-
requirement: &
|
38
|
+
requirement: &135904500 !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: *
|
46
|
+
version_requirements: *135904500
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: jeweler
|
49
|
-
requirement: &
|
49
|
+
requirement: &135903340 !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: *
|
57
|
+
version_requirements: *135903340
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: rcov
|
60
|
-
requirement: &
|
60
|
+
requirement: &135900940 !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: *
|
68
|
+
version_requirements: *135900940
|
69
69
|
description: Simple ACE(Amazon Compatible Environment) Client
|
70
70
|
email: tily05@gmail.com
|
71
71
|
executables: []
|
@@ -101,7 +101,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
101
101
|
version: '0'
|
102
102
|
segments:
|
103
103
|
- 0
|
104
|
-
hash:
|
104
|
+
hash: -1694008381801661221
|
105
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
106
|
none: false
|
107
107
|
requirements:
|