material_raingular 0.0.2.4.5.alpha → 0.0.2.4.6.alpha

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: b5a5f9737006aa3371d74bcec0231aeec1307f37
4
- data.tar.gz: 5bfd3f4751a932f16fe612c6aa28da7a5a388268
3
+ metadata.gz: aff815f9f96a33c806020497c5774e53cad733c0
4
+ data.tar.gz: 17b0d03ae905a729d444d14d28f676b2df144509
5
5
  SHA512:
6
- metadata.gz: 7c09ed706d0e034e77163d498f26a126caf7a2977c920936734df7a5babce66a1570cd843b67499b8bbd8bbbb8554e18fc46d7b1f050ea427c498660fd8b4b10
7
- data.tar.gz: 44e89f23786aed0342ee56e74cf0deea25825889d1bc9fb74a2a2ee1ae87f28721892bb5e6a4f08bbadcdbe8a46f99d7e1138cc0903384954535b3fa68ae08e4
6
+ metadata.gz: 5c46dea975dd77718cfc052d9d6e683a10ec12a43a92ef8fbf641475dc84e7ae2ec010499396a2d114e60a83444a133fdcb6f1b3fb3920d0f5261d8b8c719704
7
+ data.tar.gz: 66ee2254112a02c90dd6ce1f886bd0564b8f19c06ea50a34cd213807d65cb3714a1ed7a1882c5fe79ea53d24ba3603574066b4920772194ff76816d5e1a8984c
@@ -1,3 +1,3 @@
1
1
  module MaterialRaingular
2
- VERSION = "0.0.2.4.5.alpha"
2
+ VERSION = "0.0.2.4.6.alpha"
3
3
  end
@@ -29,7 +29,7 @@ namespace :material_raingular do
29
29
  factories += "angular.factories.factory('#{controller.try(:classify)}', function($resource) {return $resource("
30
30
  factories += "'/#{controller}/:id.json', {#{ids}},{"
31
31
  routes.each do |action,route|
32
- ary = action.to_sym != :create && action.to_sym != :new && !(route[:url] =~ /\/:id/)
32
+ ary = !(action.to_s =~ /^create/) && !(action.to_s =~ /^new/) && !(route[:url] =~ /\/:id/)
33
33
  if (variances[controller.to_sym][action.to_sym].present? rescue false)
34
34
  ary = variances[controller.to_sym][action.to_sym][:array]
35
35
  end
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.0.2.4.5.alpha
4
+ version: 0.0.2.4.6.alpha
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Moody
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-27 00:00:00.000000000 Z
11
+ date: 2015-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler