yieldmanager 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/yieldmanager/client.rb +3 -2
- data/yieldmanager.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.8.
|
|
1
|
+
0.8.1
|
data/lib/yieldmanager/client.rb
CHANGED
|
@@ -172,10 +172,11 @@ module Yieldmanager
|
|
|
172
172
|
|
|
173
173
|
def self.api_version
|
|
174
174
|
version_file = "API_VERSION"
|
|
175
|
-
|
|
175
|
+
path = File.join(File.dirname(__FILE__), '..', '..', version_file)
|
|
176
|
+
unless File.exists?(path)
|
|
176
177
|
fail "Put the API version in a file called #{version_file}"
|
|
177
178
|
end
|
|
178
|
-
File.open(
|
|
179
|
+
File.open(path){ |f| f.readline.chomp }
|
|
179
180
|
end
|
|
180
181
|
|
|
181
182
|
private
|
data/yieldmanager.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: yieldmanager
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 61
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 8
|
|
9
|
-
-
|
|
10
|
-
version: 0.8.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.8.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Bill Gathen
|