Jon Moss
8cfce058d9
CI: run Action Cable browser tests in Sauce Labs
...
Allow failures until test runs are consistently stable, not hanging.
Closes #24943 .
Signed-off-by: Jeremy Daer <jeremydaer@gmail.com>
2016-05-25 09:21:28 -07:00
Javan Makhmali
11078dddbb
Build action_cable.js with Blade
2016-05-24 13:11:10 -04:00
Vipul A M
61483b18bc
Remove Blade gem dependency
...
Apps that depend on Action Cable don't need Blade for app development,
so we can remove the gem dependency.
We do need Blade for Action Cable dev, so we bundle it in the Gemfile.
Signed-off-by: Jeremy Daer <jeremydaer@gmail.com>
2016-05-21 12:41:01 -07:00
Rafael Mendonça França
8ecc5ab1d8
Start Rails 5.1 development 🎉
2016-05-10 03:46:56 -03:00
Jeremy Daer
ab56c92f3c
Merge pull request #23461 from kamipo/prepared_statements_for_mysql2_adapter
...
Add prepared statements support for `Mysql2Adapter`
2016-04-23 22:28:52 -07:00
Sean Griffin
1f47c4b0df
Make file update checker tests more resilient on Windows
...
Without the `wdm` gem, it appears that `listen` keeps an open handle to
each of these files, causing them not to be removed when the tempdir
tries to clean iteslf up, and then directory to fail to unlink. In
addition to fixing that particular failure, we now construct OS agnostic
paths, and capture exceptions if the directory fails to unlink so that
minitest will report it rather than crash
2016-04-21 10:54:54 -06:00
Ryuta Kamizono
3f6574efb1
Add prepared statements support for `Mysql2Adapter`
2016-04-21 09:17:42 +09:00
Benjamin Fleischer
3027970464
Run latest precompiled JRuby on CI only against ActionPack
...
Uses latest precompiled JRuby so that
we don't spend time downloading versions Travis has
not already compiled. http://rubies.travis-ci.org/
Uses latest jdk: oraclejdk8
per
https://docs.travis-ci.com/user/build-environment-updates/2015-02-03/#Ruby-VM
and
https://docs.travis-ci.com/user/languages/ruby/#Supported-Ruby-Versions-and-RVM
Follows on work in https://github.com/rails/rails/pull/23927 which was reverted
26fe5fa08d
JRUBY_OPTS minimize GC, disable JIT, for max test speed
- https://github.com/rails/rails/pull/16613
- https://github.com/rails/rails/pull/17088
Have Rails use JRuby-compatible Rake 11.1
- The Rake task was passing --verbose, an invalid option, to contemporary JRuby
- https://github.com/ruby/rake/pull/120
- https://github.com/rails-api/active_model_serializers/pull/1585
- https://github.com/jruby/jruby/issues/3653#issuecomment-195883717
No advantage to directly mounting JRuby over installing from cache; both on S3
- b2d5b336b5
- f4fad041b2
2016-03-30 02:11:45 -05:00
Rafael Mendonça França
92f869a0c8
Ping the resque version while we can't investigate the failure
2016-03-11 17:11:59 -03:00
T.J. Schuck
efbfdd4049
Version 3.1.11 works on Windows again
...
This undoes 7241498e51
https://github.com/codahale/bcrypt-ruby/issues/128 is fixed and closed.
2016-03-10 14:13:21 -05:00
Sarah A
f667f0aa04
Update Gemfile
...
Changes "as has to be loaded" to "as it has to be loaded"
2016-03-03 23:42:53 -08:00
Prathamesh Sonpatki
2669f3753d
Update turbolinks-rails for passing railties test
...
Ref - https://github.com/turbolinks/turbolinks-rails/pull/3
2016-02-05 17:02:22 +05:30
Rafael Mendonça França
dd67df6136
Test with Turbolinks 5
2016-02-04 14:24:36 -02:00
Mike Perham
f3433f7c75
Remove json gem dependency
...
All modern Rubies ship JSON as part of stdlib. Using the gem actually hurts multi-platform support due to build difficulties on Windows.
2016-02-03 10:49:14 -08:00
Matthew Draper
e77368637e
Switch the default redis adapter to a single-stream model
...
This new adapter does get a little more intimate with the redis-rb gem's
implementation than I would like, but it's the least bad of the
approaches I've come up with.
2016-02-01 01:56:47 +10:30
Matthew Draper
ce37de4a19
Add a couple of tests that connect with a WS client
2016-01-30 03:46:37 +10:30
Rafael Mendonça França
2c131141ca
Remove celluloid from the Gemfile
2016-01-27 15:44:26 -05:00
Jon Moss
a9a64c490d
Update ActiveJob adapter for sucker_punch 2.0
...
This PR includes two changes for 2.0.0:
- Breaking API change around `async.perform` --> `perform_async`
- New addition of `perform_in`, which now allows end users of the
adapter to use the `enqueued_at` public API method.
2016-01-27 12:49:35 -05:00
Matthew Draper
9ff28c10eb
Add tests for the ActionCable adapters
2016-01-24 21:13:40 +10:30
Brandon Hilkert
bc194937ad
Ensure sucker_punch < v2 is installed due to the change in public API
2016-01-02 14:54:15 -05:00
Rafael Mendonça França
477bed8871
Use released rack
2015-12-18 04:54:50 -02:00
Rafael Mendonça França
8f8cb1baa3
Install jquery-rails
...
It will make sure that the generated application in the tests get the
gem.
2015-12-18 04:13:53 -02:00
Matthew Draper
4a58aef7e3
Merge pull request #22642 from seuros/remove-mysql-adapter
...
Remove legacy mysql adapter
2015-12-18 13:51:04 +10:30
Jeremy Daer
7a6772c0e7
Use released GlobalID now that it provides URI::GID::MissingModelIdError for Active Job
2015-12-17 17:20:19 -07:00
Jon Moss
5d8ee1250f
Require Nokogiri >= 1.6.7.1
...
Many CVEs released: https://groups.google.com/forum/#!topic/ruby-security-ann/aSbgDiwb24s
2015-12-17 17:35:25 -05:00
Rafael Mendonça França
af5b05a4c0
Use release sprockets-rails
2015-12-17 18:22:58 -02:00
Rafael Mendonça França
d41386d788
Use released jquery-rails
2015-12-17 18:17:52 -02:00
Rafael Mendonça França
b611350e7c
Use released arel
2015-12-17 18:11:29 -02:00
Rafael Mendonça França
9b28b252e2
Use released mail gem
2015-12-17 17:16:08 -02:00
Abdelkader Boudih
fb24d0ed6c
Remove legacy mysql adapter
2015-12-17 15:54:57 +00:00
Rafael Mendonça França
606c435450
Use released turbolinks in the test suite
2015-12-17 13:31:49 -02:00
Rafael Mendonça França
4b669dbb91
Merge branch 'master' into merge-action-cable
2015-12-16 17:05:16 -02:00
Rafael Mendonça França
b1c19eb052
Merge branch 'sprockets-3'
2015-12-16 16:57:11 -02:00
Rafael Mendonça França
877a411d0c
Use sprockets 3 in the Rails 5 release
2015-12-16 16:30:58 -02:00
Sean Griffin
48c4edc4a6
Avoid conditionals in the Gemfile
...
"conditionals in the gemfile creates conditional code in the Gemfile.lock.
Since it is checked in the repository I think it is better to avoid it"
2015-12-16 10:33:09 -07:00
Sean Griffin
7241498e51
Require a version of bcrypt that works on Windows when needed
...
bcrypt 3.1.0 doesn't load on Windows. See
https://github.com/codahale/bcrypt-ruby/issues/128
for details.
2015-12-16 09:44:46 -07:00
Sean Griffin
371e357065
Add additional platforms for Windows
...
It appears that MRI on Windows can also appear as `:mingw`, if it was
installed via RubyInstaller.
2015-12-16 09:33:33 -07:00
Sean Griffin
3dd1f554ee
Ensure we install the database backend gems on Windows
...
platform `:ruby` is only MRI on Linux or Mac. Windows MRI shows up as
`:mswin` or `:mswin64` depending on if it was installed as 32 or 64 bit. I
am unsure if this will cause conflicts with JRuby on Windows, but I don't
have the means to test this at the moment.
2015-12-16 09:19:17 -07:00
Rafael Mendonça França
2e701a04d4
Remove action cable gems that are already in the gemspec
2015-12-14 14:28:13 -02:00
David Heinemeier Hansson
760de782f7
Initial stab at adding Action Cable to rails/master
2015-12-14 16:38:37 +01:00
David Heinemeier Hansson
bf40bddfce
Get ready to merge into Rails
2015-12-14 15:48:54 +01:00
Xavier Noria
a94d404510
lazy load listen in core
...
See the rationale in the comment present in this patch.
2015-12-13 18:59:34 +01:00
Tamir Duberstein
991d83f8ed
Update nokogiri to 1.6.7
...
This picks up https://github.com/sparklemotion/nokogiri/pull/1218
which allows nokogiri to compile on Xcode-only OS X systems.
2015-12-10 13:46:08 -05:00
Sean Griffin
b5bbdbd3bc
Revert "Add prepared statements support for `Mysql2Adapter`"
2015-11-26 11:53:10 -07:00
Godfrey Chan
14b20ce9b3
Upgrade to listen 3.0.5, re-enable tests
...
In listen 3.0.4 and below, the `#stop` method on the notification
backends are a no-op, meaning that we are leaking them per test. This
ended up triggering another bug in Ruby that causes our builds to fail
randomly on CI.
listen bug: https://github.com/guard/listen/issues/353
ruby bug: https://bugs.ruby-lang.org/issues/11744
2015-11-26 10:35:20 -08:00
Ryuta Kamizono
38746d085b
Add prepared statements support for `Mysql2Adapter`
2015-11-26 11:16:26 +09:00
Xavier Noria
d47b982268
upgrade listen to 3.0.4
...
3.0.3 has a bug in OS X.
2015-11-08 22:49:50 -08:00
Xavier Noria
785adabc4b
implements an evented file update checker [Puneet Agarwal]
...
This is the implementation of the file update checker written
by Puneet Agarwal for GSoC 2015 (except for the tiny version
of the listen gem, which was 3.0.2 in the original patch).
Puneet's branch became too out of sync with upstream. This is
the final work in one single clean commit.
Credit goes in the first line using a convention understood
by the contrib app.
2015-11-08 22:49:49 -08:00
Jeremy Daer
d7ab5c8f1f
Test against Rails edge by default. CI against 4.2 also.
...
* Don't deep-require to AD::Http::Request since it misses Mime autoload
2015-10-16 00:58:06 -07:00
Xavier Noria
96b1fbdeb1
edit pass over the project Gemfile [ci skip]
...
* Revises the name of Rails components (they have a space).
* Uniform word wrap at column 80..
* Uniform punctuation, according to our guidelines.
* Minor edits of details seen in passing.
2015-10-12 13:50:24 +02:00