material_raingular 0.2.1 → 0.2.2

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: cb0a77791416d98f7f37c555f1c6f7bf6f92c70c
4
- data.tar.gz: 8f234f2de2bc17390e8c9664b46cb54f214b5b3a
3
+ metadata.gz: 7feb8b03cb4dd54ce06feb7ca353f6335a232e44
4
+ data.tar.gz: e6023dba950becffbf1262d35ce2e361f5e4c62f
5
5
  SHA512:
6
- metadata.gz: 60e710430ca763326bd0676e4db59bea7da703fb79dc3d90ad29da58970fa020432c519253852311681bec9b6058d6ceb3db588181377ee4aec0f28a36b94d20
7
- data.tar.gz: 0b970ccea18a10d2c88f09c067afe63a3b17f19f5bae7b2ae0f4ef577236a399fcebc0f69d69995de9edfd30d31b3c69f1b7c407da73a25331961653926e85d4
6
+ metadata.gz: 2f727e3e36d8813611ecb1c4f19408da9b3de3144f279d5c734e8b58715ce91cd5415e4602ce385817d00bba42d83984370b52909f1f9b14f9f178d0a84eb54c
7
+ data.tar.gz: 84c48f4bdc3e4a3f5f2bee25cb55c5490b1e9ea02e9c07617c5d4500435a068e7a66b68f7624706b9df8b2f9bb4274253d9831bbfa51dbcd12a21a9b25ed7be9
@@ -1,3 +1,3 @@
1
1
  module MaterialRaingular
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -6,7 +6,7 @@ namespace :material_raingular do
6
6
  factories = "angular.factories = angular.module('Factories', [])\n"
7
7
  controllers = HashWithIndifferentAccess.new
8
8
  Rails.application.routes.routes.each do |route|
9
- unless route.constraints[:request_method].nil? || route.defaults[:controller].nil? || (route.app.constraints.present? rescue false)
9
+ unless route.constraints[:request_method].nil? || route.defaults[:controller].nil?# || (route.app.constraints.present? rescue false)
10
10
  controller = route.defaults[:controller]
11
11
  controllers[controller] ||= {}
12
12
  controllers[controller][:parent_model_name_and_format_symbol] ||= []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: material_raingular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Moody
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-20 00:00:00.000000000 Z
11
+ date: 2016-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler