Skip to content

Commit 55f6501

Browse files
committed
Merge pull request #7 from zpao/jruby
Support & test JRuby Closes #6
2 parents c27d9ca + cb5d7a5 commit 55f6501

9 files changed

+18
-39
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ language: ruby
33
rvm:
44
- 2.0.0
55
- 1.9.3
6+
- jruby-19mode
67
before_install:
78
- gem install bundler --version '>= 1.2.2'
89
before_script: 'bundle exec rake appraisal:install'

gemfiles/rails_3.1.gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PATH
2-
remote: /home/jakub/code/react-rails
2+
remote: /Users/poshannessy/FB/code/react-rails
33
specs:
44
react-rails (0.4.1.0)
55
execjs
@@ -48,6 +48,7 @@ GEM
4848
i18n (0.6.4)
4949
journey (1.0.4)
5050
json (1.8.0)
51+
json (1.8.0-java)
5152
mail (2.5.4)
5253
mime-types (~> 1.16)
5354
treetop (~> 1.4.8)
@@ -85,7 +86,6 @@ GEM
8586
multi_json (~> 1.0)
8687
rack (~> 1.0)
8788
tilt (~> 1.1, != 1.3.0)
88-
sqlite3 (1.3.7)
8989
thor (0.18.1)
9090
tilt (1.4.1)
9191
treetop (1.4.14)
@@ -94,11 +94,11 @@ GEM
9494
tzinfo (0.3.37)
9595

9696
PLATFORMS
97+
java
9798
ruby
9899

99100
DEPENDENCIES
100101
appraisal
101102
bundler (>= 1.2.2)
102103
rails (~> 3.1)
103104
react-rails!
104-
sqlite3

gemfiles/rails_3.2.gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PATH
2-
remote: /home/jakub/code/react-rails
2+
remote: /Users/poshannessy/FB/code/react-rails
33
specs:
44
react-rails (0.4.1.0)
55
execjs
@@ -48,6 +48,7 @@ GEM
4848
i18n (0.6.4)
4949
journey (1.0.4)
5050
json (1.8.0)
51+
json (1.8.0-java)
5152
mail (2.5.4)
5253
mime-types (~> 1.16)
5354
treetop (~> 1.4.8)
@@ -85,7 +86,6 @@ GEM
8586
multi_json (~> 1.0)
8687
rack (~> 1.0)
8788
tilt (~> 1.1, != 1.3.0)
88-
sqlite3 (1.3.7)
8989
thor (0.18.1)
9090
tilt (1.4.1)
9191
treetop (1.4.14)
@@ -94,11 +94,11 @@ GEM
9494
tzinfo (0.3.37)
9595

9696
PLATFORMS
97+
java
9798
ruby
9899

99100
DEPENDENCIES
100101
appraisal
101102
bundler (>= 1.2.2)
102103
rails (~> 3.2)
103104
react-rails!
104-
sqlite3

gemfiles/rails_4.0.gemfile.lock

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PATH
2-
remote: /home/jakub/code/react-rails
2+
remote: /Users/poshannessy/FB/code/react-rails
33
specs:
44
react-rails (0.4.1.0)
55
execjs
@@ -38,6 +38,7 @@ GEM
3838
rake
3939
arel (4.0.0)
4040
atomic (1.1.12)
41+
atomic (1.1.12-java)
4142
builder (3.1.4)
4243
erubis (2.7.0)
4344
execjs (1.4.0)
@@ -78,22 +79,23 @@ GEM
7879
actionpack (>= 3.0)
7980
activesupport (>= 3.0)
8081
sprockets (~> 2.8)
81-
sqlite3 (1.3.7)
8282
thor (0.18.1)
8383
thread_safe (0.1.2)
8484
atomic
85+
thread_safe (0.1.2-java)
86+
atomic
8587
tilt (1.4.1)
8688
treetop (1.4.14)
8789
polyglot
8890
polyglot (>= 0.3.1)
8991
tzinfo (0.3.37)
9092

9193
PLATFORMS
94+
java
9295
ruby
9396

9497
DEPENDENCIES
9598
appraisal
9699
bundler (>= 1.2.2)
97100
rails (~> 4.0)
98101
react-rails!
99-
sqlite3

react-rails.gemspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Gem::Specification.new do |s|
1616

1717
s.add_development_dependency "bundler", [">= 1.2.2"]
1818
s.add_development_dependency "appraisal"
19-
s.add_development_dependency "sqlite3" # needed for the dummy app
2019

2120
s.add_dependency 'execjs'
2221
s.add_dependency 'rails', '>= 3.1'

test/dummy/config/application.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
require File.expand_path('../boot', __FILE__)
22

3-
require 'rails/all'
3+
# Pick the frameworks you want:
4+
# require "active_record/railtie"
5+
require "action_controller/railtie"
6+
require "action_mailer/railtie"
7+
require "sprockets/railtie"
8+
require "rails/test_unit/railtie"
49

510
Bundler.require(*Rails.groups)
611
require "react-rails"

test/dummy/config/database.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

test/dummy/config/environments/development.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@
1919
# Print deprecation notices to the Rails logger.
2020
config.active_support.deprecation = :log
2121

22-
# Raise an error on page load if there are pending migrations
23-
config.active_record.migration_error = :page_load
24-
2522
# Debug mode disables concatenation and preprocessing of assets.
2623
# This option may cause significant delays in view rendering with a large
2724
# number of complex assets.

test/dummy/db/test.sqlite3

Whitespace-only changes.

0 commit comments

Comments
 (0)