rugular 0.9.6 → 0.9.10

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: abf27b87be40049829242854b1b8dbae32ae36ff
4
- data.tar.gz: 56c8c8aadc99a04ee41a3d1b170ac2ea4a45a7f9
3
+ metadata.gz: 675a31e66c6775ffc7582d027af3ef3b438678ab
4
+ data.tar.gz: b7b26ab14bb55569b254d96a129624cd41bc4436
5
5
  SHA512:
6
- metadata.gz: c8cc70dabfbbe562fe2e2dd3f932de3863c7a22c1afd2131783ad0e5e6b90af4577b36da55f66948ca43d156fa171f7e889f07f27776429c662c2a800b9667cb
7
- data.tar.gz: 451e992bc239666641308cc87143790d09fb3f1c660dc5943a447e9bd400633c876f2e217bacc1ab559c4dc4648eec3da7589494b2e282b19743380d6609d0ec
6
+ metadata.gz: 798f82d96a6ac463f53dcb755b12ae4aacecc3385c4e160c89805f23523a4d391c94bec697d0444bc4b5ecb0d123e5e1c2dd829a765154dc06fc126f5dd35f04
7
+ data.tar.gz: 5f671b237ec9d7ae8c48d80d014aa9efb71ed9d589ee426d129266d8c0398304dd832456db01972a1bc0439f6835350b9a4173935572442fae4919b217f94c8a
@@ -11,7 +11,7 @@ module Rugular
11
11
  desc('Creates a minified, compressed version in the dist folder')
12
12
 
13
13
  def check_for_rugular_directory
14
- Rugular::AppChecker.check_for_rugular_directory(
14
+ ::Rugular::AppChecker.check_for_rugular_directory(
15
15
  task_name: name,
16
16
  root_directory: new.destination_root
17
17
  )
@@ -1,44 +1,4 @@
1
- var yaml = require('js-yaml')
2
- var fs = require('fs')
3
- var _ = require('lodash')
4
-
5
1
  module.exports = function (config) {
6
- loadBowerComponentYamlAndSrcFiles = function() {
7
- this.bowerComponentFile = fs.readFileSync(
8
- 'bower_components.yaml',
9
- 'utf8',
10
- function (err, data) {
11
- console.log(data)
12
- console.log(err)
13
- return data
14
- });
15
- this.yaml = yaml.load(this.bowerComponentFile)
16
-
17
- this.javascriptFiles = this.yaml.js.concat(this.yaml.test)
18
-
19
- this.addBowerComponentDirectory = function (javascriptFile) {
20
- return './bower_components/' + javascriptFile;
21
- };
22
-
23
- this.bowerComponentFiles = _.map(
24
- javascriptFiles,
25
- addBowerComponentDirectory
26
- );
27
-
28
- this.applicationFiles = [
29
- 'src/**/*.module.coffee',
30
- 'src/**/*.routes.coffee',
31
- 'src/**/*.factory.coffee',
32
- 'src/**/*.controller.coffee',
33
- 'src/**/*.directive.coffee',
34
- 'src/**/*.spec.coffee'
35
- ]
36
-
37
- this.karmaFiles = this.bowerComponentFiles.concat(this.applicationFiles)
38
-
39
- return this.karmaFiles
40
- }
41
-
42
2
  config.set({
43
3
 
44
4
  // base path that will be used to resolve all patterns (eg. files, exclude)
@@ -63,7 +23,20 @@ module.exports = function (config) {
63
23
  },
64
24
 
65
25
  // list of files / patterns to load in the browser
66
- files: loadBowerComponentYamlAndSrcFiles(),
26
+ files: [
27
+ './test/*.js',
28
+
29
+ './bower_components/angular/angular.js',
30
+ './bower_components/angular-ui-router/release/angular-ui-router.js',
31
+ './bower_components/angular-mocks/angular-mocks.js',
32
+
33
+ 'src/**/*.module.coffee',
34
+ 'src/**/*.routes.coffee',
35
+ 'src/**/*.factory.coffee',
36
+ 'src/**/*.controller.coffee',
37
+ 'src/**/*.directive.coffee',
38
+ 'src/**/*.spec.coffee'
39
+ ],
67
40
 
68
41
  // web server port
69
42
  port: 9876,
@@ -1,3 +1,3 @@
1
1
  module Rugular
2
- VERSION = '0.9.6'
2
+ VERSION = '0.9.10'
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.6
4
+ version: 0.9.10
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-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview