cant_cant_cant 0.1.0 → 0.1.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a444a3ec5b00cf225f6af59760d9d263122b1114
4
- data.tar.gz: 12325af0887c6d17735fc232a183530bf0dc3b2f
3
+ metadata.gz: b13016065cc19540042186a8222059d687e8e2d9
4
+ data.tar.gz: e2075963089b1d20b0d8343121c9cb67f075d73e
5
5
  SHA512:
6
- metadata.gz: 782820cfc64752416cc5f4ff36a37a45465c0eacff61f120bcd1abefb73ccf97039d3c2fbaafe608cd0032ea0590ef77d0c11f10e85fc46bd99b86192ecb343f
7
- data.tar.gz: ffab247b6a21bd60d729cf4fc6176de998b1d155613b77a03a3f7b08217ae479ba1f0ae0298436c6e84b26ec0ade132a5d5b4d844cd9394637154602fa7fa6be
6
+ metadata.gz: e33bdbbbdbea94164a4b13c67766c0c0c4c07f39305c5ba44125b9cee336e7ca6cb7abbbe911cfeee1084f81ee8b2f6d298ca6d44fd4bfa3d2b51ce8b81b5dce
7
+ data.tar.gz: 3c795eb5ff9325ba472c3e53ef4f6a5e71229815f7481f3c983b09b9ae6fc7842d5d02bac62a9dcbcc6b13d19150f41700e6f0f96e23ac0f5fecf23ff87e2f1c
@@ -17,7 +17,8 @@ module CantCantCant::Generators
17
17
  private
18
18
 
19
19
  def user_params
20
- routes = Rails.application.routes.routes.to_a.reject(&:internal)
20
+ routes = Rails.application.routes.routes.to_a
21
+ routes.reject! {|x| x.defaults[:internal] }
21
22
  routes.map(&:defaults).reject(&:empty?).uniq
22
23
  end
23
24
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cant_cant_cant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shou Ya
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 5.0.0
19
+ version: 4.2.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 5.0.0
26
+ version: 4.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sqlite3
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -63,11 +63,10 @@ files:
63
63
  - README.md
64
64
  - Rakefile
65
65
  - lib/cant_cant_cant.rb
66
- - lib/cant_cant_cant/version.rb
67
66
  - lib/generators/cant_cant_cant/install/install_generator.rb
68
67
  - lib/generators/cant_cant_cant/install/templates/config.yml
69
68
  - lib/generators/cant_cant_cant/install/templates/initializer.rb
70
- homepage: https://github.com/shouya/cantcantcant
69
+ homepage: https://github.com/shouya/cant_cant_cant
71
70
  licenses:
72
71
  - MIT
73
72
  metadata: {}
@@ -1,3 +0,0 @@
1
- module CantCantCant
2
- VERSION = '0.1.0'
3
- end