maestrano 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91a57ad052de3e763e9bb093be5d323f2cac6104
4
- data.tar.gz: c55d04040324a83014afd6d801f87c128c05b1d5
3
+ metadata.gz: 233ae5b1140615630d0cdb6920a810dd84a69c24
4
+ data.tar.gz: 69ed0c40ebc47289eff16817111bec32b74cc4c3
5
5
  SHA512:
6
- metadata.gz: 23fb6893f379f0a5d997170f53dadae889906bbb65aa02943cd50e4ea68bd3448a4ef1598dbb2daea35061f89ccca5b63e2be2e5bdfed5e27748ea39755e2afe
7
- data.tar.gz: 14f110e3573189d0b1b84e02832ebac11e529bf7fcc5355ac63b43c7a601e0a97883b218218eece460d7d578c737781c8b3a9c1da8420169884053582b6ca96a
6
+ metadata.gz: 12401f7870aa606c14cae7db6b36443b951eed778f53a41b8296910d24fc232d4e9402e472d64b00007299e74e435196272bb7fa4f3e907658a3f7e737e74b4a
7
+ data.tar.gz: 0a99d1d28cb4f42c246a4e2dadd99438798b4dbc6f0a4b144b852aafc954317b316d8afc09af58413749cfe6671dee1e1dc5003a4a9bdfc2ccde2560693c438b
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  <p align="center">
2
- <img src="https://raw.github.com/maestrano/maestrano-rails/master/maestrano.png" alt="Maestrano Logo">
2
+ <img src="https://raw.github.com/maestrano/maestrano-ruby/master/maestrano.png" alt="Maestrano Logo">
3
+ <br/>
4
+ <br/>
3
5
  </p>
4
6
 
5
7
  Maestrano Cloud Integration is currently in closed beta. Want to know more? Send us an email to <contact@maestrano.com>.
@@ -111,7 +111,7 @@ module Maestrano
111
111
  def self.request_headers(api_token)
112
112
  headers = {
113
113
  :user_agent => "Maestrano/v1 RubyBindings/#{Maestrano.param('api.version')}",
114
- :authorization => "Basic #{Base64.encode64(api_token)}",
114
+ :authorization => "Basic #{Base64.strict_encode64(api_token)}",
115
115
  :content_type => 'application/x-www-form-urlencoded'
116
116
  }
117
117
 
@@ -1,3 +1,3 @@
1
1
  module Maestrano
2
- VERSION = '0.9.1'
2
+ VERSION = '0.9.2'
3
3
  end
data/maestrano.png CHANGED
Binary file
@@ -68,7 +68,7 @@ module Maestrano
68
68
 
69
69
  should "use the per-object credential when creating" do
70
70
  Maestrano::API::Operation::Base.expects(:execute_request).with do |opts|
71
- opts[:headers][:authorization] == "Basic #{Base64.encode64('someid:somekey')}"
71
+ opts[:headers][:authorization] == "Basic #{Base64.strict_encode64('someid:somekey')}"
72
72
  end.returns(test_response(test_account_bill))
73
73
 
74
74
  Maestrano::Account::Bill.create({
@@ -85,7 +85,7 @@ module Maestrano
85
85
  context "with a global API key set" do
86
86
  should "use the per-object credential when creating" do
87
87
  Maestrano::API::Operation::Base.expects(:execute_request).with do |opts|
88
- opts[:headers][:authorization] == "Basic #{Base64.encode64('someid:somekey')}"
88
+ opts[:headers][:authorization] == "Basic #{Base64.strict_encode64('someid:somekey')}"
89
89
  end.returns(test_response(test_account_bill))
90
90
 
91
91
  Maestrano::Account::Bill.create({
metadata CHANGED
@@ -1,153 +1,153 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maestrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arnaud Lachaume
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-04 00:00:00.000000000 Z
11
+ date: 2014-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.4'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mime-types
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.25'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.25'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: json
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.8'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.8'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: test-unit
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '2'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '2'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: mocha
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0.13'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0.13'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: shoulda
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '2.11'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '2.11'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: timecop
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - <=
101
+ - - "<="
102
102
  - !ruby/object:Gem::Version
103
103
  version: 0.6.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - <=
108
+ - - "<="
109
109
  - !ruby/object:Gem::Version
110
110
  version: 0.6.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rake
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ~>
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
117
  version: '10'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ~>
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '10'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: uuid
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ~>
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
131
  version: '2.3'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ~>
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: '2.3'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: nokogiri
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ! '>='
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
145
  version: 1.5.0
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ! '>='
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: 1.5.0
153
153
  description: Maestrano is the next generation marketplace for SME applications. See
@@ -159,7 +159,7 @@ executables:
159
159
  extensions: []
160
160
  extra_rdoc_files: []
161
161
  files:
162
- - .gitignore
162
+ - ".gitignore"
163
163
  - Gemfile
164
164
  - Gemfile.lock
165
165
  - LICENSE
@@ -260,17 +260,17 @@ require_paths:
260
260
  - lib
261
261
  required_ruby_version: !ruby/object:Gem::Requirement
262
262
  requirements:
263
- - - ! '>='
263
+ - - ">="
264
264
  - !ruby/object:Gem::Version
265
265
  version: '0'
266
266
  required_rubygems_version: !ruby/object:Gem::Requirement
267
267
  requirements:
268
- - - ! '>='
268
+ - - ">="
269
269
  - !ruby/object:Gem::Version
270
270
  version: '0'
271
271
  requirements: []
272
272
  rubyforge_project:
273
- rubygems_version: 2.2.1
273
+ rubygems_version: 2.2.2
274
274
  signing_key:
275
275
  specification_version: 4
276
276
  summary: Ruby bindings for the Maestrano API