ey_services_fake 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -60,6 +60,8 @@ module EyServicesFake
60
60
  service_object && {
61
61
  :id => service_object.id,
62
62
  :name => service_object.name,
63
+ :label => service_object.label,
64
+ :revenue_share => service_object.revenue_share,
63
65
  :service_accounts_url => service_object.service_accounts_url
64
66
  }
65
67
  end
@@ -32,7 +32,7 @@ module EyServicesFake
32
32
  status 400
33
33
  {:error_messages => ["Name can't be blank"]}.to_json
34
34
  else
35
- service = Service.create(service_json.merge(:partner_id => partner.id))
35
+ service = Service.create(service_json.merge(:partner_id => partner.id, :revenue_share => 0.3))
36
36
  status 201
37
37
  headers 'Location' => URL_GEN.service(service)
38
38
  {}.to_json
@@ -1,3 +1,3 @@
1
1
  module EyServicesFake
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,62 +1,45 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: ey_services_fake
3
- version: !ruby/object:Gem::Version
4
- hash: 21
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.6
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 5
10
- version: 0.0.5
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Jacob Burkhart & Josh Lane
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-11-15 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2011-11-21 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: sinatra
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70192357090200 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
32
22
  type: :runtime
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: cubbyhole
36
23
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70192357090200
25
+ - !ruby/object:Gem::Dependency
26
+ name: cubbyhole
27
+ requirement: &70192357089540 !ruby/object:Gem::Requirement
38
28
  none: false
39
- requirements:
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- hash: 23
43
- segments:
44
- - 0
45
- - 2
46
- - 0
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
47
32
  version: 0.2.0
48
33
  type: :runtime
49
- version_requirements: *id002
34
+ prerelease: false
35
+ version_requirements: *70192357089540
50
36
  description: A fake for use when writting tests against the ey_services_api
51
- email:
37
+ email:
52
38
  - jacob@engineyard.com
53
39
  executables: []
54
-
55
40
  extensions: []
56
-
57
41
  extra_rdoc_files: []
58
-
59
- files:
42
+ files:
60
43
  - .gitignore
61
44
  - ey_services_fake.gemspec
62
45
  - lib/ey_services_fake/mock_backend.rb
@@ -67,38 +50,28 @@ files:
67
50
  - lib/ey_services_fake/tresfiestas_fake_rack_app.rb
68
51
  - lib/ey_services_fake/url_generator.rb
69
52
  - lib/ey_services_fake/version.rb
70
- homepage: ""
53
+ homepage: ''
71
54
  licenses: []
72
-
73
55
  post_install_message:
74
56
  rdoc_options: []
75
-
76
- require_paths:
57
+ require_paths:
77
58
  - lib
78
- required_ruby_version: !ruby/object:Gem::Requirement
59
+ required_ruby_version: !ruby/object:Gem::Requirement
79
60
  none: false
80
- requirements:
81
- - - ">="
82
- - !ruby/object:Gem::Version
83
- hash: 3
84
- segments:
85
- - 0
86
- version: "0"
87
- required_rubygems_version: !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - - ! '>='
63
+ - !ruby/object:Gem::Version
64
+ version: '0'
65
+ required_rubygems_version: !ruby/object:Gem::Requirement
88
66
  none: false
89
- requirements:
90
- - - ">="
91
- - !ruby/object:Gem::Version
92
- hash: 3
93
- segments:
94
- - 0
95
- version: "0"
67
+ requirements:
68
+ - - ! '>='
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
96
71
  requirements: []
97
-
98
72
  rubyforge_project: ey_services_fake
99
73
  rubygems_version: 1.8.10
100
74
  signing_key:
101
75
  specification_version: 3
102
76
  summary: A fake for use when writting tests against the ey_services_api
103
77
  test_files: []
104
-