rugular 0.5.3 → 0.5.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 +4 -4
- data/features/generator_for_directive.feature +2 -2
- data/features/generator_for_route.feature +0 -4
- data/features/new.feature +0 -1
- data/lib/rugular/tasks/build.rb +3 -3
- data/lib/rugular/tasks/server/guards/rugular_index_html.rb +3 -3
- data/lib/rugular/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b661257869943d3c3ba6d55ac60aaa4cc493773
|
4
|
+
data.tar.gz: bfc45cbb2a2866fcb1c26425cac8559df07cbccb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 196a806a90c613a31a87aa33b9137880d6ea8200d10675ba1b147eec25c14502bc79032728382161e29beca134ca21b6b97a47f0fa3ba936a491ac2787d6a64b
|
7
|
+
data.tar.gz: c4a7a901c97c9415b226eedf52c8e437d612ee5846961ef202cea842fa235afc9ee6df86412bfc5044f3c0fc614db2ff75b12d2905cb56b75a87427e31afefb8
|
@@ -7,7 +7,7 @@ Feature: Rugular CLI
|
|
7
7
|
When I set up Rugular and run "rugular generate directive test"
|
8
8
|
And the file "my-app/src/app/test/test.directive.coffee" should contain:
|
9
9
|
"""
|
10
|
-
angular.module('test').
|
10
|
+
angular.module('test').directive('test', test)
|
11
11
|
"""
|
12
12
|
And the file "my-app/src/app/test/test.directive.spec.coffee" should contain:
|
13
13
|
"""
|
@@ -31,5 +31,5 @@ Feature: Rugular CLI
|
|
31
31
|
When I set up Rugular and run "rugular generate directive -c test"
|
32
32
|
And the file "my-app/src/components/test/test.directive.coffee" should contain:
|
33
33
|
"""
|
34
|
-
angular.module('test').
|
34
|
+
angular.module('test').directive('test', test)
|
35
35
|
"""
|
@@ -32,10 +32,6 @@ Feature: Rugular CLI
|
|
32
32
|
]
|
33
33
|
"""
|
34
34
|
And a file named "my-app/src/app/test/_test.sass" should exist
|
35
|
-
And the file "my-app/src/application.sass" should contain:
|
36
|
-
"""
|
37
|
-
@import 'app/test'
|
38
|
-
"""
|
39
35
|
|
40
36
|
Scenario: Generating a route in the components directory
|
41
37
|
When I set up Rugular and run "rugular generate route -c test"
|
data/features/new.feature
CHANGED
@@ -27,6 +27,5 @@ Feature: Rugular CLI
|
|
27
27
|
%link(href='application.css', media='screen', rel='stylesheet')
|
28
28
|
"""
|
29
29
|
And a directory named "my-app/src/components" should exist
|
30
|
-
And a file named "my-app/src/application.sass" should exist
|
31
30
|
And the output should contain "Thank you for installing Rugular"
|
32
31
|
|
data/lib/rugular/tasks/build.rb
CHANGED
@@ -97,17 +97,17 @@ module Rugular
|
|
97
97
|
|
98
98
|
def javascript_files
|
99
99
|
Dir.glob("src/components/**/*.module.coffee") +
|
100
|
-
Dir.glob("src/components/**/*.routes.coffee") +
|
101
100
|
Dir.glob("src/components/**/*.factory.coffee") +
|
102
101
|
Dir.glob("src/components/**/*.filter.coffee") +
|
103
102
|
Dir.glob("src/components/**/*.controller.coffee") +
|
104
103
|
Dir.glob("src/components/**/*.directive.coffee") +
|
104
|
+
Dir.glob("src/components/**/*.routes.coffee") +
|
105
105
|
Dir.glob("src/app/**/*.module.coffee") +
|
106
|
-
Dir.glob("src/app/**/*.routes.coffee") +
|
107
106
|
Dir.glob("src/app/**/*.factory.coffee") +
|
108
107
|
Dir.glob("src/app/**/*.filter.coffee") +
|
109
108
|
Dir.glob("src/app/**/*.controller.coffee") +
|
110
|
-
Dir.glob("src/app/**/*.directive.coffee")
|
109
|
+
Dir.glob("src/app/**/*.directive.coffee") +
|
110
|
+
Dir.glob("src/app/**/*.routes.coffee")
|
111
111
|
end
|
112
112
|
|
113
113
|
def bower_css
|
@@ -34,17 +34,17 @@ class RugularIndexHtml
|
|
34
34
|
|
35
35
|
def javascript_files
|
36
36
|
Dir.glob("src/components/**/*.module.coffee") +
|
37
|
-
Dir.glob("src/components/**/*.routes.coffee") +
|
38
37
|
Dir.glob("src/components/**/*.factory.coffee") +
|
39
38
|
Dir.glob("src/components/**/*.filter.coffee") +
|
40
39
|
Dir.glob("src/components/**/*.controller.coffee") +
|
41
40
|
Dir.glob("src/components/**/*.directive.coffee") +
|
41
|
+
Dir.glob("src/components/**/*.routes.coffee") +
|
42
42
|
Dir.glob("src/app/**/*.module.coffee") +
|
43
|
-
Dir.glob("src/app/**/*.routes.coffee") +
|
44
43
|
Dir.glob("src/app/**/*.factory.coffee") +
|
45
44
|
Dir.glob("src/app/**/*.filter.coffee") +
|
46
45
|
Dir.glob("src/app/**/*.controller.coffee") +
|
47
|
-
Dir.glob("src/app/**/*.directive.coffee")
|
46
|
+
Dir.glob("src/app/**/*.directive.coffee") +
|
47
|
+
Dir.glob("src/app/**/*.routes.coffee")
|
48
48
|
end
|
49
49
|
|
50
50
|
def convert_to_script_tag
|
data/lib/rugular/version.rb
CHANGED
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.5.
|
4
|
+
version: 0.5.4
|
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-02-
|
11
|
+
date: 2015-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|