spinels-racksh 1.0.1 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{CHANGELOG.txt → CHANGELOG.md} +14 -10
- data/bin/spinels-racksh +25 -0
- data/lib/racksh/version.rb +1 -1
- metadata +10 -9
- /data/{README.markdown → README.md} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74ebb3123dc3ef58616dc81a7d3dbc3a5b7ebd64dad2bd917cc673d6778e870c
|
4
|
+
data.tar.gz: b69f2bb9aff666d1b214e3297c0abf2e43aefccd0ef99af668afe7432778775b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 026e27e6c1f6c6f5623f9c235adbca00ec016a8b0c22dd0f8831f09079c0dc2fd374fc593c053cc1d003c43d77ef5b934864b72a6212f96367fd99809c2937f4
|
7
|
+
data.tar.gz: 3b241cd15d429062b4f5826ed09fbbc3b2b9bb19f3605bfb660848cc88f52d427caaf125a99f63ab77fd8a188ecb48a4a9836ea629d9a6559e496dd5e1e8cffa
|
@@ -1,19 +1,23 @@
|
|
1
|
-
|
1
|
+
## 1.0.3 / 2024-02-11
|
2
|
+
|
3
|
+
* added `bin/spinels-racksh` (for `bundle exec spinels-racksh`)
|
4
|
+
|
5
|
+
## 1.0.1 / 2023-03-11
|
2
6
|
|
3
7
|
* use File.exist? because Ruby 3.2 does not have File.exists?
|
4
8
|
|
5
|
-
|
9
|
+
## 0.9.8 / 2010-09-03
|
6
10
|
|
7
11
|
* added option to load racksh into existing irb session
|
8
12
|
|
9
|
-
|
10
|
-
|
13
|
+
## 0.9.7 / ?
|
14
|
+
## 0.9.6 / ?
|
11
15
|
|
12
|
-
|
16
|
+
## 0.9.5 / 2010-01-31
|
13
17
|
|
14
18
|
* added application reloading with "reload!"
|
15
19
|
|
16
|
-
|
20
|
+
## 0.9.4 / 2009-11-19
|
17
21
|
|
18
22
|
* added loading irb/completion
|
19
23
|
* added support for session setup, loaded from .rackshrc in user's home directory and app's directory
|
@@ -21,18 +25,18 @@
|
|
21
25
|
* added showing simple prompt (>>) like Rails console
|
22
26
|
* added printing startup info in colors
|
23
27
|
|
24
|
-
|
28
|
+
## 0.9.3 / 2009-11-17
|
25
29
|
|
26
30
|
* exposed Rack::Test::Methods via $rack variable
|
27
31
|
|
28
|
-
|
32
|
+
## 0.9.2 / 2009-11-15
|
29
33
|
|
30
34
|
* irb require uses absolute path (for users without rubygems required in their .irbrc)
|
31
35
|
|
32
|
-
|
36
|
+
## 0.9.1 / 2009-11-15
|
33
37
|
|
34
38
|
* added showing name of loaded rack env
|
35
39
|
|
36
|
-
|
40
|
+
## 0.9 / 2009-11-15
|
37
41
|
|
38
42
|
* initial release
|
data/bin/spinels-racksh
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require File.expand_path(File.join(File.dirname(__FILE__), "..", "lib", "racksh", "init.rb"))
|
4
|
+
|
5
|
+
# prevent STDOUT & STDERR to be reopened (apps do this to be able to log under Passenger)
|
6
|
+
def STDOUT.reopen(*args); end
|
7
|
+
def STDERR.reopen(*args); end
|
8
|
+
|
9
|
+
if ARGV.empty?
|
10
|
+
begin
|
11
|
+
require "pry"
|
12
|
+
Interpreter = Pry
|
13
|
+
rescue LoadError
|
14
|
+
require "irb"
|
15
|
+
require "irb/completion"
|
16
|
+
Interpreter = IRB
|
17
|
+
end
|
18
|
+
|
19
|
+
Rack::Shell.init
|
20
|
+
ARGV.concat(['--prompt', 'simple']) unless ARGV.include?('--prompt')
|
21
|
+
Interpreter.start
|
22
|
+
else
|
23
|
+
Rack::Shell.init
|
24
|
+
p eval(ARGV.join(" "))
|
25
|
+
end
|
data/lib/racksh/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spinels-racksh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcin Kulik
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -38,16 +38,17 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0.5'
|
41
|
-
description:
|
41
|
+
description:
|
42
42
|
email: marcin.kulik@gmail.com
|
43
43
|
executables:
|
44
44
|
- racksh
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
- CHANGELOG.
|
49
|
-
- README.
|
48
|
+
- CHANGELOG.md
|
49
|
+
- README.md
|
50
50
|
- bin/racksh
|
51
|
+
- bin/spinels-racksh
|
51
52
|
- lib/racksh/init.rb
|
52
53
|
- lib/racksh/irb.rb
|
53
54
|
- lib/racksh/session.rb
|
@@ -56,7 +57,7 @@ homepage: http://github.com/spinels/racksh
|
|
56
57
|
licenses:
|
57
58
|
- MIT
|
58
59
|
metadata: {}
|
59
|
-
post_install_message:
|
60
|
+
post_install_message:
|
60
61
|
rdoc_options: []
|
61
62
|
require_paths:
|
62
63
|
- lib
|
@@ -71,8 +72,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
72
|
- !ruby/object:Gem::Version
|
72
73
|
version: '0'
|
73
74
|
requirements: []
|
74
|
-
rubygems_version: 3.
|
75
|
-
signing_key:
|
75
|
+
rubygems_version: 3.5.3
|
76
|
+
signing_key:
|
76
77
|
specification_version: 4
|
77
78
|
summary: Console for any Rack based ruby web app
|
78
79
|
test_files: []
|
File without changes
|