rugular 0.8.0 → 0.8.1

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: 139ae72be05b9e5148a8fc18e9b0dc4ce0d41b73
4
- data.tar.gz: 8c62061df101cbf404bf784aa640b216779edf80
3
+ metadata.gz: 7698ef5918fc85fbf552710e53ccc3e98ee029d0
4
+ data.tar.gz: 6507d08dca0f5955a5dccb0e56ecaa62f7ac8356
5
5
  SHA512:
6
- metadata.gz: 47f6ede885b6538d37509ba5ef687c18754f2979453768cddc629c3f81517e81f142cc2c7b3ee773cee86f9d4f2df255d1303bd032e2e71c262244d1b9ec113e
7
- data.tar.gz: 609fa6b7461e249a89bad153472e89cf47305f578e03aad846d87b8012c6ee81efc836f346fe6c8f0048dedc8c84bed7014d3e944975669e36e9f7a378c4aae0
6
+ metadata.gz: 60eec1c73db5b62bcb13d2d891d3ac12f4bb407069911cd4b178adaaa0bbabb8c501bab81b8ac6eadcc90816edbfcc1cb6a9ca3586bb48c63d7a7197b296dc11
7
+ data.tar.gz: 7c581b256da00b994ad87dc45cd6a1c79232c9f8ec475bf5070486b206edd11636c57b45a2b7ab256febe4032544b7c80983f8e7e7cc87ddf475afe39e1d705a
data/features/new.feature CHANGED
@@ -21,7 +21,7 @@ Feature: Rugular CLI
21
21
  """
22
22
  And the file "my-app/karma.conf.js" should contain:
23
23
  """
24
- frameworks: ['mocha', 'chai', 'sinon', 'chai-sinon'],
24
+ frameworks: ['jasmine', 'chai', 'sinon', 'chai-sinon'],
25
25
  """
26
26
  And the file "my-app/src/index.haml" should contain:
27
27
  """
@@ -23,7 +23,7 @@ module Rugular
23
23
  # http://stackoverflow.com/questions/23150585/getting-started-with-protractor-travis-and-saucelabs
24
24
  # def run_protractor_script
25
25
  # system(
26
- # "npm install -g protractor mocha coffee-script; "\
26
+ # "npm install -g protractor jasmine coffee-script; "\
27
27
  # "webdriver-manager update --standalone; "\
28
28
  # "webdriver-manager start > /dev/null 2>&1 &; "\
29
29
  # "protractor"
@@ -40,7 +40,7 @@ module Rugular
40
40
 
41
41
  # Protractor needs to be installed globally
42
42
  def install_protractor
43
- `npm install -g protractor coffee-script mocha`
43
+ `npm install -g protractor coffee-script jasmine`
44
44
  end
45
45
  end
46
46
  end
@@ -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: ['mocha', 'chai', 'sinon', 'chai-sinon'],
7
+ frameworks: ['jasmine', 'chai', 'sinon', 'chai-sinon'],
8
8
 
9
9
  preprocessors: {
10
10
  '**/*.coffee': ['coffee']
@@ -1,13 +1,13 @@
1
1
  require('coffee-script').register();
2
- require('mocha');
2
+ require('jasmine');
3
3
 
4
4
  // An example configuration file
5
5
  exports.config = {
6
6
  // The address of a running selenium server.
7
7
  seleniumAddress: 'http://localhost:4444/wd/hub',
8
8
 
9
- // Use mocha
10
- frameworks: ['mocha', 'chai'],
9
+ // Use jasmine
10
+ frameworks: ['jasmine', 'chai'],
11
11
 
12
12
  // Capabilities to be passed to the webdriver instance.
13
13
  capabilities: {
@@ -21,7 +21,7 @@ exports.config = {
21
21
 
22
22
  baseUrl: 'http://localhost:8080/',
23
23
 
24
- mochaOpts: {
24
+ jasmineOpts: {
25
25
  reporter: "spec",
26
26
  slow: 3000
27
27
  },
@@ -18,11 +18,11 @@
18
18
  "karma-coverage": "*",
19
19
  "karma-firefox-launcher": "*",
20
20
  "karma-growl-reporter": "*",
21
- "karma-mocha": "*",
21
+ "karma-jasmine": "*",
22
22
  "karma-phantomjs-launcher": "*",
23
23
  "karma-safari-launcher": "*",
24
24
  "karma-sinon": "*",
25
- "mocha": "*",
25
+ "jasmine": "*",
26
26
  "phantomjs": "*",
27
27
  "plato": "*",
28
28
  "protractor": "*",
@@ -1,3 +1,3 @@
1
1
  module Rugular
2
- VERSION = '0.8.0'
2
+ VERSION = '0.8.1'
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.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Shook