oa_angular_setup 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/oa_angular_setup/initialize_angular.rb +1 -1
- data/lib/oa_angular_setup/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c81d0503f8dbda3d948071f97514fc5b2bf10048
|
4
|
+
data.tar.gz: 704bc6eb1aa31e30a2ebcc8b88fd3d3be9574a85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17584093f371cbc396298bbd88c99ea6fb52e65b9d8578d2abd8f58f492603974bdd8f98f4bd1a144db9bc032e12a5ea5bf510311f38094650d2e6bff2468dca
|
7
|
+
data.tar.gz: 5336760c9d451d9e36b2374bbe952764fa1ce4288c5bb69c5ac9094d947e5ac9fd43f6b84aff3cc2819f328779d18323e4d2ba9521e576cdd0f31fd0917b6c9d
|
@@ -225,7 +225,7 @@ class AngularInitializer
|
|
225
225
|
|
226
226
|
def update_factory(apis, model, name)
|
227
227
|
Dir.mkdir("#{@destination}factories") unless File.exists?("#{@destination}factories")
|
228
|
-
return write_factories(apis,
|
228
|
+
return write_factories(apis, model, name) unless File.exists?("#{@destination}factories/#{model}_factory.js")
|
229
229
|
|
230
230
|
fh1 = name + ".factory('"
|
231
231
|
fh2 = "', ['$resource', function($resource){\n"
|