jasminecoffee 0.1 → 0.1.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: 6afa4079d8c3e4cca9e73bba8095e5fd8b4d528f
4
- data.tar.gz: 8529109d6407875f3f0b2e41a74b7da00dc5520f
3
+ metadata.gz: 785a8172d9a8cf16f995bd12dfe7cfc9eb4729e4
4
+ data.tar.gz: a357288766db3423975c10c8a1d552ab15397b3a
5
5
  SHA512:
6
- metadata.gz: 731ad336b9138e9cfb6f08da298617075cdba5753a50c20b38ab9648dbf5eb7bcbb0bf69f7895fdd672ce41d5e3416368dc61368cce4b47c3ed73a74c774e597
7
- data.tar.gz: 6af863e58b6f7fd87290fff382431948a6b704e77dfede6daaaba18ac3cea166f40fb852ab4a15f8fa27c6b72c9a614af93b2cf587fccd482575223ecd3a3a95
6
+ metadata.gz: 5c1d84d5564498b81ad75b71a7622414d4168a0fe79e70d35d5c0f669b4bce57e9b2c127f382b810f054a721b0b4c00825ac51e41411f3a891493238251b3eea
7
+ data.tar.gz: b6ef73b66ca4188c8fe4e7c0e0919ecdb94a15a2ffa32c1249d994b0b5f1d2d87fd5ab0c540097fe84487c7271606f06384c7732adb65ea2a6636eb393d93047
@@ -1,7 +1,7 @@
1
1
  module JasmineCoffee
2
- class SpecController < Jasminerice::ApplicationController
2
+ class SpecController < JasmineCoffee::ApplicationController
3
3
  warn "Using JasmineCoffee::HelperMethods is deprecated and will be removed in a future release,"\
4
- "please use Jasminerice::SpecHelper to define your helpers in the future" if defined?(JasmineCoffee::HelperMethods)
4
+ "please use JasmineCoffee::SpecHelper to define your helpers in the future" if defined?(JasmineCoffee::HelperMethods)
5
5
 
6
6
  helper JasmineCoffee::HelperMethods rescue nil
7
7
  helper JasmineCoffee::SpecHelper rescue nil
@@ -1,12 +1,12 @@
1
- # Use this file to set configuration options for Jasminerice, all of these are initialized to their respective defaults,
1
+ # Use this file to set configuration options for JasmineCoffee, all of these are initialized to their respective defaults,
2
2
  # but you can change them here.
3
3
  if defined?(JasmineCoffee) == 'constant'
4
4
  JasmineCoffee.setup do |config|
5
- # Tell Jasminerice to automatically mount itself in your application. If set to false, you must manually mount the
6
- # engine in order to use Jasminerice.
5
+ # Tell JasmineCoffee to automatically mount itself in your application. If set to false, you must manually mount the
6
+ # engine in order to use JasmineCoffee.
7
7
  #config.mount = true
8
8
 
9
- # If automatically mounting Jasminerice, specify the location that it should be mounted at. Defaults to /jasmine, so
9
+ # If automatically mounting JasmineCoffee, specify the location that it should be mounted at. Defaults to /jasmine, so
10
10
  # you could access your tests at http://YOUR_SERVER_URL/jasmine
11
11
  #config.mount_at = '/jasmine'
12
12
 
data/lib/jasminecoffee.rb CHANGED
@@ -1,5 +1,5 @@
1
- module Jasminerice
2
- # Determine whether or not to mount the Jasminerice engine implicitly. True/False
1
+ module JasmineCoffee
2
+ # Determine whether or not to mount the JasmineCoffee engine implicitly. True/False
3
3
  mattr_accessor :mount
4
4
  @@mount = true
5
5
 
@@ -15,24 +15,24 @@ module Jasminerice
15
15
  mattr_accessor :fixture_path
16
16
  @@fixture_path = 'spec/javascripts/fixtures'
17
17
 
18
- # Default way to setup Jasminerice. Run rails generate jasminerice:install to create
18
+ # Default way to setup JasmineCoffee. Run rails generate jasminecoffee:install to create
19
19
  # a fresh initializer with all configuration values.
20
20
  def self.setup
21
21
  yield self
22
22
  end
23
23
 
24
24
  class Engine < Rails::Engine
25
- isolate_namespace Jasminerice
25
+ isolate_namespace JasmineCoffee
26
26
 
27
27
  initializer :assets, :group => :all do |app|
28
- app.config.assets.paths << Rails.root.join(Jasminerice.spec_path, "javascripts").to_s
29
- app.config.assets.paths << Rails.root.join(Jasminerice.spec_path, "stylesheets").to_s
28
+ app.config.assets.paths << Rails.root.join(JasmineCoffee.spec_path, "javascripts").to_s
29
+ app.config.assets.paths << Rails.root.join(JasmineCoffee.spec_path, "stylesheets").to_s
30
30
  end
31
31
 
32
32
  config.after_initialize do |app|
33
33
  app.routes.prepend do
34
- mount Jasminerice::Engine => Jasminerice.mount_at
35
- end if Jasminerice.mount
34
+ mount JasmineCoffee::Engine => JasmineCoffee.mount_at
35
+ end if JasmineCoffee.mount
36
36
  end
37
37
  end
38
38
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jasminecoffee
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brendan Keogh