gorp 0.19.0 → 0.19.1

Sign up to get free protection for your applications and to get access to all the features.
data/gorp.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{gorp}
5
- s.version = "0.19.0"
5
+ s.version = "0.19.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Sam Ruby"]
data/lib/gorp/rails.rb CHANGED
@@ -13,7 +13,7 @@ end
13
13
  # select a version of Rails
14
14
  if ARGV.first =~ /^_\d[.\d]*_$/
15
15
  $rails = "rails #{ARGV.first}"
16
- elsif File.directory?(ARGV.first.split(File::PATH_SEPARATOR).first)
16
+ elsif File.directory?(ARGV.first.split(File::PATH_SEPARATOR).to_s.first)
17
17
  if ARGV.first.include?(File::PATH_SEPARATOR)
18
18
  # first path is Rails, additional paths are added to the RUBYLIBS
19
19
  libs = ENV['RUBYLIBS'].to_s.split(File::PATH_SEPARATOR)
data/lib/version.rb CHANGED
@@ -2,7 +2,7 @@ module Gorp
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 19
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gorp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Ruby