rounders 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c8a4563fab09f7971925fac0c6d993f70ac74560
4
- data.tar.gz: 710824c77a1c3e3f7e609cc4f78ee06e0f0ef9e2
3
+ metadata.gz: 126e0a927c3fa14106a6a32c49c144d26ee97f97
4
+ data.tar.gz: b02639af80afccfee88ebaa8ee589c285084efbc
5
5
  SHA512:
6
- metadata.gz: e986890dae73e048058e4c4df4f6389a58fc22b8a3ad3f4a5323ec4171d81f62b94bf176cb146b62b5fd8a8d98018984ab7861c1d2cf0e4d39c49b670d3be1fd
7
- data.tar.gz: 7a14739a63684fe4ca6901c0b426d0261bc77d047926665acb41c5ff4383ea831bfc8b56c305edbde68015ff3829463fb339deec9ac98496a4c04a1c1c379114
6
+ metadata.gz: 9f8856192b7941e1381fea21c7681299372dd9ab28a11a3625818a931e2fdc4bec79aa02b6fbb87188a4c352971dc9616dcd379f5de8c1c97da8daefca08af0b
7
+ data.tar.gz: 9fd50ba93e486fdedd1ed853c4b29c4db24bebdbdf4a8e9ec1e9f6c206f861e4e657ef5a4085a30bbee8156173817e5fba0abc613d51839cb5b016df08abcbc9
@@ -41,7 +41,7 @@ module Rounders
41
41
  end
42
42
 
43
43
  klass.define_singleton_method(:generator_name) do
44
- @generator_name ||= feature_name
44
+ @generator_name ||= feature_name.split('_').first
45
45
  end
46
46
 
47
47
  klass.define_singleton_method(:default_source_root) do
@@ -59,7 +59,7 @@ module Rounders
59
59
  end
60
60
 
61
61
  klass.define_singleton_method(:default_generator_root) do
62
- path = Pathname(__FILE__).dirname.join(generator_name.split('_').first).expand_path
62
+ path = Pathname(__FILE__).dirname.join(generator_name).expand_path
63
63
  path if path.exist?
64
64
  end
65
65
  end
@@ -19,7 +19,7 @@ module Rounders
19
19
  end
20
20
 
21
21
  def directory_name
22
- @directory_name ||= Util.infrect(feature_name).pluralize
22
+ @directory_name ||= Util.infrect(feature_name.split('_').first).pluralize
23
23
  end
24
24
 
25
25
  def load_path
@@ -1,3 +1,3 @@
1
1
  module Rounders
2
- VERSION = '0.5.1'.freeze
2
+ VERSION = '0.5.2'.freeze
3
3
  end
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.5.1
4
+ version: 0.5.2
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-07-07 00:00:00.000000000 Z
11
+ date: 2017-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -324,7 +324,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
324
324
  version: '0'
325
325
  requirements: []
326
326
  rubyforge_project:
327
- rubygems_version: 2.6.11
327
+ rubygems_version: 2.5.1
328
328
  signing_key:
329
329
  specification_version: 4
330
330
  summary: bot-ish pluggable incoming mail processing framework