gorp 0.19.1 → 0.19.2

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/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.1"
5
+ s.version = "0.19.2"
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).to_s.first)
16
+ elsif File.directory?(ARGV.first.to_s.split(File::PATH_SEPARATOR).first.to_s)
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 = 1
5
+ TINY = 2
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.1
4
+ version: 0.19.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Ruby