rib 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.md +7 -0
- data/lib/rib/app/rails.rb +7 -2
- data/lib/rib/extra/autoindent.rb +1 -1
- data/lib/rib/version.rb +1 -1
- data/rib.gemspec +3 -3
- metadata +3 -3
data/CHANGES.md
CHANGED
data/lib/rib/app/rails.rb
CHANGED
@@ -93,10 +93,15 @@ module Rib::Rails
|
|
93
93
|
end
|
94
94
|
|
95
95
|
if options[:sandbox]
|
96
|
-
puts "Loading #{Rails.env} environment in sandbox (Rails #{Rails.version})"
|
96
|
+
puts "Loading #{::Rails.env} environment in sandbox (Rails #{::Rails.version})"
|
97
97
|
puts "Any modifications you make will be rolled back on exit"
|
98
98
|
else
|
99
|
-
puts "Loading #{Rails.env} environment (Rails #{Rails.version})"
|
99
|
+
puts "Loading #{::Rails.env} environment (Rails #{::Rails.version})"
|
100
|
+
end
|
101
|
+
|
102
|
+
# rails 3.2
|
103
|
+
if ::Rails.const_defined?(:ConsoleMethods)
|
104
|
+
Object.send(:include, ::Rails::ConsoleMethods)
|
100
105
|
end
|
101
106
|
end
|
102
107
|
|
data/lib/rib/extra/autoindent.rb
CHANGED
data/lib/rib/version.rb
CHANGED
data/rib.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "rib"
|
5
|
-
s.version = "1.0.
|
5
|
+
s.version = "1.0.3"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Lin Jen-Shin (godfat)"]
|
9
|
-
s.date = "
|
9
|
+
s.date = "2012-01-21"
|
10
10
|
s.description = "Ruby-Interactive-ruBy -- Yet another interactive Ruby shell\n\nRib is based on the design of [ripl][] and the work of [ripl-rc][], some of\nthe features are also inspired by [pry][]. The aim of Rib is to be fully\nfeatured and yet very easy to opt-out or opt-in other features. It shall\nbe simple, lightweight and modular so that everyone could customize Rib.\n\n[ripl]: https://github.com/cldwalker/ripl\n[ripl-rc]: https://github.com/godfat/ripl-rc\n[pry]: https://github.com/pry/pry"
|
11
11
|
s.email = ["godfat (XD) godfat.org"]
|
12
12
|
s.executables = [
|
@@ -80,7 +80,7 @@ Gem::Specification.new do |s|
|
|
80
80
|
"test/test_shell.rb"]
|
81
81
|
s.homepage = "https://github.com/godfat/rib"
|
82
82
|
s.require_paths = ["lib"]
|
83
|
-
s.rubygems_version = "1.8.
|
83
|
+
s.rubygems_version = "1.8.15"
|
84
84
|
s.summary = "Ruby-Interactive-ruBy -- Yet another interactive Ruby shell"
|
85
85
|
s.test_files = [
|
86
86
|
"test/core/test_completion.rb",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-01-21 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: ! 'Ruby-Interactive-ruBy -- Yet another interactive Ruby shell
|
15
15
|
|
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
121
|
version: '0'
|
122
122
|
requirements: []
|
123
123
|
rubyforge_project:
|
124
|
-
rubygems_version: 1.8.
|
124
|
+
rubygems_version: 1.8.15
|
125
125
|
signing_key:
|
126
126
|
specification_version: 3
|
127
127
|
summary: Ruby-Interactive-ruBy -- Yet another interactive Ruby shell
|