ruby_version_reader 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/Gemfile.lock +1 -1
- data/lib/ruby_version_reader.rb +3 -5
- data/pkg/ruby_version_reader-0.1.0.gem +0 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d962c9bfaa8c115d227f0b95afebb42a20158617
|
4
|
+
data.tar.gz: b91168fa501edb7eed78c9bdb698c98c903bf7ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 440dd0f58f8a64c5cd702664e93a05acedcf5f3a8b1ae64fdb178952c3922abb31843fa6908d3f1be20d6d4f51c79050e7a8d14dbbfdcc5e8b757f40dd7c0ceb
|
7
|
+
data.tar.gz: 937e6f94c332a8eb575c9da2261c2468914b680a115dfc00c07d90cefb3782b2cae21905d642875de8ebc71211bc8187dbe73b45697b24a598aaa87af2e3d778
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.1.1 - 2014-12-03
|
4
|
+
### Added
|
5
|
+
- Ability to initialize a RubyVersionReader with no arguments (like the README says you can)
|
6
|
+
|
7
|
+
### Deprecated, Removed
|
8
|
+
- Nothing
|
9
|
+
|
10
|
+
### Fixed
|
11
|
+
- Fixed `#environment_manager_load_string` for RVM
|
12
|
+
|
3
13
|
## 0.1.0 - 2014-12-03
|
4
14
|
### Added
|
5
15
|
- Initial Release with tested rvm support
|
data/Gemfile.lock
CHANGED
data/lib/ruby_version_reader.rb
CHANGED
@@ -2,14 +2,12 @@ require 'date'
|
|
2
2
|
require 'time'
|
3
3
|
|
4
4
|
class RubyVersionReader
|
5
|
-
VERSION = '0.1.
|
5
|
+
VERSION = '0.1.1'
|
6
6
|
|
7
7
|
attr_accessor :path, :environment_manager
|
8
8
|
|
9
|
-
def initialize(given_path, given_environment_manager = 'rvm')
|
10
|
-
given_path = './' if given_path.empty?
|
9
|
+
def initialize(given_path = './', given_environment_manager = 'rvm')
|
11
10
|
@path = File.expand_path(given_path)
|
12
|
-
|
13
11
|
@environment_manager = given_environment_manager
|
14
12
|
end
|
15
13
|
|
@@ -30,7 +28,7 @@ class RubyVersionReader
|
|
30
28
|
def environment_manager_load_string
|
31
29
|
case environment_manager
|
32
30
|
when 'rvm'
|
33
|
-
"rvm
|
31
|
+
"rvm #{to_s} do"
|
34
32
|
when 'rbenv'
|
35
33
|
"RBENV_VERSION=#{to_s}"
|
36
34
|
when 'chruby'
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_version_reader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcos Wright-Kuhns
|
@@ -97,6 +97,7 @@ files:
|
|
97
97
|
- README.rdoc
|
98
98
|
- Rakefile
|
99
99
|
- lib/ruby_version_reader.rb
|
100
|
+
- pkg/ruby_version_reader-0.1.0.gem
|
100
101
|
- ruby_version_reader.gemspec
|
101
102
|
- spec/ruby_version_reader_spec.rb
|
102
103
|
- spec/spec_helper.rb
|