rugular 0.8.4 → 0.8.5

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: 19f482a92bf9333de12b6fa194d8883a253b8704
4
- data.tar.gz: d07ded7140fc754e13b0fb8563697104ae044888
3
+ metadata.gz: 4990a7c0ddaccbebe2ec383f3c04d27cba345f76
4
+ data.tar.gz: e5f2136a4e803f93feb3315e1390e65332567165
5
5
  SHA512:
6
- metadata.gz: 44192cd6e7cd7dcf42ae2a326b9367c5e7aec9878e74fbca4970ef98f728201133cbb9450b18da0da879991588e80fe5f94e9ac51952adee4f791c862b53ac31
7
- data.tar.gz: 375f7a4b441fc7edee94d11977391d7a08e81b016c8a27d4d5f34b73fe19cb2f7d1bf26ef3790ecb5a15d41359f86d7563f2be3b4d910a61f627ce8a757b058c
6
+ metadata.gz: 948c8e2134958c5f32093ecff4525dcc8722ace625ded54eb21fabc3237d65acf9f2a3f8cb7f8b5eca5dc7752613864bfd1538f8c59f20b445e1dbf8a40f49b4
7
+ data.tar.gz: d14dbc79b6dd2dcbe06daab93ba96d599fcfda9cc06f68d1ecc9cabb853779c1ff1ed6fc59aca6d2c654e7c67a8c00864504a094af3a995e3bfbca34f08f4bb5
@@ -1,13 +1,19 @@
1
1
  module Rugular
2
2
  class JavascriptFiles
3
3
  def self.ordered_array
4
- component_array +
4
+ Dir.glob('src/components/**/*.module.coffee') +
5
+ Dir.glob('src/components/**/*.constant.coffee') +
6
+ Dir.glob('src/components/**/*.factory.coffee') +
7
+ Dir.glob('src/components/**/*.filter.coffee') +
8
+ Dir.glob('src/components/**/*.controller.coffee') +
9
+ Dir.glob('src/components/**/*.directive.coffee') +
5
10
  Dir.glob('src/app/**/*.module.coffee') +
6
11
  Dir.glob('src/app/**/*.config.coffee') +
7
12
  Dir.glob('src/app/**/*.constant.coffee') +
8
13
  Dir.glob('src/app/**/*.factory.coffee') +
9
14
  Dir.glob('src/app/**/*.controller.coffee') +
10
- Dir.glob('src/app/**/*.routes.coffee')
15
+ Dir.glob('src/app/**/*.routes.coffee') +
16
+ Dir.glob('src/components/**/*.routes.coffee')
11
17
  end
12
18
 
13
19
  def self.component_array
@@ -1,7 +1,7 @@
1
1
  <%= name %>Routing = ($stateProvider) ->
2
2
  $stateProvider.state 'root.<%= name %>',
3
3
  url: '<%= name %>'
4
- templateUrl: "app/<%= name %>/<%= name %>.html"
4
+ templateUrl: 'app/<%= name %>/<%= name %>.html'
5
5
  controller: '<%= name %>Controller'
6
6
  controllerAs: '<%= name %>'
7
7
 
@@ -1,3 +1,3 @@
1
1
  module Rugular
2
- VERSION = '0.8.4'
2
+ VERSION = '0.8.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rugular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Shook