irt 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/VERSION +1 -1
- data/lib/irt.rb +3 -2
- data/lib/irt/extensions/irb.rb +1 -1
- data/lib/irt/log.rb +1 -1
- metadata +37 -28
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 426daa1908fc2c6ae9a5d4cdf0d11e357a125afd
|
4
|
+
data.tar.gz: 7640ade63ad2aad2d6c1426a70fa428287b974e8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b0faa6fad51684b9568b8ec835e5662b09e388603896e7c551d60ee0be637d96c9073fab6b79dbb98727aef0edbb3d00cc07caba6cdc45af57293ce93fff13ef
|
7
|
+
data.tar.gz: 0ac4d98af19275bf953302a3371afa863c6e9ab5b6d02370ec860f4748bb4d2fb96162e4122234672f49b1fc8aad197787e6e43010ce53793fd500c7bf755b3b
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.3.
|
1
|
+
1.3.3
|
data/lib/irt.rb
CHANGED
@@ -1,5 +1,6 @@
|
|
1
|
-
# allows
|
2
|
-
|
1
|
+
# allows to skip irb overriding, so you can use the regular irb/rails console
|
2
|
+
# even if irt is required in the Gemfile
|
3
|
+
if ENV['IRT_COMMAND']
|
3
4
|
|
4
5
|
at_exit{ Dye.print_reset_colors }
|
5
6
|
|
data/lib/irt/extensions/irb.rb
CHANGED
@@ -36,7 +36,7 @@ module IRB #:nodoc:
|
|
36
36
|
if !!ENV['IRT_INTERACTIVE_EOF']
|
37
37
|
@CONF[:AT_EXIT] << proc{ IRT::Directives.test_summary }
|
38
38
|
@CONF[:AT_EXIT] << proc{ IRT::History.save_history }
|
39
|
-
@CONF[:RC_NAME_GENERATOR] = proc {|rc| File.expand_path
|
39
|
+
@CONF[:RC_NAME_GENERATOR] = proc {|rc| ENV["IRTRC_PATH"] || File.expand_path('~/.irtrc') }
|
40
40
|
end
|
41
41
|
|
42
42
|
def IRB.parse_opts
|
data/lib/irt/log.rb
CHANGED
@@ -91,7 +91,7 @@ module IRT
|
|
91
91
|
def print_header(tail_str='')
|
92
92
|
puts
|
93
93
|
log_head = "Virtual Log#{' '+ tail_str unless tail_str.empty?}"
|
94
|
-
puts IRT.dye(" #{log_head} ",
|
94
|
+
puts IRT.dye(" #{log_head} ", "***** #{log_head} *****", :log_color, :bold, :reversed)
|
95
95
|
end
|
96
96
|
|
97
97
|
def status_segment(name, mode)
|
metadata
CHANGED
@@ -1,46 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: irt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
5
|
-
prerelease:
|
4
|
+
version: 1.3.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Domizio Demichelis
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2015-09-24 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: differ
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 0.1.1
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 0.1.1
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: prompter
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 0.1.5
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 0.1.5
|
46
41
|
description: If you use IRT in place of irb or Rails Console, you will have more tools
|
@@ -54,7 +49,7 @@ extensions: []
|
|
54
49
|
extra_rdoc_files:
|
55
50
|
- README.markdown
|
56
51
|
files:
|
57
|
-
- .gitignore
|
52
|
+
- ".gitignore"
|
58
53
|
- LICENSE
|
59
54
|
- README.markdown
|
60
55
|
- VERSION
|
@@ -95,36 +90,50 @@ files:
|
|
95
90
|
- lib/irt/utils.rb
|
96
91
|
homepage: http://github.com/ddnexus/irt
|
97
92
|
licenses: []
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
93
|
+
metadata: {}
|
94
|
+
post_install_message: |+
|
95
|
+
________________________________________________________________________________
|
96
|
+
|
97
|
+
IRT IMPORTANT NOTES
|
98
|
+
________________________________________________________________________________
|
99
|
+
|
100
|
+
1. If you notice a messed prompt while navigating the history, you must
|
101
|
+
enable the 'fix_readline_prompt' option in the ~/.irtrc file:
|
102
|
+
|
103
|
+
IRT.fix_readline_prompt = true
|
104
|
+
|
105
|
+
(see the README file for details)
|
106
|
+
|
107
|
+
________________________________________________________________________________
|
108
|
+
|
109
|
+
2. In order to use the IRT contextual ri command, on ruby < 1.9.3,
|
110
|
+
one of the following gems must be installed:
|
111
|
+
|
112
|
+
"bri" if you run ruby >= 1.9.2
|
113
|
+
"fastri" if you run ruby < 1.9.2
|
114
|
+
|
115
|
+
(no extra installation needed if you use ruby >= 1.9.3)
|
116
|
+
________________________________________________________________________________
|
117
|
+
|
107
118
|
rdoc_options:
|
108
|
-
- --charset=UTF-8
|
119
|
+
- "--charset=UTF-8"
|
109
120
|
require_paths:
|
110
121
|
- lib
|
111
122
|
required_ruby_version: !ruby/object:Gem::Requirement
|
112
|
-
none: false
|
113
123
|
requirements:
|
114
|
-
- -
|
124
|
+
- - ">="
|
115
125
|
- !ruby/object:Gem::Version
|
116
126
|
version: '0'
|
117
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
|
-
none: false
|
119
128
|
requirements:
|
120
|
-
- -
|
129
|
+
- - ">="
|
121
130
|
- !ruby/object:Gem::Version
|
122
131
|
version: 1.3.6
|
123
132
|
requirements: []
|
124
133
|
rubyforge_project:
|
125
|
-
rubygems_version:
|
134
|
+
rubygems_version: 2.4.5.1
|
126
135
|
signing_key:
|
127
|
-
specification_version:
|
136
|
+
specification_version: 4
|
128
137
|
summary: Interactive Ruby Tools - Very improved irb and Rails Console with a lot of
|
129
138
|
cool features.
|
130
139
|
test_files: []
|