ember-cli-rails-routes 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +14 -0
  3. data/.rspec +2 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +53 -0
  7. data/Rakefile +8 -0
  8. data/ember-cli-rails-routes.gemspec +29 -0
  9. data/lib/ember-cli-rails-routes.rb +8 -0
  10. data/lib/ember-cli/routes/ember_controller.rb +23 -0
  11. data/lib/ember-cli/routes/railtie.rb +9 -0
  12. data/lib/ember-cli/routes/routes_patch.rb +27 -0
  13. data/lib/ember-cli/routes/version.rb +5 -0
  14. data/spec/spec_helper.rb +96 -0
  15. data/test/dummy/.gitignore +17 -0
  16. data/test/dummy/Gemfile +44 -0
  17. data/test/dummy/Gemfile.lock +203 -0
  18. data/test/dummy/README.rdoc +28 -0
  19. data/test/dummy/Rakefile +6 -0
  20. data/test/dummy/app/assets/images/.keep +0 -0
  21. data/test/dummy/app/assets/javascripts/application.js +16 -0
  22. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  23. data/test/dummy/app/controllers/application_controller.rb +5 -0
  24. data/test/dummy/app/controllers/concerns/.keep +0 -0
  25. data/test/dummy/app/helpers/application_helper.rb +2 -0
  26. data/test/dummy/app/mailers/.keep +0 -0
  27. data/test/dummy/app/models/.keep +0 -0
  28. data/test/dummy/app/models/concerns/.keep +0 -0
  29. data/test/dummy/app/views/application/index.html.erb +1 -0
  30. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  31. data/test/dummy/bin/bundle +3 -0
  32. data/test/dummy/bin/rails +8 -0
  33. data/test/dummy/bin/rake +8 -0
  34. data/test/dummy/bin/setup +29 -0
  35. data/test/dummy/bin/spring +15 -0
  36. data/test/dummy/config.ru +4 -0
  37. data/test/dummy/config/application.rb +26 -0
  38. data/test/dummy/config/boot.rb +3 -0
  39. data/test/dummy/config/cucumber.yml +8 -0
  40. data/test/dummy/config/database.yml +28 -0
  41. data/test/dummy/config/environment.rb +5 -0
  42. data/test/dummy/config/environments/development.rb +41 -0
  43. data/test/dummy/config/environments/production.rb +79 -0
  44. data/test/dummy/config/environments/test.rb +42 -0
  45. data/test/dummy/config/initializers/assets.rb +11 -0
  46. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  47. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  48. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  49. data/test/dummy/config/initializers/inflections.rb +16 -0
  50. data/test/dummy/config/initializers/mime_types.rb +4 -0
  51. data/test/dummy/config/initializers/session_store.rb +3 -0
  52. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  53. data/test/dummy/config/locales/en.yml +23 -0
  54. data/test/dummy/config/routes.rb +3 -0
  55. data/test/dummy/config/secrets.yml +22 -0
  56. data/test/dummy/db/schema.rb +16 -0
  57. data/test/dummy/db/seeds.rb +7 -0
  58. data/test/dummy/features/renders_ember.feature +5 -0
  59. data/test/dummy/features/step_definitions/.gitkeep +0 -0
  60. data/test/dummy/features/step_definitions/navigation.rb +7 -0
  61. data/test/dummy/features/support/capybara_webkit.rb +1 -0
  62. data/test/dummy/features/support/env.rb +17 -0
  63. data/test/dummy/frontend/.bowerrc +4 -0
  64. data/test/dummy/frontend/.editorconfig +34 -0
  65. data/test/dummy/frontend/.ember-cli +9 -0
  66. data/test/dummy/frontend/.gitignore +17 -0
  67. data/test/dummy/frontend/.jshintrc +32 -0
  68. data/test/dummy/frontend/.travis.yml +23 -0
  69. data/test/dummy/frontend/.watchmanconfig +3 -0
  70. data/test/dummy/frontend/README.md +53 -0
  71. data/test/dummy/frontend/app/app.js +18 -0
  72. data/test/dummy/frontend/app/components/.gitkeep +0 -0
  73. data/test/dummy/frontend/app/controllers/.gitkeep +0 -0
  74. data/test/dummy/frontend/app/helpers/.gitkeep +0 -0
  75. data/test/dummy/frontend/app/index.html +25 -0
  76. data/test/dummy/frontend/app/models/.gitkeep +0 -0
  77. data/test/dummy/frontend/app/router.js +14 -0
  78. data/test/dummy/frontend/app/routes/.gitkeep +0 -0
  79. data/test/dummy/frontend/app/styles/app.css +0 -0
  80. data/test/dummy/frontend/app/templates/application.hbs +3 -0
  81. data/test/dummy/frontend/app/templates/components/.gitkeep +0 -0
  82. data/test/dummy/frontend/bower.json +16 -0
  83. data/test/dummy/frontend/config/environment.js +47 -0
  84. data/test/dummy/frontend/ember-cli-build.js +27 -0
  85. data/test/dummy/frontend/package.json +40 -0
  86. data/test/dummy/frontend/public/crossdomain.xml +15 -0
  87. data/test/dummy/frontend/public/robots.txt +3 -0
  88. data/test/dummy/frontend/testem.json +12 -0
  89. data/test/dummy/frontend/tests/.jshintrc +52 -0
  90. data/test/dummy/frontend/tests/helpers/resolver.js +11 -0
  91. data/test/dummy/frontend/tests/helpers/start-app.js +18 -0
  92. data/test/dummy/frontend/tests/index.html +33 -0
  93. data/test/dummy/frontend/tests/test-helper.js +6 -0
  94. data/test/dummy/frontend/tests/unit/.gitkeep +0 -0
  95. data/test/dummy/frontend/vendor/.gitkeep +0 -0
  96. data/test/dummy/lib/assets/.keep +0 -0
  97. data/test/dummy/lib/tasks/.keep +0 -0
  98. data/test/dummy/lib/tasks/cucumber.rake +65 -0
  99. data/test/dummy/log/.keep +0 -0
  100. data/test/dummy/public/404.html +67 -0
  101. data/test/dummy/public/422.html +67 -0
  102. data/test/dummy/public/500.html +66 -0
  103. data/test/dummy/public/favicon.ico +0 -0
  104. data/test/dummy/public/robots.txt +5 -0
  105. data/test/dummy/script/cucumber +10 -0
  106. data/test/dummy/test/controllers/.keep +0 -0
  107. data/test/dummy/test/fixtures/.keep +0 -0
  108. data/test/dummy/test/helpers/.keep +0 -0
  109. data/test/dummy/test/integration/.keep +0 -0
  110. data/test/dummy/test/mailers/.keep +0 -0
  111. data/test/dummy/test/models/.keep +0 -0
  112. data/test/dummy/test/test_helper.rb +10 -0
  113. data/test/dummy/vendor/assets/javascripts/.keep +0 -0
  114. data/test/dummy/vendor/assets/stylesheets/.keep +0 -0
  115. metadata +365 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ed5dbf5038e5ac9873371413104268972e8f45b2
4
+ data.tar.gz: f7ee66f2764430216fa7ac2e17c045f876523403
5
+ SHA512:
6
+ metadata.gz: 02217155aefe67f50b99de6d87edf8dcf8e0503c0994369bbf3dc4b6dbd0f01d050db0952adc28fbfc2a45be9db3e88e79880957992a3e05e1585db08f69c508
7
+ data.tar.gz: 870bc6a5ca8bb4e90c719a73d8bc72dcc3a91310a3c90df5afa873fe3bcd05422815bf39afe105449b8d44908e8f1cca350571de30fe0816791cfd255e577a4f
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in ember-cli-rails-assets.gemspec
4
+ gemspec
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2015 Chase McCarthy
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,53 @@
1
+ # ember-cli-rails-routes
2
+
3
+ ## Installation
4
+
5
+ Add this to your `Gemfile` and `bundle install`
6
+
7
+ ```rb
8
+ gem 'ember-cli-rails-routes'
9
+ ```
10
+
11
+ ## Setup
12
+
13
+ ### Rails App
14
+
15
+ In your `routes.rb` file:
16
+
17
+ ```rb
18
+ ember_app :foo, scope: :app, path: 'frontend'
19
+ ```
20
+
21
+ This reflects an ember app in the `<RAILS_ROOT>/frontend` directory that is exposed as `/app/foo` in the URL.
22
+
23
+ ### Ember App
24
+
25
+ Where `frontend/` is the same as `path` from above
26
+
27
+ ```js
28
+ // ember-cli-build.js
29
+ var app = new EmberApp(defaults, {
30
+ fingerprint: {
31
+ enabled: true,
32
+ prepend: 'frontend/'
33
+ }
34
+ });
35
+ ```
36
+
37
+ Tell Ember to treat the app route as the main entry point of the Ember app.
38
+
39
+ ```js
40
+ // app/router.js
41
+ Router.map(function() {
42
+ this.route('frontend', { path: '/app/foo' }, function() {
43
+
44
+ });
45
+ });
46
+ ```
47
+
48
+ ## Running tests
49
+
50
+ - `cd` into ember app (`test/dummy/frontend`)
51
+ - `ember build`
52
+ - `cd` into dummy rails app (`test/dummy`)
53
+ - `cucumber`
@@ -0,0 +1,8 @@
1
+ require 'rspec/core/rake_task'
2
+ require "bundler/gem_tasks"
3
+
4
+ RSpec::Core::RakeTask.new(:spec) do |task|
5
+ task.rspec_opts = ['--color', '--format', 'documentation']
6
+ end
7
+
8
+ task :default => :spec
@@ -0,0 +1,29 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'ember-cli/routes/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "ember-cli-rails-routes"
8
+ spec.version = EmberCLI::Routes::VERSION
9
+ spec.authors = ["Chase McCarthy", "Jonathan Jackson"]
10
+ spec.email = ["chase@code0100fun.com", "jonathan.jackson1@me.com"]
11
+ spec.summary = %q{A simple route helper for loading Ember apps from Rails}
12
+ spec.description = %q{Allows for the serving of multiple Ember apps within one Rails app. The Ember apps index.html is loaded from Redis via ember-cli-rails-deploy-redis in production.}
13
+ spec.homepage = "https://github.com/code0100fun/ember-cli-rails-routes"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.7"
22
+ spec.add_development_dependency "rake", "~> 10.0"
23
+ spec.add_development_dependency "rspec"
24
+ spec.add_development_dependency "pry"
25
+
26
+ spec.add_dependency "railties", ">= 3.1", "< 5"
27
+ spec.add_dependency "sprockets", ">= 2.0"
28
+ spec.add_dependency "ember-cli-rails-deploy-redis", "~> 0.0.1"
29
+ end
@@ -0,0 +1,8 @@
1
+ require "ember-cli/routes/version"
2
+ require "ember-cli/routes/railtie"
3
+ require "ember-cli/routes/routes_patch"
4
+
5
+ module EmberCLI
6
+ module Routes
7
+ end
8
+ end
@@ -0,0 +1,23 @@
1
+ module EmberCLI
2
+ module Routes
3
+ class EmberController < ApplicationController
4
+ # TODO: Investigate if this is a vulnerability
5
+ protect_from_forgery :except => :handle_asset
6
+
7
+ def handle
8
+ if Rails.env.production?
9
+ deploy = EmberCLI::Deploy::Redis.new(namespace: "frontend")
10
+ render html: deploy.html.html_safe, layout: false
11
+ else
12
+ render file: "#{params[:dist_path]}/index.html", layout: false
13
+ end
14
+ end
15
+
16
+ # in development/test only
17
+ def handle_asset
18
+ filename = "#{params[:filename]}.#{params[:format]}"
19
+ render file: "#{params[:dist_path]}/assets/#{filename}", layout: false
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,9 @@
1
+ module EmberCLI
2
+ module Routes
3
+ class Railtie < Rails::Railtie
4
+ initializer "ember_cli_rails_routes.ember_controller" do |app|
5
+ require "ember-cli/routes/ember_controller"
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,27 @@
1
+ class ::ActionDispatch::Routing::Mapper
2
+ def ember_app(app, options)
3
+ scope = options.fetch(:scope, '')
4
+ route = "#{scope}/#{app}"
5
+ path = options.fetch(:path, route)
6
+ dist_path = options.fetch(:dist_path, "#{path}/dist")
7
+
8
+ Rails.application.routes.draw do
9
+ match "/#{path}/assets/*filename",
10
+ to: EmberCLI::Routes::EmberController.action(:handle_asset),
11
+ as: "#{app}_asset_app",
12
+ defaults: {
13
+ path: path,
14
+ dist_path: dist_path
15
+ },
16
+ via: :get
17
+ match "/#{route}(/*path)",
18
+ to: EmberCLI::Routes::EmberController.action(:handle),
19
+ as: "#{app}_app",
20
+ defaults: {
21
+ path: path,
22
+ dist_path: dist_path
23
+ },
24
+ via: :get
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,5 @@
1
+ module EmberCLI
2
+ module Routes
3
+ VERSION = "0.0.1"
4
+ end
5
+ end
@@ -0,0 +1,96 @@
1
+ # This file was generated by the `rspec --init` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
4
+ # this file to always be loaded, without a need to explicitly require it in any
5
+ # files.
6
+ #
7
+ # Given that it is always loaded, you are encouraged to keep this file as
8
+ # light-weight as possible. Requiring heavyweight dependencies from this file
9
+ # will add to the boot time of your test suite on EVERY test run, even for an
10
+ # individual file that may not need all of that loaded. Instead, consider making
11
+ # a separate helper file that requires the additional dependencies and performs
12
+ # the additional setup, and require it from the spec files that actually need
13
+ # it.
14
+ #
15
+ # The `.rspec` file also contains a few flags that are not defaults but that
16
+ # users commonly want.
17
+ #
18
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
19
+ RSpec.configure do |config|
20
+ # rspec-expectations config goes here. You can use an alternate
21
+ # assertion/expectation library such as wrong or the stdlib/minitest
22
+ # assertions if you prefer.
23
+ config.expect_with :rspec do |expectations|
24
+ # This option will default to `true` in RSpec 4. It makes the `description`
25
+ # and `failure_message` of custom matchers include text for helper methods
26
+ # defined using `chain`, e.g.:
27
+ # be_bigger_than(2).and_smaller_than(4).description
28
+ # # => "be bigger than 2 and smaller than 4"
29
+ # ...rather than:
30
+ # # => "be bigger than 2"
31
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
32
+ end
33
+
34
+ # rspec-mocks config goes here. You can use an alternate test double
35
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
36
+ config.mock_with :rspec do |mocks|
37
+ # Prevents you from mocking or stubbing a method that does not exist on
38
+ # a real object. This is generally recommended, and will default to
39
+ # `true` in RSpec 4.
40
+ mocks.verify_partial_doubles = true
41
+ end
42
+
43
+ # The settings below are suggested to provide a good initial experience
44
+ # with RSpec, but feel free to customize to your heart's content.
45
+ =begin
46
+ # These two settings work together to allow you to limit a spec run
47
+ # to individual examples or groups you care about by tagging them with
48
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
49
+ # get run.
50
+ config.filter_run :focus
51
+ config.run_all_when_everything_filtered = true
52
+
53
+ # Allows RSpec to persist some state between runs in order to support
54
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
55
+ # you configure your source control system to ignore this file.
56
+ config.example_status_persistence_file_path = "spec/examples.txt"
57
+
58
+ # Limits the available syntax to the non-monkey patched syntax that is
59
+ # recommended. For more details, see:
60
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
61
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
62
+ # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
63
+ config.disable_monkey_patching!
64
+
65
+ # This setting enables warnings. It's recommended, but in some cases may
66
+ # be too noisy due to issues in dependencies.
67
+ config.warnings = true
68
+
69
+ # Many RSpec users commonly either run the entire suite or an individual
70
+ # file, and it's useful to allow more verbose output when running an
71
+ # individual spec file.
72
+ if config.files_to_run.one?
73
+ # Use the documentation formatter for detailed output,
74
+ # unless a formatter has already been configured
75
+ # (e.g. via a command-line flag).
76
+ config.default_formatter = 'doc'
77
+ end
78
+
79
+ # Print the 10 slowest examples and example groups at the
80
+ # end of the spec run, to help surface which specs are running
81
+ # particularly slow.
82
+ config.profile_examples = 10
83
+
84
+ # Run specs in random order to surface order dependencies. If you find an
85
+ # order dependency and want to debug it, you can fix the order by providing
86
+ # the seed, which is printed after each run.
87
+ # --seed 1234
88
+ config.order = :random
89
+
90
+ # Seed global randomization in this process using the `--seed` CLI option.
91
+ # Setting this allows you to use `--seed` to deterministically reproduce
92
+ # test failures related to randomization by passing the same `--seed` value
93
+ # as the one that triggered the failure.
94
+ Kernel.srand config.seed
95
+ =end
96
+ end
@@ -0,0 +1,17 @@
1
+ # See https://help.github.com/articles/ignoring-files for more about ignoring files.
2
+ #
3
+ # If you find yourself ignoring temporary files generated by your text editor
4
+ # or operating system, you probably want to add a global ignore instead:
5
+ # git config --global core.excludesfile '~/.gitignore_global'
6
+
7
+ # Ignore bundler config.
8
+ /.bundle
9
+
10
+ # Ignore the default SQLite database.
11
+ /db/*.sqlite3
12
+ /db/*.sqlite3-journal
13
+
14
+ # Ignore all logfiles and tempfiles.
15
+ /log/*
16
+ !/log/.keep
17
+ /tmp
@@ -0,0 +1,44 @@
1
+ source 'https://rubygems.org'
2
+
3
+
4
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
5
+ gem 'rails', '4.2.4'
6
+ # Use sqlite3 as the database for Active Record
7
+ gem 'sqlite3'
8
+ # Use SCSS for stylesheets
9
+ gem 'sass-rails', '~> 5.0'
10
+ # Use Uglifier as compressor for JavaScript assets
11
+ gem 'uglifier', '>= 1.3.0'
12
+ # Use CoffeeScript for .coffee assets and views
13
+ gem 'coffee-rails', '~> 4.1.0'
14
+ # See https://github.com/rails/execjs#readme for more supported runtimes
15
+ # gem 'therubyracer', platforms: :ruby
16
+
17
+ # Use jquery as the JavaScript library
18
+ gem 'jquery-rails'
19
+ # bundle exec rake doc:rails generates the API under doc/api.
20
+ gem 'sdoc', '~> 0.4.0', group: :doc
21
+
22
+ gem 'ember-cli-rails-routes', path: '../../'
23
+
24
+ # Use ActiveModel has_secure_password
25
+ # gem 'bcrypt', '~> 3.1.7'
26
+
27
+ # Use Unicorn as the app server
28
+ # gem 'unicorn'
29
+
30
+ # Use Capistrano for deployment
31
+ # gem 'capistrano-rails', group: :development
32
+
33
+ group :development, :test do
34
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
35
+ gem 'byebug'
36
+ gem 'pry-rails'
37
+ end
38
+
39
+ group :test do
40
+ gem 'cucumber-rails', require: false
41
+ gem 'rspec'
42
+ gem 'database_cleaner'
43
+ gem 'capybara-webkit'
44
+ end
@@ -0,0 +1,203 @@
1
+ PATH
2
+ remote: ../../
3
+ specs:
4
+ ember-cli-rails-routes (0.0.1)
5
+ ember-cli-rails-deploy-redis (~> 0.0.1)
6
+ railties (>= 3.1, < 5)
7
+ sprockets (>= 2.0)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ actionmailer (4.2.4)
13
+ actionpack (= 4.2.4)
14
+ actionview (= 4.2.4)
15
+ activejob (= 4.2.4)
16
+ mail (~> 2.5, >= 2.5.4)
17
+ rails-dom-testing (~> 1.0, >= 1.0.5)
18
+ actionpack (4.2.4)
19
+ actionview (= 4.2.4)
20
+ activesupport (= 4.2.4)
21
+ rack (~> 1.6)
22
+ rack-test (~> 0.6.2)
23
+ rails-dom-testing (~> 1.0, >= 1.0.5)
24
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
25
+ actionview (4.2.4)
26
+ activesupport (= 4.2.4)
27
+ builder (~> 3.1)
28
+ erubis (~> 2.7.0)
29
+ rails-dom-testing (~> 1.0, >= 1.0.5)
30
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
31
+ activejob (4.2.4)
32
+ activesupport (= 4.2.4)
33
+ globalid (>= 0.3.0)
34
+ activemodel (4.2.4)
35
+ activesupport (= 4.2.4)
36
+ builder (~> 3.1)
37
+ activerecord (4.2.4)
38
+ activemodel (= 4.2.4)
39
+ activesupport (= 4.2.4)
40
+ arel (~> 6.0)
41
+ activesupport (4.2.4)
42
+ i18n (~> 0.7)
43
+ json (~> 1.7, >= 1.7.7)
44
+ minitest (~> 5.1)
45
+ thread_safe (~> 0.3, >= 0.3.4)
46
+ tzinfo (~> 1.1)
47
+ arel (6.0.3)
48
+ builder (3.2.2)
49
+ byebug (6.0.2)
50
+ capybara (2.4.4)
51
+ mime-types (>= 1.16)
52
+ nokogiri (>= 1.3.3)
53
+ rack (>= 1.0.0)
54
+ rack-test (>= 0.5.4)
55
+ xpath (~> 2.0)
56
+ capybara-webkit (1.6.0)
57
+ capybara (>= 2.3.0, < 2.5.0)
58
+ json
59
+ coderay (1.1.0)
60
+ coffee-rails (4.1.0)
61
+ coffee-script (>= 2.2.0)
62
+ railties (>= 4.0.0, < 5.0)
63
+ coffee-script (2.4.1)
64
+ coffee-script-source
65
+ execjs
66
+ coffee-script-source (1.9.1.1)
67
+ cucumber (1.3.20)
68
+ builder (>= 2.1.2)
69
+ diff-lcs (>= 1.1.3)
70
+ gherkin (~> 2.12)
71
+ multi_json (>= 1.7.5, < 2.0)
72
+ multi_test (>= 0.1.2)
73
+ cucumber-rails (1.4.2)
74
+ capybara (>= 1.1.2, < 3)
75
+ cucumber (>= 1.3.8, < 2)
76
+ mime-types (>= 1.16, < 3)
77
+ nokogiri (~> 1.5)
78
+ rails (>= 3, < 5)
79
+ database_cleaner (1.4.1)
80
+ diff-lcs (1.2.5)
81
+ ember-cli-rails-deploy-redis (0.0.1)
82
+ railties (>= 3.1, < 5)
83
+ redis (>= 3.0)
84
+ erubis (2.7.0)
85
+ execjs (2.6.0)
86
+ gherkin (2.12.2)
87
+ multi_json (~> 1.3)
88
+ globalid (0.3.6)
89
+ activesupport (>= 4.1.0)
90
+ i18n (0.7.0)
91
+ jquery-rails (4.0.5)
92
+ rails-dom-testing (~> 1.0)
93
+ railties (>= 4.2.0)
94
+ thor (>= 0.14, < 2.0)
95
+ json (1.8.3)
96
+ loofah (2.0.3)
97
+ nokogiri (>= 1.5.9)
98
+ mail (2.6.3)
99
+ mime-types (>= 1.16, < 3)
100
+ method_source (0.8.2)
101
+ mime-types (2.6.2)
102
+ mini_portile (0.6.2)
103
+ minitest (5.8.1)
104
+ multi_json (1.11.2)
105
+ multi_test (0.1.2)
106
+ nokogiri (1.6.6.2)
107
+ mini_portile (~> 0.6.0)
108
+ pry (0.10.3)
109
+ coderay (~> 1.1.0)
110
+ method_source (~> 0.8.1)
111
+ slop (~> 3.4)
112
+ pry-rails (0.3.4)
113
+ pry (>= 0.9.10)
114
+ rack (1.6.4)
115
+ rack-test (0.6.3)
116
+ rack (>= 1.0)
117
+ rails (4.2.4)
118
+ actionmailer (= 4.2.4)
119
+ actionpack (= 4.2.4)
120
+ actionview (= 4.2.4)
121
+ activejob (= 4.2.4)
122
+ activemodel (= 4.2.4)
123
+ activerecord (= 4.2.4)
124
+ activesupport (= 4.2.4)
125
+ bundler (>= 1.3.0, < 2.0)
126
+ railties (= 4.2.4)
127
+ sprockets-rails
128
+ rails-deprecated_sanitizer (1.0.3)
129
+ activesupport (>= 4.2.0.alpha)
130
+ rails-dom-testing (1.0.7)
131
+ activesupport (>= 4.2.0.beta, < 5.0)
132
+ nokogiri (~> 1.6.0)
133
+ rails-deprecated_sanitizer (>= 1.0.1)
134
+ rails-html-sanitizer (1.0.2)
135
+ loofah (~> 2.0)
136
+ railties (4.2.4)
137
+ actionpack (= 4.2.4)
138
+ activesupport (= 4.2.4)
139
+ rake (>= 0.8.7)
140
+ thor (>= 0.18.1, < 2.0)
141
+ rake (10.4.2)
142
+ rdoc (4.2.0)
143
+ redis (3.2.1)
144
+ rspec (3.3.0)
145
+ rspec-core (~> 3.3.0)
146
+ rspec-expectations (~> 3.3.0)
147
+ rspec-mocks (~> 3.3.0)
148
+ rspec-core (3.3.2)
149
+ rspec-support (~> 3.3.0)
150
+ rspec-expectations (3.3.1)
151
+ diff-lcs (>= 1.2.0, < 2.0)
152
+ rspec-support (~> 3.3.0)
153
+ rspec-mocks (3.3.2)
154
+ diff-lcs (>= 1.2.0, < 2.0)
155
+ rspec-support (~> 3.3.0)
156
+ rspec-support (3.3.0)
157
+ sass (3.4.18)
158
+ sass-rails (5.0.4)
159
+ railties (>= 4.0.0, < 5.0)
160
+ sass (~> 3.1)
161
+ sprockets (>= 2.8, < 4.0)
162
+ sprockets-rails (>= 2.0, < 4.0)
163
+ tilt (>= 1.1, < 3)
164
+ sdoc (0.4.1)
165
+ json (~> 1.7, >= 1.7.7)
166
+ rdoc (~> 4.0)
167
+ slop (3.6.0)
168
+ sprockets (3.3.5)
169
+ rack (> 1, < 3)
170
+ sprockets-rails (2.3.3)
171
+ actionpack (>= 3.0)
172
+ activesupport (>= 3.0)
173
+ sprockets (>= 2.8, < 4.0)
174
+ sqlite3 (1.3.10)
175
+ thor (0.19.1)
176
+ thread_safe (0.3.5)
177
+ tilt (2.0.1)
178
+ tzinfo (1.2.2)
179
+ thread_safe (~> 0.1)
180
+ uglifier (2.7.2)
181
+ execjs (>= 0.3.0)
182
+ json (>= 1.8.0)
183
+ xpath (2.0.0)
184
+ nokogiri (~> 1.3)
185
+
186
+ PLATFORMS
187
+ ruby
188
+
189
+ DEPENDENCIES
190
+ byebug
191
+ capybara-webkit
192
+ coffee-rails (~> 4.1.0)
193
+ cucumber-rails
194
+ database_cleaner
195
+ ember-cli-rails-routes!
196
+ jquery-rails
197
+ pry-rails
198
+ rails (= 4.2.4)
199
+ rspec
200
+ sass-rails (~> 5.0)
201
+ sdoc (~> 0.4.0)
202
+ sqlite3
203
+ uglifier (>= 1.3.0)