rounders 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rounders/commander.rb +4 -8
- data/lib/rounders/generators/app/templates/config/initializers/mail.rb +1 -1
- data/lib/rounders/generators/plugin/templates/app/handlers/.gitkeep +0 -0
- data/lib/rounders/generators/plugin/templates/app/matchers/.gitkeep +0 -0
- data/lib/rounders/generators/plugin/templates/app/receivers/.gitkeep +0 -0
- data/lib/rounders/generators/plugin/templates/rounders-%underscored_name%.gemspec.tt +8 -7
- data/lib/rounders/version.rb +1 -1
- data/lib/rounders.rb +4 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42fa79677777999684d598aa27a200436b0571be
|
4
|
+
data.tar.gz: 40d1025179301e6accccfccf6e8dae44a22e87c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3b19252f85595252b92f269f1a1f893c25ece421f40df687ac419a6160c6da723fcd77e0260e43622bd516a3aecc11ce680a503ff6c85c9fad0a900cf494f1e
|
7
|
+
data.tar.gz: fd2fe5655c62399ae4de7eae6dfd2797da1ebe5cf88c0986f2691f3ce21cf564ab13243ef5c13bb47a6147e408edfd3b491cdb36cfe35b278d10150856586deb
|
data/lib/rounders/commander.rb
CHANGED
@@ -4,18 +4,14 @@ module Rounders
|
|
4
4
|
class Commander
|
5
5
|
class << self
|
6
6
|
def start(argv = ARGV)
|
7
|
-
if
|
8
|
-
require 'rounders/commands/local_command'
|
9
|
-
Commands::LocalCommand.start(argv)
|
10
|
-
else
|
7
|
+
if Rounders.global?
|
11
8
|
require 'rounders/commands/global_command'
|
12
9
|
Commands::GlobalCommand.start(argv)
|
10
|
+
else
|
11
|
+
require 'rounders/commands/local_command'
|
12
|
+
Commands::LocalCommand.start(argv)
|
13
13
|
end
|
14
14
|
end
|
15
|
-
|
16
|
-
def app?
|
17
|
-
Pathname(Rounders::CONFIG_DIR_PATH).exist?
|
18
|
-
end
|
19
15
|
end
|
20
16
|
end
|
21
17
|
end
|
File without changes
|
File without changes
|
File without changes
|
@@ -5,16 +5,17 @@ require 'rounders/<%= underscored_name %>/version'
|
|
5
5
|
|
6
6
|
# Describe your gem and declare its dependencies:
|
7
7
|
Gem::Specification.new do |s|
|
8
|
-
s.name =
|
8
|
+
s.name = 'rounders-<%= underscored_name %>'
|
9
9
|
s.version = Rounders::<%= class_name %>::VERSION
|
10
|
-
s.authors = [
|
11
|
-
s.email = [
|
12
|
-
s.homepage =
|
13
|
-
s.summary =
|
14
|
-
s.description =
|
15
|
-
s.license =
|
10
|
+
s.authors = ['TODO: Your name']
|
11
|
+
s.email = ['TODO: Your email']
|
12
|
+
s.homepage = 'TODO'
|
13
|
+
s.summary = 'TODO: Summary of Rounders::<%= class_name %>.'
|
14
|
+
s.description = 'TODO: Description of Rounders::<%= class_name %>.'
|
15
|
+
s.license = 'MIT'
|
16
16
|
s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
17
|
s.test_files = Dir["spec/**/*"]
|
18
|
+
s.require_paths = ['app','lib']
|
18
19
|
s.add_dependency 'rounders', '~> <%= Rounders::VERSION %>'
|
19
20
|
s.add_development_dependency 'bundler'
|
20
21
|
s.add_development_dependency 'rake'
|
data/lib/rounders/version.rb
CHANGED
data/lib/rounders.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rounders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- akira.takahashi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -273,6 +273,9 @@ files:
|
|
273
273
|
- lib/rounders/generators/plugin/templates/MIT-LICENSE
|
274
274
|
- lib/rounders/generators/plugin/templates/README.md.tt
|
275
275
|
- lib/rounders/generators/plugin/templates/Rakefile
|
276
|
+
- lib/rounders/generators/plugin/templates/app/handlers/.gitkeep
|
277
|
+
- lib/rounders/generators/plugin/templates/app/matchers/.gitkeep
|
278
|
+
- lib/rounders/generators/plugin/templates/app/receivers/.gitkeep
|
276
279
|
- lib/rounders/generators/plugin/templates/gitignore
|
277
280
|
- lib/rounders/generators/plugin/templates/lib/rounders/%underscored_name%.rb.tt
|
278
281
|
- lib/rounders/generators/plugin/templates/lib/rounders/%underscored_name%/version.rb.tt
|