ey_services_api 0.3.17 → 0.3.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.travis.yml +24 -0
- data/README.md +4 -4
- data/lib/ey_services_api/version.rb +1 -1
- data/spec/spec_helper.rb +5 -3
- metadata +72 -93
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 444e8b82666302b4834f1a9a4a0984a9c1db6266
|
4
|
+
data.tar.gz: 61a30fbc5da26592cbf83737464dfffd6a37a01d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 34c24d708b7a23a926ad7691b5ebc1297d7d4c61c158d38ef07eafa9f519e69bf8ed9033d73ae76db356f3a511c0d5bc245319c9b642b455584b73538524858f
|
7
|
+
data.tar.gz: 773205246352c98f5cd7d7efb62b3e545239509b70aadd58be681fd8d96d82f4fd10608cc33c768fee31e2ad8e775f1bfba220a397faa80edd5e114c6c0c7106
|
data/.travis.yml
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
---
|
2
|
+
git:
|
3
|
+
depth: 1
|
4
|
+
|
5
|
+
notifications:
|
6
|
+
email: false
|
7
|
+
webhooks:
|
8
|
+
urls:
|
9
|
+
- https://ensemble.engineyard.com/travis
|
10
|
+
on_success: always
|
11
|
+
on_failure: always
|
12
|
+
on_start: true
|
13
|
+
|
14
|
+
before_script:
|
15
|
+
- echo "--profile --color" > '.rspec' # Report slowest ten tests, make it pretty
|
16
|
+
|
17
|
+
script: bundle exec rake
|
18
|
+
|
19
|
+
env:
|
20
|
+
global:
|
21
|
+
- RUBY_GC_MALLOC_LIMIT=1000000000
|
22
|
+
- RUBY_HEAP_SLOTS_GROWTH_FACTOR=1.25
|
23
|
+
- RUBY_HEAP_MIN_SLOTS=800000
|
24
|
+
- RUBY_FREE_MIN=600000
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# EY Services API
|
1
|
+
# EY Add-on Services API
|
2
2
|
|
3
|
-
This gem provides basic ability to interact with Engine Yard as
|
3
|
+
This gem provides basic ability to interact with Engine Yard as an Add-on service partner (e.g. [http://www.engineyard.com/partners/platform-services](http://www.engineyard.com/partners/platform-services)).
|
4
4
|
|
5
5
|
All operations happen on the connection. First it must be setup. For example:
|
6
6
|
|
@@ -8,7 +8,7 @@ All operations happen on the connection. First it must be setup. For example:
|
|
8
8
|
EY::ServicesAPI.setup(:auth_id => "...", :auth_key => "...")
|
9
9
|
```
|
10
10
|
|
11
|
-
Then you can do things like register a new service. For example:
|
11
|
+
Then you can do things like register a new Add-on service. For example:
|
12
12
|
|
13
13
|
``` ruby
|
14
14
|
EY::ServicesAPI.connection.register_service(
|
@@ -54,4 +54,4 @@ To run against tresfiestas codebase: (internal only)
|
|
54
54
|
|
55
55
|
This should bump the versions of both ey_services_api and ey_services_fake. Push both to rubygems, and then push your version bump commits to github.
|
56
56
|
|
57
|
-
Using 1.8.7 to release is the simplest way to avoid syck/psych yaml incompatibilities gemspec bugs.
|
57
|
+
Using 1.8.7 to release is the simplest way to avoid syck/psych yaml incompatibilities gemspec bugs.
|
data/spec/spec_helper.rb
CHANGED
@@ -4,11 +4,13 @@ require 'sinatra/base'
|
|
4
4
|
|
5
5
|
RSpec.configure do |config|
|
6
6
|
config.before(:each) do
|
7
|
-
if ENV["
|
7
|
+
if ENV["TESTING_TRESFIESTAS"] == "true"
|
8
|
+
require 'tresfiestas/gem_integration_test'
|
9
|
+
gemintegration = Tresfiestas::GemIntegrationTest.new
|
8
10
|
require 'ey_services_fake/mocking_bird_service'
|
9
11
|
require 'tresfiestas/gem_integration_test'
|
10
|
-
require 'fake_awsm/test_helper'
|
11
|
-
EY::ServicesAPI.enable_mock!(EyServicesFake::MockingBirdService.new,
|
12
|
+
require 'ey_services_fake_internal/fake_awsm/test_helper'
|
13
|
+
EY::ServicesAPI.enable_mock!(EyServicesFake::MockingBirdService.new, gemintegration, FakeAWSM::TestHelper.new)
|
12
14
|
else
|
13
15
|
require 'ey_services_fake/mocking_bird_service'
|
14
16
|
EY::ServicesAPI.enable_mock!(EyServicesFake::MockingBirdService.new)
|
metadata
CHANGED
@@ -1,93 +1,81 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ey_services_api
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 3
|
9
|
-
- 17
|
10
|
-
version: 0.3.17
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.18
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Jacob & Thorben & David & mkb & Josh & Others
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2013-07-20 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
21
14
|
name: rspec
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 3
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
version: "0"
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
32
20
|
type: :development
|
33
|
-
version_requirements: *id001
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: sinatra
|
36
21
|
prerelease: false
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: sinatra
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
46
34
|
type: :runtime
|
47
|
-
version_requirements: *id002
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: json
|
50
35
|
prerelease: false
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: json
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
60
48
|
type: :runtime
|
61
|
-
version_requirements: *id003
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: ey_api_hmac
|
64
49
|
prerelease: false
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: ey_api_hmac
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
75
61
|
version: 0.3.0
|
76
62
|
type: :runtime
|
77
|
-
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.3.0
|
78
69
|
description: API for Partner Services (talks to services.engineyard.com)
|
79
|
-
email:
|
70
|
+
email:
|
80
71
|
- jacob@engineyard.com
|
81
72
|
executables: []
|
82
|
-
|
83
73
|
extensions: []
|
84
|
-
|
85
74
|
extra_rdoc_files: []
|
86
|
-
|
87
|
-
files:
|
75
|
+
files:
|
88
76
|
- .gitignore
|
89
77
|
- .rspec
|
90
|
-
- .
|
78
|
+
- .travis.yml
|
91
79
|
- CHANGELOG
|
92
80
|
- EYIntegratedGemfile
|
93
81
|
- Gemfile
|
@@ -120,38 +108,28 @@ files:
|
|
120
108
|
- spec/users_spec.rb
|
121
109
|
homepage: https://github.com/engineyard/ey_services_api
|
122
110
|
licenses: []
|
123
|
-
|
111
|
+
metadata: {}
|
124
112
|
post_install_message:
|
125
113
|
rdoc_options: []
|
126
|
-
|
127
|
-
require_paths:
|
114
|
+
require_paths:
|
128
115
|
- lib
|
129
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
none: false
|
140
|
-
requirements:
|
141
|
-
- - ">="
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
hash: 3
|
144
|
-
segments:
|
145
|
-
- 0
|
146
|
-
version: "0"
|
116
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
117
|
+
requirements:
|
118
|
+
- - '>='
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
121
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
147
126
|
requirements: []
|
148
|
-
|
149
127
|
rubyforge_project: ey_services_api
|
150
|
-
rubygems_version:
|
128
|
+
rubygems_version: 2.0.3
|
151
129
|
signing_key:
|
152
|
-
specification_version:
|
130
|
+
specification_version: 4
|
153
131
|
summary: API for Partner Services (talks to services.engineyard.com)
|
154
|
-
test_files:
|
132
|
+
test_files:
|
155
133
|
- spec/invoice_spec.rb
|
156
134
|
- spec/message_spec.rb
|
157
135
|
- spec/provisioned_service_creation_spec.rb
|
@@ -159,3 +137,4 @@ test_files:
|
|
159
137
|
- spec/service_spec.rb
|
160
138
|
- spec/spec_helper.rb
|
161
139
|
- spec/users_spec.rb
|
140
|
+
has_rdoc:
|