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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dffed1a65a488eedb2d54a363883366a213c1509
4
- data.tar.gz: 652fa6f53b5b60a3550841216f6d4f55bf860c96
3
+ metadata.gz: c81d0503f8dbda3d948071f97514fc5b2bf10048
4
+ data.tar.gz: 704bc6eb1aa31e30a2ebcc8b88fd3d3be9574a85
5
5
  SHA512:
6
- metadata.gz: 8982ec7852aecf64ea756591c370558888671294da31ff7baba176556e2630a4952fc69c7b88f40ae60de98abd5c14d1845d4431f6f625536b7fd5df5fbe7454
7
- data.tar.gz: 5a6e14e1037cbd5058b2e573b32e2520ab2c396399b63e9300bd90acd98a0cd1a70707fe7655b18958c0561b2c29fffa18b0817b2618a8ff874ca16c645d6ff5
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, model_name, app_name) unless File.exists?("#{@destination}factories/#{model}_factory.js")
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"
@@ -1,3 +1,3 @@
1
1
  module OaAngularSetup
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oa_angular_setup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark VanArsdale