rugular 0.8.7 → 0.9.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5f48107191ea322aa2d1538b45ee453c638a71f
|
4
|
+
data.tar.gz: 6e57b10629f6e1cc8bd348fcd9fb9bc5c74d4768
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81cf22fd329eb700ed88f376fdc073c80057015986e23ef4739d6d2b91a59b2b8c3217f3407421402d051407a206e65589d91d20634fd27e3cce5d1fd168998f
|
7
|
+
data.tar.gz: 07a5605f5f31fa252767dfacfbe32e7c702f08102f085b2e47a30d31edc3b8ac4074ceaf6db76e5c374a288bc3d000667b444d0a089506ee98663089dee3e033
|
@@ -4,7 +4,7 @@ module.exports = function (config) {
|
|
4
4
|
// base path that will be used to resolve all patterns (eg. files, exclude)
|
5
5
|
basePath: './',
|
6
6
|
|
7
|
-
frameworks: ['jasmine', '
|
7
|
+
frameworks: ['jasmine', 'sinon'],
|
8
8
|
|
9
9
|
preprocessors: {
|
10
10
|
'**/*.coffee': ['coffee']
|
@@ -1,18 +1,18 @@
|
|
1
|
-
describe '
|
2
|
-
|
3
|
-
beforeEach ->
|
4
|
-
module 'app', ($provide) ->
|
5
|
-
specHelper.fakeStateProvider $provide
|
6
|
-
specHelper.fakeLogger $provide
|
1
|
+
describe '<%= camelcase_name %>Controller', ->
|
2
|
+
beforeEach module('auth')
|
7
3
|
|
8
|
-
|
4
|
+
$controller = undefined
|
9
5
|
|
10
|
-
|
6
|
+
beforeEach inject((_$controller_) ->
|
7
|
+
# The injector unwraps the underscores (_) from around the parameter names when matching
|
8
|
+
$controller = _$controller_
|
11
9
|
|
12
|
-
|
13
|
-
|
10
|
+
return
|
11
|
+
)
|
14
12
|
|
15
|
-
|
16
|
-
|
13
|
+
describe 'this.title', ->
|
14
|
+
it 'is initially set to "auth"', ->
|
15
|
+
controller = $controller('<%= camelcase_name %>Controller')
|
16
|
+
expect(controller.title).toEqual '<%= camelcase_name %>'
|
17
|
+
return
|
17
18
|
|
18
|
-
specHelper.verifyNoOutstandingHttpRequests()
|
@@ -1,19 +1,18 @@
|
|
1
1
|
describe '<%= camelcase_name %>Controller', ->
|
2
|
-
|
3
|
-
beforeEach ->
|
4
|
-
module '<%= camelcase_name %>', ($provide) ->
|
5
|
-
specHelper.fakeStateProvider $provide
|
6
|
-
specHelper.fakeLogger $provide
|
2
|
+
beforeEach module('auth')
|
7
3
|
|
8
|
-
|
4
|
+
$controller = undefined
|
9
5
|
|
10
|
-
|
6
|
+
beforeEach inject((_$controller_) ->
|
7
|
+
# The injector unwraps the underscores (_) from around the parameter names when matching
|
8
|
+
$controller = _$controller_
|
11
9
|
|
12
|
-
|
13
|
-
|
14
|
-
expect(controller).to.be.defined
|
10
|
+
return
|
11
|
+
)
|
15
12
|
|
16
|
-
|
17
|
-
|
13
|
+
describe 'this.title', ->
|
14
|
+
it 'is initially set to "auth"', ->
|
15
|
+
controller = $controller('<%= camelcase_name %>Controller')
|
16
|
+
expect(controller.title).toEqual '<%= camelcase_name %>'
|
17
|
+
return
|
18
18
|
|
19
|
-
specHelper.verifyNoOutstandingHttpRequests()
|
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.
|
4
|
+
version: 0.9.0
|
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-
|
11
|
+
date: 2015-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|