• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

shakacode / react_on_rails / 2965 / 1
0%
master: 0%

Build:
DEFAULT BRANCH: master
Ran 11 Feb 2017 09:14PM UTC
Files 32
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Feb 2017 09:04PM UTC coverage: 99.329%. Remained the same
2.0.0, spec/dummy/Gemfile

push

travis-ci

justin808
Ability to work without sprockets (#671)

This enables omitting Sprockets.

Sprockets'  tasks (assets:*)  not available if you do not require 'sprockets/railtie' and when you try run some rake task got a message: 
```bash
ReactOnRails: Set generated_assets_dir to default: app/assets/webpack
Running via Spring preloader in process 18586
rake aborted!
Don't know how to build task 'assets:precompile' (see --tasks)
/Users/arthur/.rvm/gems/ruby-2.3.3/gems/react_on_rails-6.3.4/lib/tasks/assets.rake:35:in `<top (required)>'
...

```
My application config

```ruby
# frozen_string_literal: true
require_relative 'boot'

require 'rails'

# Pick the frameworks you want:
require 'active_model/railtie'
require 'active_job/railtie'
require 'active_record/railtie'
require 'action_controller/railtie'
require 'action_mailer/railtie'
require 'action_view/railtie'
# require 'sprockets/railtie'

Bundler.require(*Rails.groups)

module My
  class Application < Rails::Application
    # Settings in config/environments/* take precedence over those specified here.
    # Application configuration should go into files in config/initializers
    # -- all .rb files in that directory are automatically loaded.

    config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}').to_s]
    config.i18n.default_locale = :ru
    config.i18n.enforce_available_locales = true

    config.time_zone = 'Moscow'

    config.middleware.use I18n::JS::Middleware
  end
end
```

740 of 745 relevant lines covered (99.33%)

41.61 hits per line

Source Files on job 2965.1 (2.0.0, spec/dummy/Gemfile)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2965
  • Travis Job 2965.1
  • 85c6b08d on github
  • Prev Job for 2.0.0, spec/dummy/Gemfile on master (#2963.1)
  • Next Job for 2.0.0, spec/dummy/Gemfile on master (#2967.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc