heroku_addon_provider 0.0.1 → 0.1.3

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: e6f0e7100554699cdf5c9d07e754cd8ba9979b5e
4
- data.tar.gz: 8e36ccc36a4d140548b63dafe64f47fae48399ea
3
+ metadata.gz: cf5d0120e53484d4d5edacfae9578d2c0aeeea0a
4
+ data.tar.gz: 36a4bc4c223bc6f7da2bc9b162408dec5dc1f53a
5
5
  SHA512:
6
- metadata.gz: 392591e7c5a3de61972c765ef9d4c3ec173878e8017b698dcae8f26e52887df3397248941c84c0f6e42821cb0f38fb8b330ec586c476854208f59c5a30a1abed
7
- data.tar.gz: 69fab726fe0cc2b81a6bc941e3e7df7f4c061f1a8083258cabd56df52ab76122a566d15c6fab59842b63c32318bf862037e86c61ab437883b0a7a1de38c439b4
6
+ metadata.gz: b763798fbcbdd2cba1c9424d226f4e8ce74dba3a5d375d71c34969cfd36cc8c2a81bf1922b5ec7891da79fb6b07bf455ae6b5f1a65444c0b3e116e36e25b976b
7
+ data.tar.gz: 1a525cb8e895b64f03533f3b065a5ebedd43abca69be9c64db7b9ad70c5868552d31a36abcfe000f62f79e6c816151f16ffe9f31f7b9573d6de947ef746f103f
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- heroku_addon_provider (0.0.1)
5
- faraday (~> 0.8.5)
6
- faraday_middleware (~> 0.9.0)
4
+ heroku_addon_provider (0.1.3)
5
+ faraday (~> 0.8, >= 0.8.5)
6
+ faraday_middleware (~> 0.9, >= 0.9.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
@@ -21,5 +21,5 @@ PLATFORMS
21
21
 
22
22
  DEPENDENCIES
23
23
  heroku_addon_provider!
24
- minitest (~> 4.7.0)
25
- rake (~> 10.0.3)
24
+ minitest (~> 4.7, >= 4.7.0)
25
+ rake (~> 10.0, >= 10.0.3)
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ Build Status: [![Build Status](https://travis-ci.org/SymmetricInfinity/heroku_addon_provider.png?branch=master)](https://travis-ci.org/SymmetricInfinity/heroku_addon_provider)
2
+
1
3
  ## Installation
2
4
 
3
5
  Add this line to your application's Gemfile:
@@ -19,9 +19,9 @@ Gem::Specification.new do |gem|
19
19
  gem.require_paths = ["lib"]
20
20
  gem.required_ruby_version = '>= 1.9'
21
21
 
22
- gem.add_dependency "faraday", "~> 0.8.5"
23
- gem.add_dependency "faraday_middleware", "~> 0.9.0"
22
+ gem.add_runtime_dependency 'faraday', '~> 0.8', '>= 0.8.5'
23
+ gem.add_runtime_dependency 'faraday_middleware', '~> 0.9', '>= 0.9.0'
24
24
 
25
- gem.add_development_dependency 'minitest', '~> 4.7.0'
26
- gem.add_development_dependency 'rake', '~> 10.0.3'
25
+ gem.add_development_dependency 'minitest', '~> 4.7', '>= 4.7.0'
26
+ gem.add_development_dependency 'rake', '~> 10.0', '>= 10.0.3'
27
27
  end
@@ -1,3 +1,3 @@
1
1
  class HerokuAddonProvider
2
- VERSION = '0.0.1'.freeze
2
+ VERSION = '0.1.3'
3
3
  end
@@ -56,6 +56,10 @@ class HerokuAddonProvider
56
56
  end
57
57
  end
58
58
 
59
+ def update_config(heroku_id, new_config)
60
+ faraday.put("/vendor/apps/#{heroku_id}", {'config' => new_config}.to_json)
61
+ end
62
+
59
63
  def configure(&block)
60
64
  yield self
61
65
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heroku_addon_provider
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Natchev
@@ -9,62 +9,86 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-24 00:00:00.000000000 Z
12
+ date: 2014-11-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ~>
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '0.8'
21
+ - - ">="
19
22
  - !ruby/object:Gem::Version
20
23
  version: 0.8.5
21
24
  type: :runtime
22
25
  prerelease: false
23
26
  version_requirements: !ruby/object:Gem::Requirement
24
27
  requirements:
25
- - - ~>
28
+ - - "~>"
29
+ - !ruby/object:Gem::Version
30
+ version: '0.8'
31
+ - - ">="
26
32
  - !ruby/object:Gem::Version
27
33
  version: 0.8.5
28
34
  - !ruby/object:Gem::Dependency
29
35
  name: faraday_middleware
30
36
  requirement: !ruby/object:Gem::Requirement
31
37
  requirements:
32
- - - ~>
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.9'
41
+ - - ">="
33
42
  - !ruby/object:Gem::Version
34
43
  version: 0.9.0
35
44
  type: :runtime
36
45
  prerelease: false
37
46
  version_requirements: !ruby/object:Gem::Requirement
38
47
  requirements:
39
- - - ~>
48
+ - - "~>"
49
+ - !ruby/object:Gem::Version
50
+ version: '0.9'
51
+ - - ">="
40
52
  - !ruby/object:Gem::Version
41
53
  version: 0.9.0
42
54
  - !ruby/object:Gem::Dependency
43
55
  name: minitest
44
56
  requirement: !ruby/object:Gem::Requirement
45
57
  requirements:
46
- - - ~>
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '4.7'
61
+ - - ">="
47
62
  - !ruby/object:Gem::Version
48
63
  version: 4.7.0
49
64
  type: :development
50
65
  prerelease: false
51
66
  version_requirements: !ruby/object:Gem::Requirement
52
67
  requirements:
53
- - - ~>
68
+ - - "~>"
69
+ - !ruby/object:Gem::Version
70
+ version: '4.7'
71
+ - - ">="
54
72
  - !ruby/object:Gem::Version
55
73
  version: 4.7.0
56
74
  - !ruby/object:Gem::Dependency
57
75
  name: rake
58
76
  requirement: !ruby/object:Gem::Requirement
59
77
  requirements:
60
- - - ~>
78
+ - - "~>"
79
+ - !ruby/object:Gem::Version
80
+ version: '10.0'
81
+ - - ">="
61
82
  - !ruby/object:Gem::Version
62
83
  version: 10.0.3
63
84
  type: :development
64
85
  prerelease: false
65
86
  version_requirements: !ruby/object:Gem::Requirement
66
87
  requirements:
67
- - - ~>
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: '10.0'
91
+ - - ">="
68
92
  - !ruby/object:Gem::Version
69
93
  version: 10.0.3
70
94
  description: A gem for abstracting common heroku addon provider concerns
@@ -75,8 +99,8 @@ executables: []
75
99
  extensions: []
76
100
  extra_rdoc_files: []
77
101
  files:
78
- - .gitignore
79
- - .travis.yml
102
+ - ".gitignore"
103
+ - ".travis.yml"
80
104
  - Gemfile
81
105
  - Gemfile.lock
82
106
  - LICENSE
@@ -100,17 +124,17 @@ require_paths:
100
124
  - lib
101
125
  required_ruby_version: !ruby/object:Gem::Requirement
102
126
  requirements:
103
- - - '>='
127
+ - - ">="
104
128
  - !ruby/object:Gem::Version
105
129
  version: '1.9'
106
130
  required_rubygems_version: !ruby/object:Gem::Requirement
107
131
  requirements:
108
- - - '>='
132
+ - - ">="
109
133
  - !ruby/object:Gem::Version
110
134
  version: '0'
111
135
  requirements: []
112
136
  rubyforge_project:
113
- rubygems_version: 2.1.11
137
+ rubygems_version: 2.2.2
114
138
  signing_key:
115
139
  specification_version: 4
116
140
  summary: A gem for abstracting common addon provider concerns