maestrano 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ module Maestrano
8
8
  attr_accessor :values
9
9
  def initialize(str="", values=[])
10
10
  @values = values
11
- super(str)
11
+ super(str.to_s)
12
12
  end
13
13
  end
14
14
  end
data/lib/maestrano/sso.rb CHANGED
@@ -5,7 +5,7 @@ module Maestrano
5
5
  def self.saml_settings
6
6
  settings = Maestrano::Saml::Settings.new
7
7
  settings.assertion_consumer_service_url = self.consume_url
8
- settings.issuer = Maestrano.param('app_host')
8
+ settings.issuer = Maestrano.param('api_key')
9
9
  settings.idp_sso_target_url = self.idp_url
10
10
  settings.idp_cert_fingerprint = Maestrano.param('sso_x509_fingerprint')
11
11
  settings.name_identifier_format = Maestrano.param('sso_name_id_format')
@@ -1,3 +1,3 @@
1
1
  module Maestrano
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  end
metadata CHANGED
@@ -1,164 +1,137 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: maestrano
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.0
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.2.0
5
6
  platform: ruby
6
- authors:
7
+ authors:
7
8
  - Arnaud Lachaume
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-05-26 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
12
+
13
+ date: 2014-05-28 00:00:00 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
14
16
  name: rest-client
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ~>
18
- - !ruby/object:Gem::Version
19
- version: '1.4'
20
- type: :runtime
21
17
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ~>
25
- - !ruby/object:Gem::Version
26
- version: '1.4'
27
- - !ruby/object:Gem::Dependency
28
- name: mime-types
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
18
+ requirement: &id001 !ruby/object:Gem::Requirement
19
+ none: false
20
+ requirements:
31
21
  - - ~>
32
- - !ruby/object:Gem::Version
33
- version: '1.25'
22
+ - !ruby/object:Gem::Version
23
+ version: "1.4"
34
24
  type: :runtime
25
+ version_requirements: *id001
26
+ - !ruby/object:Gem::Dependency
27
+ name: mime-types
35
28
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ~>
39
- - !ruby/object:Gem::Version
40
- version: '1.25'
41
- - !ruby/object:Gem::Dependency
42
- name: json
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
29
+ requirement: &id002 !ruby/object:Gem::Requirement
30
+ none: false
31
+ requirements:
45
32
  - - ~>
46
- - !ruby/object:Gem::Version
47
- version: '1.8'
33
+ - !ruby/object:Gem::Version
34
+ version: "1.25"
48
35
  type: :runtime
36
+ version_requirements: *id002
37
+ - !ruby/object:Gem::Dependency
38
+ name: json
49
39
  prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
40
+ requirement: &id003 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
52
43
  - - ~>
53
- - !ruby/object:Gem::Version
54
- version: '1.8'
55
- - !ruby/object:Gem::Dependency
44
+ - !ruby/object:Gem::Version
45
+ version: "1.8"
46
+ type: :runtime
47
+ version_requirements: *id003
48
+ - !ruby/object:Gem::Dependency
56
49
  name: test-unit
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ~>
60
- - !ruby/object:Gem::Version
61
- version: '2'
62
- type: :development
63
50
  prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ~>
67
- - !ruby/object:Gem::Version
68
- version: '2'
69
- - !ruby/object:Gem::Dependency
70
- name: mocha
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
51
+ requirement: &id004 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
73
54
  - - ~>
74
- - !ruby/object:Gem::Version
75
- version: '0.13'
55
+ - !ruby/object:Gem::Version
56
+ version: "2"
76
57
  type: :development
58
+ version_requirements: *id004
59
+ - !ruby/object:Gem::Dependency
60
+ name: mocha
77
61
  prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ~>
81
- - !ruby/object:Gem::Version
82
- version: '0.13'
83
- - !ruby/object:Gem::Dependency
84
- name: shoulda
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
62
+ requirement: &id005 !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
87
65
  - - ~>
88
- - !ruby/object:Gem::Version
89
- version: '2.11'
66
+ - !ruby/object:Gem::Version
67
+ version: "0.13"
90
68
  type: :development
69
+ version_requirements: *id005
70
+ - !ruby/object:Gem::Dependency
71
+ name: shoulda
91
72
  prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
73
+ requirement: &id006 !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
94
76
  - - ~>
95
- - !ruby/object:Gem::Version
96
- version: '2.11'
97
- - !ruby/object:Gem::Dependency
98
- name: timecop
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - <=
102
- - !ruby/object:Gem::Version
103
- version: 0.6.0
77
+ - !ruby/object:Gem::Version
78
+ version: "2.11"
104
79
  type: :development
80
+ version_requirements: *id006
81
+ - !ruby/object:Gem::Dependency
82
+ name: timecop
105
83
  prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
84
+ requirement: &id007 !ruby/object:Gem::Requirement
85
+ none: false
86
+ requirements:
108
87
  - - <=
109
- - !ruby/object:Gem::Version
88
+ - !ruby/object:Gem::Version
110
89
  version: 0.6.0
111
- - !ruby/object:Gem::Dependency
112
- name: rake
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ~>
116
- - !ruby/object:Gem::Version
117
- version: '10'
118
90
  type: :development
91
+ version_requirements: *id007
92
+ - !ruby/object:Gem::Dependency
93
+ name: rake
119
94
  prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
95
+ requirement: &id008 !ruby/object:Gem::Requirement
96
+ none: false
97
+ requirements:
122
98
  - - ~>
123
- - !ruby/object:Gem::Version
124
- version: '10'
125
- - !ruby/object:Gem::Dependency
99
+ - !ruby/object:Gem::Version
100
+ version: "10"
101
+ type: :development
102
+ version_requirements: *id008
103
+ - !ruby/object:Gem::Dependency
126
104
  name: uuid
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - ~>
130
- - !ruby/object:Gem::Version
131
- version: '2.3'
132
- type: :runtime
133
105
  prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
106
+ requirement: &id009 !ruby/object:Gem::Requirement
107
+ none: false
108
+ requirements:
136
109
  - - ~>
137
- - !ruby/object:Gem::Version
138
- version: '2.3'
139
- - !ruby/object:Gem::Dependency
140
- name: nokogiri
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - ! '>='
144
- - !ruby/object:Gem::Version
145
- version: 1.5.0
110
+ - !ruby/object:Gem::Version
111
+ version: "2.3"
146
112
  type: :runtime
113
+ version_requirements: *id009
114
+ - !ruby/object:Gem::Dependency
115
+ name: nokogiri
147
116
  prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - ! '>='
151
- - !ruby/object:Gem::Version
117
+ requirement: &id010 !ruby/object:Gem::Requirement
118
+ none: false
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
152
122
  version: 1.5.0
153
- description: Maestrano is the next generation marketplace for SME applications. See
154
- https://maestrano.com for details.
155
- email:
123
+ type: :runtime
124
+ version_requirements: *id010
125
+ description: Maestrano is the next generation marketplace for SME applications. See https://maestrano.com for details.
126
+ email:
156
127
  - arnaud.lachaume@maestrano.com
157
- executables:
128
+ executables:
158
129
  - maestrano-console
159
130
  extensions: []
131
+
160
132
  extra_rdoc_files: []
161
- files:
133
+
134
+ files:
162
135
  - .gitignore
163
136
  - Gemfile
164
137
  - Gemfile.lock
@@ -240,30 +213,33 @@ files:
240
213
  - test/support/saml/responses/wrapped_response_2.xml.base64
241
214
  - test/test_helper.rb
242
215
  homepage: https://maestrano.com
243
- licenses:
216
+ licenses:
244
217
  - MIT
245
- metadata: {}
246
218
  post_install_message:
247
219
  rdoc_options: []
248
- require_paths:
220
+
221
+ require_paths:
249
222
  - lib
250
- required_ruby_version: !ruby/object:Gem::Requirement
251
- requirements:
252
- - - ! '>='
253
- - !ruby/object:Gem::Version
254
- version: '0'
255
- required_rubygems_version: !ruby/object:Gem::Requirement
256
- requirements:
257
- - - ! '>='
258
- - !ruby/object:Gem::Version
259
- version: '0'
223
+ required_ruby_version: !ruby/object:Gem::Requirement
224
+ none: false
225
+ requirements:
226
+ - - ">="
227
+ - !ruby/object:Gem::Version
228
+ version: "0"
229
+ required_rubygems_version: !ruby/object:Gem::Requirement
230
+ none: false
231
+ requirements:
232
+ - - ">="
233
+ - !ruby/object:Gem::Version
234
+ version: "0"
260
235
  requirements: []
236
+
261
237
  rubyforge_project:
262
- rubygems_version: 2.2.1
238
+ rubygems_version: 1.8.21
263
239
  signing_key:
264
- specification_version: 4
240
+ specification_version: 3
265
241
  summary: Ruby bindings for the Maestrano API
266
- test_files:
242
+ test_files:
267
243
  - test/helpers/api_helpers.rb
268
244
  - test/helpers/saml_helpers.rb
269
245
  - test/maestrano/account/bill_test.rb
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 46d72cf16b89994faf979aeb8054a4e428fde7ab
4
- data.tar.gz: 54d8aeb2955cbf58c1e06ccadb572060bdfaf86c
5
- SHA512:
6
- metadata.gz: d35c0dcf93d7d231154141bedab869c0f24cd38c3304e3cfc57c0265932f7dc8ebaeb33fa59dfee69126f490b067950aeafd6a6b9beda2fd08695b81a20c91cb
7
- data.tar.gz: c649204b85ed1ebab729d783f6516d6c7940a83d3ef4e4c7abc208e1cf2d0fbab0fdab72fa847ce1fde289dd7c5792661d04a8a75d236e5cc4ff641d29ebf35d