spring-commands-hutch 0.0.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: 93ee2a5662101ac38ab85a9546217f55fc2d464a
4
+ data.tar.gz: fa28c9d852bf35146a2c7cb7c8f4e262ab35ec84
5
+ SHA512:
6
+ metadata.gz: 1d5f6a5cef1e0185db812badf5b65f672bc84234beeb19ce189eedad38bb2eac526c8e438783c041d05fb32cf712ca25f860fe95d7a68f1f7d4b53378c9577bc
7
+ data.tar.gz: d3d9404e09efd8bfc5ebf2d487fb40a867f6d6ecaeaae8128908929d8e4422d7a2d1ce0a546ec90e221cfc579e0325e09dab686721c29e993e6f09d31d33ac13
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2018 Dayvson Lima
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,15 @@
1
+ # spring-commands-hutch
2
+
3
+ This gem implements the `hutch` command for
4
+ [Spring](https://github.com/rails/spring).
5
+
6
+ ## Usage
7
+
8
+ Add to your Gemfile:
9
+
10
+ ``` ruby
11
+ gem 'spring-commands-hutch', group: :development
12
+ ```
13
+
14
+ If you're using spring binstubs, run `bundle exec spring binstub hutch` to generate `bin/hutch`.
15
+ Then run `spring stop` to pick up the changes.
@@ -0,0 +1,3 @@
1
+ if defined?(Spring.register_command)
2
+ require "spring/commands/hutch"
3
+ end
@@ -0,0 +1,23 @@
1
+ module Spring
2
+ module Commands
3
+ class Hutch
4
+ def env(*)
5
+ "test"
6
+ end
7
+
8
+ def exec_name
9
+ "hutch"
10
+ end
11
+
12
+ def gem_name
13
+ "hutch"
14
+ end
15
+
16
+ def call
17
+ load Gem.bin_path(gem_name, exec_name)
18
+ end
19
+ end
20
+
21
+ Spring.register_command "hutch", Hutch.new
22
+ end
23
+ end
@@ -0,0 +1,23 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "spring-commands-hutch"
7
+ spec.version = "0.0.0"
8
+ spec.authors = ["Dayvson Lima"]
9
+ spec.email = ["dayvsonlima31@gmail.com"]
10
+ spec.description = %q{rspec command for spring}
11
+ spec.summary = %q{rspec command for spring}
12
+ spec.homepage = "https://github.com/dayvsonlima/spring-commands-hutch"
13
+ spec.license = "MIT"
14
+
15
+ spec.files = `git ls-files`.split($/)
16
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
+ spec.require_paths = ["lib"]
19
+
20
+ spec.add_dependency "spring", ">= 0.9.1"
21
+
22
+ spec.add_development_dependency "bundler", "~> 1.3"
23
+ end
metadata ADDED
@@ -0,0 +1,78 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: spring-commands-hutch
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Dayvson Lima
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-04-13 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: 0.9.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 0.9.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ description: rspec command for spring
42
+ email:
43
+ - dayvsonlima31@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - ".gitignore"
49
+ - LICENSE.txt
50
+ - README.md
51
+ - lib/spring-commands-hutch.rb
52
+ - lib/spring/commands/hutch.rb
53
+ - spring-commands-rspec.gemspec
54
+ homepage: https://github.com/dayvsonlima/spring-commands-hutch
55
+ licenses:
56
+ - MIT
57
+ metadata: {}
58
+ post_install_message:
59
+ rdoc_options: []
60
+ require_paths:
61
+ - lib
62
+ required_ruby_version: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
67
+ required_rubygems_version: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: '0'
72
+ requirements: []
73
+ rubyforge_project:
74
+ rubygems_version: 2.6.11
75
+ signing_key:
76
+ specification_version: 4
77
+ summary: rspec command for spring
78
+ test_files: []