File tree Expand file tree Collapse file tree 11 files changed +312
-3
lines changed
Expand file tree Collapse file tree 11 files changed +312
-3
lines changed Original file line number Diff line number Diff line change 11language : ruby
22rvm :
3- - 2.3.0
3+ - 2.0.0
4+ - 2.1.10
5+ - 2.2.5
6+ - 2.3.1
7+ gemfile :
8+ - gemfiles/rails_5_0.gemfile
9+ - gemfiles/rails_4_2.gemfile
10+ - gemfiles/rails_4_1.gemfile
11+ matrix :
12+ exclude :
13+ - rvm : 2.0.0
14+ gemfile : gemfiles/rails_5_0.gemfile
15+ - rvm : 2.1.10
16+ gemfile : gemfiles/rails_5_0.gemfile
417before_install : gem update bundler
18+ sudo : false
Original file line number Diff line number Diff line change 1+ appraise "rails-5-0" do
2+ gem "activerecord" , "~> 5.0.0"
3+ end
4+
5+ appraise "rails-4-2" do
6+ gem "activerecord" , "~> 4.2.6"
7+ end
8+
9+ appraise "rails-4-1" do
10+ gem "activerecord" , "~> 4.1.15"
11+ end
Original file line number Diff line number Diff line change @@ -16,6 +16,11 @@ This Ruby gem enhances `ActiveRecord::Base` to save a draft version of the curre
1616* A draft is optionally linked to a parent instance. This helps showing existing drafts in a context (e.g. message drafts for a given topic)
1717* Only 80 lines of code
1818
19+ ## Requirements
20+
21+ * Ruby 2.0.0 or newer
22+ * ActiveRecord 4.1 or newer (including 5.0)
23+
1924
2025## Installation
2126
Original file line number Diff line number Diff line change @@ -20,13 +20,14 @@ Gem::Specification.new do |spec|
2020 spec . executables = spec . files . grep ( %r{^exe/} ) { |f | File . basename ( f ) }
2121 spec . require_paths = [ "lib" ]
2222
23- spec . add_dependency "activerecord" , ">= 3.0 "
23+ spec . add_dependency "activerecord" , ">= 4.1 "
2424
2525 spec . add_development_dependency "bundler"
2626 spec . add_development_dependency "rake"
2727 spec . add_development_dependency "rspec"
2828 spec . add_development_dependency "sqlite3"
2929 spec . add_development_dependency "factory_girl"
3030 spec . add_development_dependency "coveralls"
31- spec . add_development_dependency "simplecov" , "~> 0.11.0"
31+ spec . add_development_dependency "simplecov"
32+ spec . add_development_dependency "appraisal"
3233end
Original file line number Diff line number Diff line change 1+ # This file was generated by Appraisal
2+
3+ source "https://rubygems.org"
4+
5+ gem "activerecord", "~> 4.1.15"
6+
7+ gemspec :path => "../"
Original file line number Diff line number Diff line change 1+ PATH
2+ remote: ../
3+ specs:
4+ drafting (0.2.0)
5+ activerecord (>= 4.1)
6+
7+ GEM
8+ remote: https://rubygems.org/
9+ specs:
10+ activemodel (4.1.15)
11+ activesupport (= 4.1.15)
12+ builder (~> 3.1)
13+ activerecord (4.1.15)
14+ activemodel (= 4.1.15)
15+ activesupport (= 4.1.15)
16+ arel (~> 5.0.0)
17+ activesupport (4.1.15)
18+ i18n (~> 0.6, >= 0.6.9)
19+ json (~> 1.7, >= 1.7.7)
20+ minitest (~> 5.1)
21+ thread_safe (~> 0.1)
22+ tzinfo (~> 1.1)
23+ appraisal (2.1.0)
24+ bundler
25+ rake
26+ thor (>= 0.14.0)
27+ arel (5.0.1.20140414130214)
28+ builder (3.2.2)
29+ coveralls (0.8.13)
30+ json (~> 1.8)
31+ simplecov (~> 0.11.0)
32+ term-ansicolor (~> 1.3)
33+ thor (~> 0.19.1)
34+ tins (~> 1.6.0)
35+ diff-lcs (1.2.5)
36+ docile (1.1.5)
37+ factory_girl (4.7.0)
38+ activesupport (>= 3.0.0)
39+ i18n (0.7.0)
40+ json (1.8.3)
41+ minitest (5.9.0)
42+ rake (11.2.2)
43+ rspec (3.5.0)
44+ rspec-core (~> 3.5.0)
45+ rspec-expectations (~> 3.5.0)
46+ rspec-mocks (~> 3.5.0)
47+ rspec-core (3.5.0)
48+ rspec-support (~> 3.5.0)
49+ rspec-expectations (3.5.0)
50+ diff-lcs (>= 1.2.0, < 2.0)
51+ rspec-support (~> 3.5.0)
52+ rspec-mocks (3.5.0)
53+ diff-lcs (>= 1.2.0, < 2.0)
54+ rspec-support (~> 3.5.0)
55+ rspec-support (3.5.0)
56+ simplecov (0.11.2)
57+ docile (~> 1.1.0)
58+ json (~> 1.8)
59+ simplecov-html (~> 0.10.0)
60+ simplecov-html (0.10.0)
61+ sqlite3 (1.3.11)
62+ term-ansicolor (1.3.2)
63+ tins (~> 1.0)
64+ thor (0.19.1)
65+ thread_safe (0.3.5)
66+ tins (1.6.0)
67+ tzinfo (1.2.2)
68+ thread_safe (~> 0.1)
69+
70+ PLATFORMS
71+ ruby
72+
73+ DEPENDENCIES
74+ activerecord (~> 4.1.15)
75+ appraisal
76+ bundler
77+ coveralls
78+ drafting!
79+ factory_girl
80+ rake
81+ rspec
82+ simplecov
83+ sqlite3
84+
85+ BUNDLED WITH
86+ 1.12.5
Original file line number Diff line number Diff line change 1+ # This file was generated by Appraisal
2+
3+ source "https://rubygems.org"
4+
5+ gem "activerecord", "~> 4.2.6"
6+
7+ gemspec :path => "../"
Original file line number Diff line number Diff line change 1+ PATH
2+ remote: ../
3+ specs:
4+ drafting (0.2.0)
5+ activerecord (>= 4.1)
6+
7+ GEM
8+ remote: https://rubygems.org/
9+ specs:
10+ activemodel (4.2.6)
11+ activesupport (= 4.2.6)
12+ builder (~> 3.1)
13+ activerecord (4.2.6)
14+ activemodel (= 4.2.6)
15+ activesupport (= 4.2.6)
16+ arel (~> 6.0)
17+ activesupport (4.2.6)
18+ i18n (~> 0.7)
19+ json (~> 1.7, >= 1.7.7)
20+ minitest (~> 5.1)
21+ thread_safe (~> 0.3, >= 0.3.4)
22+ tzinfo (~> 1.1)
23+ appraisal (2.1.0)
24+ bundler
25+ rake
26+ thor (>= 0.14.0)
27+ arel (6.0.3)
28+ builder (3.2.2)
29+ coveralls (0.8.13)
30+ json (~> 1.8)
31+ simplecov (~> 0.11.0)
32+ term-ansicolor (~> 1.3)
33+ thor (~> 0.19.1)
34+ tins (~> 1.6.0)
35+ diff-lcs (1.2.5)
36+ docile (1.1.5)
37+ factory_girl (4.7.0)
38+ activesupport (>= 3.0.0)
39+ i18n (0.7.0)
40+ json (1.8.3)
41+ minitest (5.9.0)
42+ rake (11.2.2)
43+ rspec (3.5.0)
44+ rspec-core (~> 3.5.0)
45+ rspec-expectations (~> 3.5.0)
46+ rspec-mocks (~> 3.5.0)
47+ rspec-core (3.5.0)
48+ rspec-support (~> 3.5.0)
49+ rspec-expectations (3.5.0)
50+ diff-lcs (>= 1.2.0, < 2.0)
51+ rspec-support (~> 3.5.0)
52+ rspec-mocks (3.5.0)
53+ diff-lcs (>= 1.2.0, < 2.0)
54+ rspec-support (~> 3.5.0)
55+ rspec-support (3.5.0)
56+ simplecov (0.11.2)
57+ docile (~> 1.1.0)
58+ json (~> 1.8)
59+ simplecov-html (~> 0.10.0)
60+ simplecov-html (0.10.0)
61+ sqlite3 (1.3.11)
62+ term-ansicolor (1.3.2)
63+ tins (~> 1.0)
64+ thor (0.19.1)
65+ thread_safe (0.3.5)
66+ tins (1.6.0)
67+ tzinfo (1.2.2)
68+ thread_safe (~> 0.1)
69+
70+ PLATFORMS
71+ ruby
72+
73+ DEPENDENCIES
74+ activerecord (~> 4.2.6)
75+ appraisal
76+ bundler
77+ coveralls
78+ drafting!
79+ factory_girl
80+ rake
81+ rspec
82+ simplecov
83+ sqlite3
84+
85+ BUNDLED WITH
86+ 1.12.5
Original file line number Diff line number Diff line change 1+ # This file was generated by Appraisal
2+
3+ source "https://rubygems.org"
4+
5+ gem "activerecord", "~> 5.0.0"
6+
7+ gemspec :path => "../"
Original file line number Diff line number Diff line change 1+ PATH
2+ remote: ../
3+ specs:
4+ drafting (0.2.0)
5+ activerecord (>= 4.1)
6+
7+ GEM
8+ remote: https://rubygems.org/
9+ specs:
10+ activemodel (5.0.0)
11+ activesupport (= 5.0.0)
12+ activerecord (5.0.0)
13+ activemodel (= 5.0.0)
14+ activesupport (= 5.0.0)
15+ arel (~> 7.0)
16+ activesupport (5.0.0)
17+ concurrent-ruby (~> 1.0, >= 1.0.2)
18+ i18n (~> 0.7)
19+ minitest (~> 5.1)
20+ tzinfo (~> 1.1)
21+ appraisal (2.1.0)
22+ bundler
23+ rake
24+ thor (>= 0.14.0)
25+ arel (7.0.0)
26+ concurrent-ruby (1.0.2)
27+ coveralls (0.8.13)
28+ json (~> 1.8)
29+ simplecov (~> 0.11.0)
30+ term-ansicolor (~> 1.3)
31+ thor (~> 0.19.1)
32+ tins (~> 1.6.0)
33+ diff-lcs (1.2.5)
34+ docile (1.1.5)
35+ factory_girl (4.7.0)
36+ activesupport (>= 3.0.0)
37+ i18n (0.7.0)
38+ json (1.8.3)
39+ minitest (5.9.0)
40+ rake (11.2.2)
41+ rspec (3.5.0)
42+ rspec-core (~> 3.5.0)
43+ rspec-expectations (~> 3.5.0)
44+ rspec-mocks (~> 3.5.0)
45+ rspec-core (3.5.0)
46+ rspec-support (~> 3.5.0)
47+ rspec-expectations (3.5.0)
48+ diff-lcs (>= 1.2.0, < 2.0)
49+ rspec-support (~> 3.5.0)
50+ rspec-mocks (3.5.0)
51+ diff-lcs (>= 1.2.0, < 2.0)
52+ rspec-support (~> 3.5.0)
53+ rspec-support (3.5.0)
54+ simplecov (0.11.2)
55+ docile (~> 1.1.0)
56+ json (~> 1.8)
57+ simplecov-html (~> 0.10.0)
58+ simplecov-html (0.10.0)
59+ sqlite3 (1.3.11)
60+ term-ansicolor (1.3.2)
61+ tins (~> 1.0)
62+ thor (0.19.1)
63+ thread_safe (0.3.5)
64+ tins (1.6.0)
65+ tzinfo (1.2.2)
66+ thread_safe (~> 0.1)
67+
68+ PLATFORMS
69+ ruby
70+
71+ DEPENDENCIES
72+ activerecord (~> 5.0.0)
73+ appraisal
74+ bundler
75+ coveralls
76+ drafting!
77+ factory_girl
78+ rake
79+ rspec
80+ simplecov
81+ sqlite3
82+
83+ BUNDLED WITH
84+ 1.12.5
You can’t perform that action at this time.
0 commit comments