rails-sandbox-assets 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -19,11 +19,11 @@ And then execute:
19
19
 
20
20
  ## Usage
21
21
 
22
- Place your tests under _test/javascripts/\*\_test.js_ or _specs/javascripts/\*\_spec.js.coffee_.
22
+ Place your tests under _test/javascripts/\*\_test.js_ or _spec/javascripts/\*\_spec.js.coffee_.
23
23
  Use JavaScript or CoffeeScript.
24
24
 
25
25
  You can add your test assets to _test/assets/javascripts_, _test/assets/stylesheets_,.
26
- _specs/assets/javascripts_ and _specs/assets/stylesheets_.
26
+ _spec/assets/javascripts_ and _spec/assets/stylesheets_.
27
27
 
28
28
  $ rake sandbox_assets:serve
29
29
 
@@ -56,24 +56,28 @@ Or you can create a separate initializer if you prefer:
56
56
  Default settings:
57
57
 
58
58
  c.port = 5000
59
- # By default, sandbox_assets will look for your tests in test/javascripts and specs/javascripts
60
- c.tests_roots = %w(test/javascripts specs/javascripts)
61
- # Add to Rails assets path. Besides your tests/specs, any assets in those paths will be served
59
+ # By default, sandbox_assets will look for your tests in test/javascripts and spec/javascripts
60
+ c.tests_roots = %w(test/javascripts spec/javascripts)
61
+ # Add to Rails assets path. Besides your tests/spec, any assets in those paths will be served
62
62
  # by the asset pipeline:
63
- c.assets_paths = c.tests_roots +
63
+ c.assets_paths = c.tests_roots +
64
64
  %w(test/assets/javascripts test/assets/stylesheets
65
- specs/assets/javascripts specs/assets/stylesheets)
66
- # Pattern to find your tests or specs inside the tests_roots directories:
65
+ spec/assets/javascripts spec/assets/stylesheets)
66
+ # Pattern to find your tests or spec inside the tests_roots directories:
67
67
  c.tests_patterns = %w(**/*_{test,spec}.{js,coffee}*)
68
68
  # By default, you can override which template to use in the params, like:
69
69
  # http://localhost:5000/?template=spec_runner/runner
70
70
  c.disable_template_param = false
71
71
 
72
- ## Examples
72
+ ## Gems using Rails Sandbox Assets
73
+
74
+ - [rails\_sandbox\_jasmine](http://github.com/rosenfeld/rails_sandbox_jasmine)
73
75
 
74
- TODO: Add some examples, like Jasmine and Mocha/Chai.js.
76
+ TODO: add a gem for Mocha/Chai.
77
+
78
+ ## Examples
75
79
 
76
- TODO: Also release some other gems for those frameworks on top of this one.
80
+ TODO: Add some example application to Github using Mocha/Chai.js test runner.
77
81
 
78
82
  ## Contributing
79
83
 
@@ -5,10 +5,10 @@ module SandboxAssets
5
5
  :template, :disable_template_param
6
6
 
7
7
  def initialize
8
- @tests_roots = %w(test/javascripts specs/javascripts)
8
+ @tests_roots = %w(test/javascripts spec/javascripts)
9
9
  @assets_paths = @tests_roots +
10
10
  %w(test/assets/javascripts test/assets/stylesheets
11
- specs/assets/javascripts specs/assets/stylesheets)
11
+ spec/assets/javascripts spec/assets/stylesheets)
12
12
  @tests_patterns = %w(**/*_{test,spec}.{js,coffee}*)
13
13
  @port = 5000
14
14
  @disable_template_param = false
@@ -1,3 +1,3 @@
1
1
  module SandboxAssets
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-sandbox-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -65,7 +65,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
65
65
  version: '0'
66
66
  segments:
67
67
  - 0
68
- hash: -3281811653558395831
68
+ hash: -177298000205036705
69
69
  required_rubygems_version: !ruby/object:Gem::Requirement
70
70
  none: false
71
71
  requirements:
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  version: '0'
75
75
  segments:
76
76
  - 0
77
- hash: -3281811653558395831
77
+ hash: -177298000205036705
78
78
  requirements: []
79
79
  rubyforge_project:
80
80
  rubygems_version: 1.8.21