rugular 0.9.4 → 0.9.5

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: b019d4fb93c1f8dbef025fbbd562ce23bc84038e
4
- data.tar.gz: 1fa0aee83473286d5dc1ebb7cd55c12f63905eaa
3
+ metadata.gz: 7294cb79ce9cbf1405c83069d823f7a58dd2ad6a
4
+ data.tar.gz: 16fce747483cbb6fb690b4418d9804279307f303
5
5
  SHA512:
6
- metadata.gz: a2879d7e5ee26047c16093431ff9084f857b135bf9dd2691685402d669b84ddb84f61cedcb6e4841ab656e4bfd2a47899aaa0f86b2997b4f7d5f910380cad45c
7
- data.tar.gz: 8250c2ad718e1062b315aee92234c79d67b9e630bbf25a2dce02ccb946cab795f3cb399ff6cd53a64d06edca37c5a7222580db850d87d6d4804c907dbe5eac79
6
+ metadata.gz: 306e4e97e358c9d11b3ec16e594a472b1eda6ddb5378ae4243c12e305795a46c4e44296c17f4bc2190f30bd3a0cca7f103c1f1272f12b3b0bc9ce3edb9a1701c
7
+ data.tar.gz: 2a7bee98d9bbbbf87ba3244078c16a8fc6f80098e7938f292d24854d3bd60689161a851de41e5cf88632f2ac28f4bdb8151906a3c0c6a2608dd0efbe05d6bac4
@@ -10,7 +10,7 @@ module Rugular
10
10
  class_option(
11
11
  :c,
12
12
  type: :boolean,
13
- desc: 'create the route in the component folder'
13
+ desc: 'create the resource in the component folder'
14
14
  )
15
15
 
16
16
  def self.source_root
@@ -31,22 +31,6 @@ module Rugular
31
31
  end
32
32
  end
33
33
 
34
- def inject_module_into_module
35
- if nested?
36
- insert_into_file(
37
- nested_module_file,
38
- module_declaration,
39
- after: "angular.module '#{nested_module_name}', [\n"
40
- ) unless module_declaration_present?(nested_module_file)
41
- else
42
- insert_into_file(
43
- app_module_file,
44
- module_declaration,
45
- after: "angular.module 'app', [\n"
46
- ) unless module_declaration_present?(app_module_file)
47
- end
48
- end
49
-
50
34
  def template_files; []; end
51
35
 
52
36
  protected
@@ -0,0 +1 @@
1
+ h1 <%= name %>
@@ -0,0 +1 @@
1
+ h1 <%= name %>
@@ -1,3 +1,3 @@
1
1
  module Rugular
2
- VERSION = '0.9.4'
2
+ VERSION = '0.9.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rugular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Shook
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-27 00:00:00.000000000 Z
11
+ date: 2015-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview
@@ -349,7 +349,7 @@ files:
349
349
  - lib/rugular/templates/directive/app.controller.coffee.erb
350
350
  - lib/rugular/templates/directive/app.directive.coffee.erb
351
351
  - lib/rugular/templates/directive/app.directive.spec.coffee.erb
352
- - lib/rugular/templates/directive/app.haml.erb
352
+ - lib/rugular/templates/directive/app.jade.erb
353
353
  - lib/rugular/templates/directive/app.module.coffee.erb
354
354
  - lib/rugular/templates/factory/app.factory.coffee.erb
355
355
  - lib/rugular/templates/factory/app.module.coffee.erb
@@ -379,7 +379,7 @@ files:
379
379
  - lib/rugular/templates/route/_app.sass.erb
380
380
  - lib/rugular/templates/route/app.controller.coffee.erb
381
381
  - lib/rugular/templates/route/app.controller.spec.coffee.erb
382
- - lib/rugular/templates/route/app.haml.erb
382
+ - lib/rugular/templates/route/app.jade.erb
383
383
  - lib/rugular/templates/route/app.module.coffee.erb
384
384
  - lib/rugular/templates/route/app.routes.coffee.erb
385
385
  - lib/rugular/templates/server/application.sass
@@ -1 +0,0 @@
1
- %h1 <%= name %>
@@ -1 +0,0 @@
1
- %h1 <%= name %>