-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathreactive-ruby.gemspec
44 lines (37 loc) · 1.53 KB
/
reactive-ruby.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# -*- encoding: utf-8 -*-
$:.push File.expand_path('../lib/', __FILE__)
require 'reactive-ruby/version'
Gem::Specification.new do |s|
s.name = 'reactive-ruby'
s.version = React::VERSION
s.author = 'David Chang'
s.homepage = 'https://reactrb.org'
s.summary = 'Opal Ruby wrapper of React.js library.'
s.license = 'MIT'
s.description = "Write React UI components in pure Ruby."
s.files = `git ls-files`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.require_paths = ['lib']
s.add_dependency 'opal', '0.8.0'
s.add_dependency 'opal-activesupport', '>= 0.3.0'
s.add_dependency 'opal-browser', '0.2.0'
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec-rails', '3.3.3'
s.add_development_dependency 'timecop'
s.add_development_dependency 'opal-rspec', '0.4.3'
s.add_development_dependency 'sinatra'
# For Test Rails App
s.add_development_dependency 'rails', '4.2.4'
s.add_development_dependency 'react-rails', '1.3.1'
s.add_development_dependency 'opal-rails', '0.8.1'
if RUBY_PLATFORM == 'java'
s.add_development_dependency 'jdbc-sqlite3'
s.add_development_dependency 'activerecord-jdbcsqlite3-adapter'
s.add_development_dependency 'therubyrhino'
else
s.add_development_dependency 'sqlite3', '1.3.10'
s.add_development_dependency 'therubyracer', '0.12.2'
end
end