em-console 1.0.0
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/.gitignore +4 -0
- data/Gemfile +4 -0
- data/README.md +21 -0
- data/Rakefile +1 -0
- data/bin/em-console +13 -0
- data/em-console.gemspec +22 -0
- metadata +66 -0
data/.gitignore
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# em-console
|
2
|
+
|
3
|
+
em-console is an irb-like console running inside an EM.synchrony block, thereby allowing you to use
|
4
|
+
methods that require running within an EM block to work.
|
5
|
+
|
6
|
+
## Usage
|
7
|
+
|
8
|
+
`em-console`
|
9
|
+
|
10
|
+
Or, in an environment controlled by bundler:
|
11
|
+
|
12
|
+
`bundle exec em-console`
|
13
|
+
|
14
|
+
## .rc-file
|
15
|
+
|
16
|
+
em-console will `load ".em-console.rc"` upon startup if that file exists.
|
17
|
+
|
18
|
+
## History
|
19
|
+
|
20
|
+
em-console will save its `Readline::HISTORY` into `.em-console-history` upon termination, and restore it
|
21
|
+
from the same file upon startup if that file exists.
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/bin/em-console
ADDED
data/em-console.gemspec
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
Gem::Specification.new do |s|
|
4
|
+
s.name = "em-console"
|
5
|
+
s.version = "1.0.0"
|
6
|
+
s.authors = ["Niklas Holmgren", "Martin Bruse"]
|
7
|
+
s.email = ["niklas@sutajio.se", "zondolfin at gmail dot com"]
|
8
|
+
s.homepage = "http://github.com/ProjectDaisy/em-console"
|
9
|
+
s.summary = %q{An EventMachine enabled IRB console.}
|
10
|
+
s.description = %q{A simple console running an irb-like environment in an EventMachine-friendly way.}
|
11
|
+
|
12
|
+
s.rubyforge_project = "em-console"
|
13
|
+
|
14
|
+
s.files = `git ls-files`.split("\n")
|
15
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
16
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
17
|
+
s.require_paths = ["lib"]
|
18
|
+
|
19
|
+
s.has_rdoc = false
|
20
|
+
|
21
|
+
s.add_dependency('em-synchrony')
|
22
|
+
end
|
metadata
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: em-console
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Niklas Holmgren
|
9
|
+
- Martin Bruse
|
10
|
+
autorequire:
|
11
|
+
bindir: bin
|
12
|
+
cert_chain: []
|
13
|
+
date: 2012-03-08 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: em-synchrony
|
17
|
+
requirement: &70122148740400 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: *70122148740400
|
26
|
+
description: A simple console running an irb-like environment in an EventMachine-friendly
|
27
|
+
way.
|
28
|
+
email:
|
29
|
+
- niklas@sutajio.se
|
30
|
+
- zondolfin at gmail dot com
|
31
|
+
executables:
|
32
|
+
- em-console
|
33
|
+
extensions: []
|
34
|
+
extra_rdoc_files: []
|
35
|
+
files:
|
36
|
+
- .gitignore
|
37
|
+
- Gemfile
|
38
|
+
- README.md
|
39
|
+
- Rakefile
|
40
|
+
- bin/em-console
|
41
|
+
- em-console.gemspec
|
42
|
+
homepage: http://github.com/ProjectDaisy/em-console
|
43
|
+
licenses: []
|
44
|
+
post_install_message:
|
45
|
+
rdoc_options: []
|
46
|
+
require_paths:
|
47
|
+
- lib
|
48
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
56
|
+
requirements:
|
57
|
+
- - ! '>='
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '0'
|
60
|
+
requirements: []
|
61
|
+
rubyforge_project: em-console
|
62
|
+
rubygems_version: 1.8.17
|
63
|
+
signing_key:
|
64
|
+
specification_version: 3
|
65
|
+
summary: An EventMachine enabled IRB console.
|
66
|
+
test_files: []
|