spring-commands-rack-console 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 43be8205fcbcb34e4585d773b5a31063b4c164b3
4
+ data.tar.gz: e7ef0c2a48254260f948060a7b572f918c7faf3b
5
+ SHA512:
6
+ metadata.gz: 59e58ab0f52a31a047124995bc0cb912c46369cbcad2092b9e3f38a5e3ab9dbb937a279c3aa5913cd3d519153f32a3d12e9753eaa1ad67af54e24c41b217e0d5
7
+ data.tar.gz: c68433e5f5d4e459b64a930f93376738d40798fe05e94c34408143eb4703361c0dd4edbf399b130a09090df6d7454ef183f06060f90bb0e24ccf5065fbc08938
@@ -0,0 +1,5 @@
1
+ pkg/
2
+ tmp/
3
+ .bundle/
4
+ vendor/bundle/
5
+ Gemfile.lock
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'http://rubygems.org'
2
+
3
+ gemspec
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2018 Moritz Winter
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,20 @@
1
+ # spring-commands-rack-console
2
+
3
+ Implements `rack-console` command for [Spring](https://github.com/rails/spring).
4
+
5
+ See [rack-console](https://github.com/davidcelis/rack-console) gem.
6
+
7
+ ## Usage
8
+
9
+ Add to your Gemfile:
10
+
11
+ ``` ruby
12
+ gem 'spring-commands-rack-console', group: :development
13
+ ```
14
+
15
+ If you use spring binstubs, run `bundle exec spring binstub rack-console` to generate `bin/rack-console`.
16
+ Then run `spring stop` to pick up the changes.
17
+
18
+ ## Copyright
19
+
20
+ Copyright (c) 2018 Moritz Winter. See LICENSE.txt for details.
@@ -0,0 +1 @@
1
+ require 'bundler/gem_tasks'
@@ -0,0 +1 @@
1
+ require 'spring/commands/rack_console' if defined? Spring.register_command
@@ -0,0 +1,15 @@
1
+ module Spring
2
+ module Commands
3
+ class RackConsole
4
+ def env(*)
5
+ 'development'
6
+ end
7
+
8
+ def exec_name
9
+ 'rack-console'
10
+ end
11
+ end
12
+
13
+ Spring.register_command 'rack-console', RackConsole.new
14
+ end
15
+ end
@@ -0,0 +1,21 @@
1
+ lib = File.expand_path '../lib', __FILE__
2
+ $LOAD_PATH.unshift lib unless $LOAD_PATH.include? lib
3
+
4
+ Gem::Specification.new do |spec|
5
+ spec.name = 'spring-commands-rack-console'
6
+ spec.version = '0.1.0'
7
+ spec.author = 'Moritz Winter'
8
+ spec.email = 'mw@wintersolutions.de'
9
+ spec.description = 'rack-console command for Spring'
10
+ spec.summary = 'rack-console command for Spring'
11
+ spec.homepage = 'https://github.com/wintersolutions/spring-commands-rack-console'
12
+ spec.license = 'MIT'
13
+
14
+ spec.files = `git ls-files`.split($/)
15
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename f }
16
+ spec.test_files = spec.files.grep %r{^(test|spec|features)/}
17
+ spec.require_paths = ['lib']
18
+
19
+ spec.add_dependency 'spring', '>= 1.0', '< 3.0'
20
+ spec.add_development_dependency 'rake'
21
+ end
metadata ADDED
@@ -0,0 +1,85 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: spring-commands-rack-console
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Moritz Winter
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-02-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: spring
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '3.0'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '1.0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '3.0'
33
+ - !ruby/object:Gem::Dependency
34
+ name: rake
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ description: rack-console command for Spring
48
+ email: mw@wintersolutions.de
49
+ executables: []
50
+ extensions: []
51
+ extra_rdoc_files: []
52
+ files:
53
+ - ".gitignore"
54
+ - Gemfile
55
+ - LICENSE.txt
56
+ - README.md
57
+ - Rakefile
58
+ - lib/spring-commands-rack-console.rb
59
+ - lib/spring/commands/rack_console.rb
60
+ - spring-commands-rack-console.gemspec
61
+ homepage: https://github.com/wintersolutions/spring-commands-rack-console
62
+ licenses:
63
+ - MIT
64
+ metadata: {}
65
+ post_install_message:
66
+ rdoc_options: []
67
+ require_paths:
68
+ - lib
69
+ required_ruby_version: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
74
+ required_rubygems_version: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
79
+ requirements: []
80
+ rubyforge_project:
81
+ rubygems_version: 2.5.1
82
+ signing_key:
83
+ specification_version: 4
84
+ summary: rack-console command for Spring
85
+ test_files: []