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

shakacode / react_on_rails / 2965
0%

Build:
DEFAULT BRANCH: master
Ran 11 Feb 2017 09:14PM UTC
Jobs 3
Files 32
Run time 8min
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

pending completion
2965

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%)

124.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2965.1 (2.0.0, spec/dummy/Gemfile) 11 Feb 2017 09:14PM UTC 0
99.33
Travis Job 2965.1
2 2965.2 (2.1.10, spec/dummy/Gemfile) 11 Feb 2017 09:21PM UTC 0
99.33
Travis Job 2965.2
3 2965.3 (2.2.6, spec/dummy/Gemfile) 11 Feb 2017 09:23PM UTC 0
99.33
Travis Job 2965.3
Source Files on build 2965
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2965
  • 85c6b08d on github
  • Prev Build on master (#2963)
  • Next Build on master (#2967)
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