spring-commands-rackup 0.1.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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1952543d3add71ab4f5416cd8b3723f1f05db17d
4
+ data.tar.gz: c30cb61aebd489f759492df450f67dc9b4eef72f
5
+ SHA512:
6
+ metadata.gz: 365b063c43faf21e52322cfafa0dab9ed9c1663b6af18ba2e3b68c88bb4837a817a6740c33cb5890010687fa93e387cdd0829fcca31bfb27a277a321226c007a
7
+ data.tar.gz: 541aa5345689627a77527e8e968caaec4907ca6190e634fe8112ab1dbc54037e4ffe5b603d144d728f5873b19f3c9fbdf78d1809afff3d5287a8774a68e3d7aa
@@ -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,18 @@
1
+ # spring-commands-rackup
2
+
3
+ Implements `rackup` command for [Spring](https://github.com/rails/spring).
4
+
5
+ ## Usage
6
+
7
+ Add to your Gemfile:
8
+
9
+ ``` ruby
10
+ gem 'spring-commands-rackup', group: :development
11
+ ```
12
+
13
+ If you use spring binstubs, run `bundle exec spring binstub rackup` to generate `bin/rackup`.
14
+ Then run `spring stop` to pick up the changes.
15
+
16
+ ## Copyright
17
+
18
+ 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/rackup" if defined? Spring.register_command
@@ -0,0 +1,15 @@
1
+ module Spring
2
+ module Commands
3
+ class Rackup
4
+ def env(*)
5
+ 'development'
6
+ end
7
+
8
+ def exec_name
9
+ 'rackup'
10
+ end
11
+ end
12
+
13
+ Spring.register_command 'rackup', Rackup.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-rackup'
6
+ spec.version = '0.1.0'
7
+ spec.author = 'Moritz Winter'
8
+ spec.email = 'mw@wintersolutions.de'
9
+ spec.description = 'Rackup command for Spring'
10
+ spec.summary = 'Rackup command for Spring'
11
+ spec.homepage = 'https://github.com/wintersolutions/spring-commands-rackup'
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-rackup
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: Rackup 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-rackup.rb
59
+ - lib/spring/commands/rackup.rb
60
+ - spring-commands-rackup.gemspec
61
+ homepage: https://github.com/wintersolutions/spring-commands-rackup
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: Rackup command for Spring
85
+ test_files: []