oa_angular_setup 0.1.3 → 0.1.4

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: c81d0503f8dbda3d948071f97514fc5b2bf10048
4
- data.tar.gz: 704bc6eb1aa31e30a2ebcc8b88fd3d3be9574a85
3
+ metadata.gz: dd4fd09911bbdaf214d60b36fce02f96323f44b4
4
+ data.tar.gz: a98a33ec55c15ee1cc7e67755ea3f499edd34018
5
5
  SHA512:
6
- metadata.gz: 17584093f371cbc396298bbd88c99ea6fb52e65b9d8578d2abd8f58f492603974bdd8f98f4bd1a144db9bc032e12a5ea5bf510311f38094650d2e6bff2468dca
7
- data.tar.gz: 5336760c9d451d9e36b2374bbe952764fa1ce4288c5bb69c5ac9094d947e5ac9fd43f6b84aff3cc2819f328779d18323e4d2ba9521e576cdd0f31fd0917b6c9d
6
+ metadata.gz: 347651fffdfb16c46d9b4dd89950bea2cb2bca11c6cc5cb90f7c6d545f94c8807185cca6197b0df0587b05e16f16c5f9fcc15848f3c82d7210612d3dced002f4
7
+ data.tar.gz: ab04dba8197afa4ce9cc831d902901a2455d82ff9813dab66e07cae6e12f003d040c9ea02409853dd380f3f7897ce5acdf1b8582533c5b2877201f79d19177dd
@@ -320,7 +320,7 @@ class AngularInitializer
320
320
 
321
321
  def update_controllers(apis, model_name, app_name)
322
322
  Dir.mkdir("#{@destination}controllers") unless File.exists?("#{@destination}controllers")
323
- return write_controllers(apis, model_name, app_name) unless File.exists?("#{@destination}controllers/#{model}_controllers.js")
323
+ return write_controllers(apis, model_name, app_name) unless File.exists?("#{@destination}controllers/#{model_name}_controllers.js")
324
324
  output, edited_controller_titles = [], []
325
325
  model = model_name.delete('/')
326
326
  file_contents = File.read("#{@destination}controllers/#{model}_controllers.js")
@@ -1,3 +1,3 @@
1
1
  module OaAngularSetup
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
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.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark VanArsdale