guise 0.6.1 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3858a11b1271af985331bca2938cefe55ef3af4101b2867c74adbd514ff7b62c
4
- data.tar.gz: d72cb965723c707706413205928839b9f69f26aadd7ddb920396cb712485bb99
3
+ metadata.gz: f734805912d6d41c5bea12c900de53418dbabcd8951f33b153e302fa9d518512
4
+ data.tar.gz: 35becba0099ad794d2e3e81b9aa6ac15e784bc7d21f67018f951ed045d4ccbc3
5
5
  SHA512:
6
- metadata.gz: '039f0457aea9b8d7111b87e903bfb0a47061327f0f84d57515a83062ad7c53900e620ce85955d27ca3f29b392f38eaf8d1a0f39b181bc415b9e9d0b975040078'
7
- data.tar.gz: 97e49173adf5490ea020e21a9f28ebcaf73abcd6d92a495c58eb41c2907f9ca9af712382294bf4f0e50b9a890a3e925ed846d59f330ba6f119e14af33c99f6ea
6
+ metadata.gz: 28ef2181765e4693ca12b867ba5e4b567c0638f67c910d0a5e3255ab944a44a540586e76c420d00dd72f1b0dca55f20456146a182764d59edfbd5c6695f20772
7
+ data.tar.gz: 26d10ef77b03d82ef0366930dbabf570f89485223e39080a7f03d9f0d15fbe1fc2983ed0a40d5fd2f01f5e2934492b3a6ca0a2889226fb2e41fdc505d6763d30
data/.travis.yml CHANGED
@@ -1,33 +1,18 @@
1
1
  sudo: false
2
2
  cache: bundler
3
3
  rvm:
4
- - 2.0.0
5
- - 2.1.8
6
- - 2.2.4
7
- - 2.3.0
4
+ - 2.3.7
5
+ - 2.4.4
6
+ - 2.5.1
8
7
  gemfile:
9
- - gemfiles/3.1.gemfile
10
- - gemfiles/3.2.gemfile
11
- - gemfiles/4.0.gemfile
12
- - gemfiles/4.1.gemfile
13
8
  - gemfiles/4.2.gemfile
14
9
  - gemfiles/5.0.gemfile
10
+ - gemfiles/5.1.gemfile
11
+ - gemfiles/5.2.gemfile
12
+ before_install:
13
+ - gem update --system
14
+ - gem install bundler
15
15
  script: 'bundle exec rake'
16
- env:
17
- global:
18
- # Code Climate coverage reporting
19
- - secure: "I0cDQLpPt8NlOswL5Vomim4gb+NHvLW+0mPf2iimP1gTE5C+3PnoomCRx//0CyI/NSMhjrHg8DbrkvtBCfAYinrgzCi3cUkofi0zn5T6GaGUfYQz4Bmh7fmvppRVpVDCSXMOzOSYYEXBnie5b865BYTDrt1U3aM8qvq7pd/XOXg="
20
16
  matrix:
21
- exclude:
22
- - rvm: 2.2.4
23
- gemfile: gemfiles/3.1.gemfile
24
- - rvm: 2.3.0
25
- gemfile: gemfiles/3.1.gemfile
26
- - rvm: 2.2.4
27
- gemfile: gemfiles/3.2.gemfile
28
- - rvm: 2.0.0
29
- gemfile: gemfiles/5.0.gemfile
30
- - rvm: 2.1.8
31
- gemfile: gemfiles/5.0.gemfile
32
17
  allow_failures:
33
- - gemfile: gemfiles/5.0.gemfile
18
+ - gemfile: gemfiles/5.2.gemfile
data/Appraisals CHANGED
@@ -1,29 +1,19 @@
1
- appraise '3.1' do
2
- gem 'activerecord', '~> 3.1.0'
3
- gem 'activesupport', '~> 3.1.0'
4
- end
5
-
6
- appraise '3.2' do
7
- gem 'activerecord', '~> 3.2.0'
8
- gem 'activesupport', '~> 3.2.0'
9
- end
10
-
11
- appraise '4.0' do
12
- gem 'activerecord', '~> 4.0.0'
13
- gem 'activesupport', '~> 4.0.0'
14
- end
15
-
16
- appraise '4.1' do
17
- gem 'activerecord', '~> 4.1.0'
18
- gem 'activesupport', '~> 4.1.0'
19
- end
20
-
21
1
  appraise '4.2' do
22
2
  gem 'activerecord', '~> 4.2.0'
23
3
  gem 'activesupport', '~> 4.2.0'
24
4
  end
25
5
 
26
6
  appraise '5.0' do
27
- gem 'activerecord', '~> 5.0.0.beta'
28
- gem 'activesupport', '~> 5.0.0.beta'
7
+ gem 'activerecord', '~> 5.0.0'
8
+ gem 'activesupport', '~> 5.0.0'
9
+ end
10
+
11
+ appraise '5.1' do
12
+ gem 'activerecord', '~> 5.1.0'
13
+ gem 'activesupport', '~> 5.1.0'
14
+ end
15
+
16
+ appraise '5.2' do
17
+ gem 'activerecord', '~> 5.2.0.rc2'
18
+ gem 'activesupport', '~> 5.2.0.rc2'
29
19
  end
data/CHANGELOG.md ADDED
@@ -0,0 +1,14 @@
1
+ # Changelog
2
+
3
+ ## [0.7.0] 2018-04-09
4
+ ### Removed
5
+
6
+ * Support for ruby < 2.3
7
+ * Support for rails < 4.2
8
+
9
+ ## [0.6.1] 2018-04-09
10
+ ### Fixed
11
+
12
+ * Fix broken `require` statement
13
+ * Correct proxy to `has_guise?` definitions. If `:Labtech` is a defined value,
14
+ correct how the `lab_tech?` predicate calls `has_guise?(:lab_tech)`.
data/Rakefile CHANGED
@@ -2,7 +2,6 @@
2
2
  require 'bundler/gem_tasks'
3
3
  require 'bundler/setup'
4
4
  require 'rspec/core/rake_task'
5
- require 'appraisal'
6
5
 
7
6
  desc "Run specs"
8
7
  RSpec::Core::RakeTask.new('spec') do |task|
data/gemfiles/3.1.gemfile CHANGED
@@ -5,4 +5,4 @@ source "https://rubygems.org"
5
5
  gem "activerecord", "~> 3.1.0"
6
6
  gem "activesupport", "~> 3.1.0"
7
7
 
8
- gemspec :path => "../"
8
+ gemspec path: "../"
data/gemfiles/3.2.gemfile CHANGED
@@ -5,4 +5,4 @@ source "https://rubygems.org"
5
5
  gem "activerecord", "~> 3.2.0"
6
6
  gem "activesupport", "~> 3.2.0"
7
7
 
8
- gemspec :path => "../"
8
+ gemspec path: "../"
data/gemfiles/4.0.gemfile CHANGED
@@ -5,4 +5,4 @@ source "https://rubygems.org"
5
5
  gem "activerecord", "~> 4.0.0"
6
6
  gem "activesupport", "~> 4.0.0"
7
7
 
8
- gemspec :path => "../"
8
+ gemspec path: "../"
data/gemfiles/4.1.gemfile CHANGED
@@ -5,4 +5,4 @@ source "https://rubygems.org"
5
5
  gem "activerecord", "~> 4.1.0"
6
6
  gem "activesupport", "~> 4.1.0"
7
7
 
8
- gemspec :path => "../"
8
+ gemspec path: "../"
data/gemfiles/4.2.gemfile CHANGED
@@ -5,4 +5,4 @@ source "https://rubygems.org"
5
5
  gem "activerecord", "~> 4.2.0"
6
6
  gem "activesupport", "~> 4.2.0"
7
7
 
8
- gemspec :path => "../"
8
+ gemspec path: "../"
@@ -1,75 +1,63 @@
1
1
  PATH
2
- remote: ../
2
+ remote: ..
3
3
  specs:
4
4
  guise (0.6.0)
5
- activerecord (>= 3.1, < 5.0)
6
- activesupport (>= 3.1, < 5.0)
5
+ activerecord (>= 4.2, < 6.0)
6
+ activesupport (>= 4.2, < 6.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activemodel (4.2.5)
12
- activesupport (= 4.2.5)
11
+ activemodel (4.2.10)
12
+ activesupport (= 4.2.10)
13
13
  builder (~> 3.1)
14
- activerecord (4.2.5)
15
- activemodel (= 4.2.5)
16
- activesupport (= 4.2.5)
14
+ activerecord (4.2.10)
15
+ activemodel (= 4.2.10)
16
+ activesupport (= 4.2.10)
17
17
  arel (~> 6.0)
18
- activesupport (4.2.5)
18
+ activesupport (4.2.10)
19
19
  i18n (~> 0.7)
20
- json (~> 1.7, >= 1.7.7)
21
20
  minitest (~> 5.1)
22
21
  thread_safe (~> 0.3, >= 0.3.4)
23
22
  tzinfo (~> 1.1)
24
- appraisal (2.1.0)
23
+ appraisal (2.2.0)
25
24
  bundler
26
25
  rake
27
26
  thor (>= 0.14.0)
28
- arel (6.0.3)
29
- builder (3.2.2)
30
- byebug (5.0.0)
31
- columnize (= 0.9.0)
32
- codeclimate-test-reporter (0.4.8)
33
- simplecov (>= 0.7.1, < 1.0.0)
34
- coderay (1.1.0)
35
- columnize (0.9.0)
36
- diff-lcs (1.2.5)
37
- docile (1.1.5)
38
- i18n (0.7.0)
39
- json (1.8.3)
40
- method_source (0.8.2)
41
- minitest (5.8.2)
42
- pry (0.10.3)
27
+ arel (6.0.4)
28
+ builder (3.2.3)
29
+ byebug (10.0.2)
30
+ coderay (1.1.2)
31
+ concurrent-ruby (1.0.5)
32
+ diff-lcs (1.3)
33
+ i18n (0.9.5)
34
+ concurrent-ruby (~> 1.0)
35
+ method_source (0.9.0)
36
+ minitest (5.11.3)
37
+ pry (0.11.3)
43
38
  coderay (~> 1.1.0)
44
- method_source (~> 0.8.1)
45
- slop (~> 3.4)
46
- rake (10.4.2)
47
- redcarpet (3.3.3)
48
- rspec (3.4.0)
49
- rspec-core (~> 3.4.0)
50
- rspec-expectations (~> 3.4.0)
51
- rspec-mocks (~> 3.4.0)
52
- rspec-core (3.4.0)
53
- rspec-support (~> 3.4.0)
54
- rspec-expectations (3.4.0)
39
+ method_source (~> 0.9.0)
40
+ rake (12.3.1)
41
+ redcarpet (3.4.0)
42
+ rspec (3.7.0)
43
+ rspec-core (~> 3.7.0)
44
+ rspec-expectations (~> 3.7.0)
45
+ rspec-mocks (~> 3.7.0)
46
+ rspec-core (3.7.1)
47
+ rspec-support (~> 3.7.0)
48
+ rspec-expectations (3.7.0)
55
49
  diff-lcs (>= 1.2.0, < 2.0)
56
- rspec-support (~> 3.4.0)
57
- rspec-mocks (3.4.0)
50
+ rspec-support (~> 3.7.0)
51
+ rspec-mocks (3.7.0)
58
52
  diff-lcs (>= 1.2.0, < 2.0)
59
- rspec-support (~> 3.4.0)
60
- rspec-support (3.4.0)
61
- simplecov (0.10.0)
62
- docile (~> 1.1.0)
63
- json (~> 1.8)
64
- simplecov-html (~> 0.10.0)
65
- simplecov-html (0.10.0)
66
- slop (3.6.0)
67
- sqlite3 (1.3.11)
68
- thor (0.19.1)
69
- thread_safe (0.3.5)
70
- tzinfo (1.2.2)
53
+ rspec-support (~> 3.7.0)
54
+ rspec-support (3.7.1)
55
+ sqlite3 (1.3.13)
56
+ thor (0.20.0)
57
+ thread_safe (0.3.6)
58
+ tzinfo (1.2.5)
71
59
  thread_safe (~> 0.1)
72
- yard (0.8.7.6)
60
+ yard (0.9.12)
73
61
 
74
62
  PLATFORMS
75
63
  ruby
@@ -78,15 +66,14 @@ DEPENDENCIES
78
66
  activerecord (~> 4.2.0)
79
67
  activesupport (~> 4.2.0)
80
68
  appraisal (>= 1.0)
81
- byebug (~> 5.0)
82
- codeclimate-test-reporter (~> 0.3)
69
+ byebug (~> 10.0)
83
70
  guise!
84
71
  pry (~> 0.9)
85
- rake (~> 10.1)
72
+ rake (~> 12.3)
86
73
  redcarpet (~> 3.2)
87
74
  rspec (~> 3.0)
88
75
  sqlite3 (~> 1.3)
89
76
  yard (~> 0.8)
90
77
 
91
78
  BUNDLED WITH
92
- 1.10.6
79
+ 1.16.1
data/gemfiles/5.0.gemfile CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "activerecord", "~> 5.0.0.beta"
6
- gem "activesupport", "~> 5.0.0.beta"
5
+ gem "activerecord", "~> 5.0.0"
6
+ gem "activesupport", "~> 5.0.0"
7
7
 
8
- gemspec :path => "../"
8
+ gemspec path: "../"
@@ -1,94 +1,77 @@
1
1
  PATH
2
- remote: ../
2
+ remote: ..
3
3
  specs:
4
4
  guise (0.6.0)
5
- activerecord (>= 3.1, < 5.0)
6
- activesupport (>= 3.1, < 5.0)
5
+ activerecord (>= 4.2, < 6.0)
6
+ activesupport (>= 4.2, < 6.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activemodel (5.0.0.beta1)
12
- activesupport (= 5.0.0.beta1)
13
- builder (~> 3.1)
14
- activerecord (5.0.0.beta1)
15
- activemodel (= 5.0.0.beta1)
16
- activesupport (= 5.0.0.beta1)
11
+ activemodel (5.0.7)
12
+ activesupport (= 5.0.7)
13
+ activerecord (5.0.7)
14
+ activemodel (= 5.0.7)
15
+ activesupport (= 5.0.7)
17
16
  arel (~> 7.0)
18
- activesupport (5.0.0.beta1)
19
- concurrent-ruby (~> 1.0)
20
- i18n (~> 0.7)
21
- json (~> 1.7, >= 1.7.7)
22
- method_source
17
+ activesupport (5.0.7)
18
+ concurrent-ruby (~> 1.0, >= 1.0.2)
19
+ i18n (>= 0.7, < 2)
23
20
  minitest (~> 5.1)
24
21
  tzinfo (~> 1.1)
25
- appraisal (2.1.0)
22
+ appraisal (2.2.0)
26
23
  bundler
27
24
  rake
28
25
  thor (>= 0.14.0)
29
- arel (7.0.0)
30
- builder (3.2.2)
31
- byebug (5.0.0)
32
- columnize (= 0.9.0)
33
- codeclimate-test-reporter (0.4.8)
34
- simplecov (>= 0.7.1, < 1.0.0)
35
- coderay (1.1.0)
36
- columnize (0.9.0)
37
- concurrent-ruby (1.0.0)
38
- diff-lcs (1.2.5)
39
- docile (1.1.5)
40
- i18n (0.7.0)
41
- json (1.8.3)
42
- method_source (0.8.2)
43
- minitest (5.8.3)
44
- pry (0.10.3)
26
+ arel (7.1.4)
27
+ byebug (10.0.2)
28
+ coderay (1.1.2)
29
+ concurrent-ruby (1.0.5)
30
+ diff-lcs (1.3)
31
+ i18n (1.0.0)
32
+ concurrent-ruby (~> 1.0)
33
+ method_source (0.9.0)
34
+ minitest (5.11.3)
35
+ pry (0.11.3)
45
36
  coderay (~> 1.1.0)
46
- method_source (~> 0.8.1)
47
- slop (~> 3.4)
48
- rake (10.5.0)
49
- redcarpet (3.3.4)
50
- rspec (3.4.0)
51
- rspec-core (~> 3.4.0)
52
- rspec-expectations (~> 3.4.0)
53
- rspec-mocks (~> 3.4.0)
54
- rspec-core (3.4.1)
55
- rspec-support (~> 3.4.0)
56
- rspec-expectations (3.4.0)
37
+ method_source (~> 0.9.0)
38
+ rake (12.3.1)
39
+ redcarpet (3.4.0)
40
+ rspec (3.7.0)
41
+ rspec-core (~> 3.7.0)
42
+ rspec-expectations (~> 3.7.0)
43
+ rspec-mocks (~> 3.7.0)
44
+ rspec-core (3.7.1)
45
+ rspec-support (~> 3.7.0)
46
+ rspec-expectations (3.7.0)
57
47
  diff-lcs (>= 1.2.0, < 2.0)
58
- rspec-support (~> 3.4.0)
59
- rspec-mocks (3.4.1)
48
+ rspec-support (~> 3.7.0)
49
+ rspec-mocks (3.7.0)
60
50
  diff-lcs (>= 1.2.0, < 2.0)
61
- rspec-support (~> 3.4.0)
62
- rspec-support (3.4.1)
63
- simplecov (0.11.1)
64
- docile (~> 1.1.0)
65
- json (~> 1.8)
66
- simplecov-html (~> 0.10.0)
67
- simplecov-html (0.10.0)
68
- slop (3.6.0)
69
- sqlite3 (1.3.11)
70
- thor (0.19.1)
71
- thread_safe (0.3.5)
72
- tzinfo (1.2.2)
51
+ rspec-support (~> 3.7.0)
52
+ rspec-support (3.7.1)
53
+ sqlite3 (1.3.13)
54
+ thor (0.20.0)
55
+ thread_safe (0.3.6)
56
+ tzinfo (1.2.5)
73
57
  thread_safe (~> 0.1)
74
- yard (0.8.7.6)
58
+ yard (0.9.12)
75
59
 
76
60
  PLATFORMS
77
61
  ruby
78
62
 
79
63
  DEPENDENCIES
80
- activerecord (~> 5.0.0.beta)
81
- activesupport (~> 5.0.0.beta)
64
+ activerecord (~> 5.0.0)
65
+ activesupport (~> 5.0.0)
82
66
  appraisal (>= 1.0)
83
- byebug (~> 5.0)
84
- codeclimate-test-reporter (~> 0.3)
67
+ byebug (~> 10.0)
85
68
  guise!
86
69
  pry (~> 0.9)
87
- rake (~> 10.1)
70
+ rake (~> 12.3)
88
71
  redcarpet (~> 3.2)
89
72
  rspec (~> 3.0)
90
73
  sqlite3 (~> 1.3)
91
74
  yard (~> 0.8)
92
75
 
93
76
  BUNDLED WITH
94
- 1.10.6
77
+ 1.16.1
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 5.1.0"
6
+ gem "activesupport", "~> 5.1.0"
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,77 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ guise (0.6.0)
5
+ activerecord (>= 4.2, < 6.0)
6
+ activesupport (>= 4.2, < 6.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activemodel (5.1.6)
12
+ activesupport (= 5.1.6)
13
+ activerecord (5.1.6)
14
+ activemodel (= 5.1.6)
15
+ activesupport (= 5.1.6)
16
+ arel (~> 8.0)
17
+ activesupport (5.1.6)
18
+ concurrent-ruby (~> 1.0, >= 1.0.2)
19
+ i18n (>= 0.7, < 2)
20
+ minitest (~> 5.1)
21
+ tzinfo (~> 1.1)
22
+ appraisal (2.2.0)
23
+ bundler
24
+ rake
25
+ thor (>= 0.14.0)
26
+ arel (8.0.0)
27
+ byebug (10.0.2)
28
+ coderay (1.1.2)
29
+ concurrent-ruby (1.0.5)
30
+ diff-lcs (1.3)
31
+ i18n (1.0.0)
32
+ concurrent-ruby (~> 1.0)
33
+ method_source (0.9.0)
34
+ minitest (5.11.3)
35
+ pry (0.11.3)
36
+ coderay (~> 1.1.0)
37
+ method_source (~> 0.9.0)
38
+ rake (12.3.1)
39
+ redcarpet (3.4.0)
40
+ rspec (3.7.0)
41
+ rspec-core (~> 3.7.0)
42
+ rspec-expectations (~> 3.7.0)
43
+ rspec-mocks (~> 3.7.0)
44
+ rspec-core (3.7.1)
45
+ rspec-support (~> 3.7.0)
46
+ rspec-expectations (3.7.0)
47
+ diff-lcs (>= 1.2.0, < 2.0)
48
+ rspec-support (~> 3.7.0)
49
+ rspec-mocks (3.7.0)
50
+ diff-lcs (>= 1.2.0, < 2.0)
51
+ rspec-support (~> 3.7.0)
52
+ rspec-support (3.7.1)
53
+ sqlite3 (1.3.13)
54
+ thor (0.20.0)
55
+ thread_safe (0.3.6)
56
+ tzinfo (1.2.5)
57
+ thread_safe (~> 0.1)
58
+ yard (0.9.12)
59
+
60
+ PLATFORMS
61
+ ruby
62
+
63
+ DEPENDENCIES
64
+ activerecord (~> 5.1.0)
65
+ activesupport (~> 5.1.0)
66
+ appraisal (>= 1.0)
67
+ byebug (~> 10.0)
68
+ guise!
69
+ pry (~> 0.9)
70
+ rake (~> 12.3)
71
+ redcarpet (~> 3.2)
72
+ rspec (~> 3.0)
73
+ sqlite3 (~> 1.3)
74
+ yard (~> 0.8)
75
+
76
+ BUNDLED WITH
77
+ 1.16.1
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "~> 5.2.0.rc2"
6
+ gem "activesupport", "~> 5.2.0.rc2"
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,77 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ guise (0.6.0)
5
+ activerecord (>= 4.2, < 6.0)
6
+ activesupport (>= 4.2, < 6.0)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activemodel (5.2.0.rc2)
12
+ activesupport (= 5.2.0.rc2)
13
+ activerecord (5.2.0.rc2)
14
+ activemodel (= 5.2.0.rc2)
15
+ activesupport (= 5.2.0.rc2)
16
+ arel (>= 9.0)
17
+ activesupport (5.2.0.rc2)
18
+ concurrent-ruby (~> 1.0, >= 1.0.2)
19
+ i18n (>= 0.7, < 2)
20
+ minitest (~> 5.1)
21
+ tzinfo (~> 1.1)
22
+ appraisal (2.2.0)
23
+ bundler
24
+ rake
25
+ thor (>= 0.14.0)
26
+ arel (9.0.0)
27
+ byebug (10.0.2)
28
+ coderay (1.1.2)
29
+ concurrent-ruby (1.0.5)
30
+ diff-lcs (1.3)
31
+ i18n (1.0.0)
32
+ concurrent-ruby (~> 1.0)
33
+ method_source (0.9.0)
34
+ minitest (5.11.3)
35
+ pry (0.11.3)
36
+ coderay (~> 1.1.0)
37
+ method_source (~> 0.9.0)
38
+ rake (12.3.1)
39
+ redcarpet (3.4.0)
40
+ rspec (3.7.0)
41
+ rspec-core (~> 3.7.0)
42
+ rspec-expectations (~> 3.7.0)
43
+ rspec-mocks (~> 3.7.0)
44
+ rspec-core (3.7.1)
45
+ rspec-support (~> 3.7.0)
46
+ rspec-expectations (3.7.0)
47
+ diff-lcs (>= 1.2.0, < 2.0)
48
+ rspec-support (~> 3.7.0)
49
+ rspec-mocks (3.7.0)
50
+ diff-lcs (>= 1.2.0, < 2.0)
51
+ rspec-support (~> 3.7.0)
52
+ rspec-support (3.7.1)
53
+ sqlite3 (1.3.13)
54
+ thor (0.20.0)
55
+ thread_safe (0.3.6)
56
+ tzinfo (1.2.5)
57
+ thread_safe (~> 0.1)
58
+ yard (0.9.12)
59
+
60
+ PLATFORMS
61
+ ruby
62
+
63
+ DEPENDENCIES
64
+ activerecord (~> 5.2.0.rc2)
65
+ activesupport (~> 5.2.0.rc2)
66
+ appraisal (>= 1.0)
67
+ byebug (~> 10.0)
68
+ guise!
69
+ pry (~> 0.9)
70
+ rake (~> 12.3)
71
+ redcarpet (~> 3.2)
72
+ rspec (~> 3.0)
73
+ sqlite3 (~> 1.3)
74
+ yard (~> 0.8)
75
+
76
+ BUNDLED WITH
77
+ 1.16.1
data/guise.gemspec CHANGED
@@ -19,15 +19,14 @@ Gem::Specification.new do |gem|
19
19
  gem.version = Guise::VERSION
20
20
  gem.license = 'MIT'
21
21
 
22
- gem.required_ruby_version = ">= 2.0.0"
22
+ gem.required_ruby_version = ">= 2.3.0"
23
23
 
24
- gem.add_dependency "activerecord", ">= 3.1", "< 5.0"
25
- gem.add_dependency "activesupport", ">= 3.1", "< 5.0"
24
+ gem.add_dependency "activerecord", ">= 4.2", "< 6.0"
25
+ gem.add_dependency "activesupport", ">= 4.2", "< 6.0"
26
26
  gem.add_development_dependency "appraisal", ">= 1.0"
27
- gem.add_development_dependency "byebug", "~> 5.0"
28
- gem.add_development_dependency "codeclimate-test-reporter", "~> 0.3"
27
+ gem.add_development_dependency "byebug", "~> 10.0"
29
28
  gem.add_development_dependency "pry", "~> 0.9"
30
- gem.add_development_dependency "rake", "~> 10.1"
29
+ gem.add_development_dependency "rake", "~> 12.3"
31
30
  gem.add_development_dependency "redcarpet", "~> 3.2"
32
31
  gem.add_development_dependency "rspec", "~> 3.0"
33
32
  gem.add_development_dependency "sqlite3", "~> 1.3"
data/lib/guise/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Guise
2
- VERSION = "0.6.1"
2
+ VERSION = "0.7.0"
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -1,6 +1,3 @@
1
- require 'codeclimate-test-reporter'
2
- CodeClimate::TestReporter.start
3
-
4
1
  require "byebug"
5
2
  require 'pry'
6
3
  require 'guise'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guise
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo Gutierrez
@@ -16,40 +16,40 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '3.1'
19
+ version: '4.2'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '5.0'
22
+ version: '6.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '3.1'
29
+ version: '4.2'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '5.0'
32
+ version: '6.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: activesupport
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: '3.1'
39
+ version: '4.2'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '5.0'
42
+ version: '6.0'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: '3.1'
49
+ version: '4.2'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '5.0'
52
+ version: '6.0'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: appraisal
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -70,28 +70,14 @@ dependencies:
70
70
  requirements:
71
71
  - - "~>"
72
72
  - !ruby/object:Gem::Version
73
- version: '5.0'
73
+ version: '10.0'
74
74
  type: :development
75
75
  prerelease: false
76
76
  version_requirements: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - "~>"
79
79
  - !ruby/object:Gem::Version
80
- version: '5.0'
81
- - !ruby/object:Gem::Dependency
82
- name: codeclimate-test-reporter
83
- requirement: !ruby/object:Gem::Requirement
84
- requirements:
85
- - - "~>"
86
- - !ruby/object:Gem::Version
87
- version: '0.3'
88
- type: :development
89
- prerelease: false
90
- version_requirements: !ruby/object:Gem::Requirement
91
- requirements:
92
- - - "~>"
93
- - !ruby/object:Gem::Version
94
- version: '0.3'
80
+ version: '10.0'
95
81
  - !ruby/object:Gem::Dependency
96
82
  name: pry
97
83
  requirement: !ruby/object:Gem::Requirement
@@ -112,14 +98,14 @@ dependencies:
112
98
  requirements:
113
99
  - - "~>"
114
100
  - !ruby/object:Gem::Version
115
- version: '10.1'
101
+ version: '12.3'
116
102
  type: :development
117
103
  prerelease: false
118
104
  version_requirements: !ruby/object:Gem::Requirement
119
105
  requirements:
120
106
  - - "~>"
121
107
  - !ruby/object:Gem::Version
122
- version: '10.1'
108
+ version: '12.3'
123
109
  - !ruby/object:Gem::Dependency
124
110
  name: redcarpet
125
111
  requirement: !ruby/object:Gem::Requirement
@@ -190,22 +176,23 @@ files:
190
176
  - ".travis.yml"
191
177
  - ".yardopts"
192
178
  - Appraisals
179
+ - CHANGELOG.md
193
180
  - Gemfile
194
181
  - LICENSE
195
182
  - README.md
196
183
  - Rakefile
197
184
  - gemfiles/3.1.gemfile
198
- - gemfiles/3.1.gemfile.lock
199
185
  - gemfiles/3.2.gemfile
200
- - gemfiles/3.2.gemfile.lock
201
186
  - gemfiles/4.0.gemfile
202
- - gemfiles/4.0.gemfile.lock
203
187
  - gemfiles/4.1.gemfile
204
- - gemfiles/4.1.gemfile.lock
205
188
  - gemfiles/4.2.gemfile
206
189
  - gemfiles/4.2.gemfile.lock
207
190
  - gemfiles/5.0.gemfile
208
191
  - gemfiles/5.0.gemfile.lock
192
+ - gemfiles/5.1.gemfile
193
+ - gemfiles/5.1.gemfile.lock
194
+ - gemfiles/5.2.gemfile
195
+ - gemfiles/5.2.gemfile.lock
209
196
  - guise.gemspec
210
197
  - lib/guise.rb
211
198
  - lib/guise/builders.rb
@@ -231,7 +218,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
231
218
  requirements:
232
219
  - - ">="
233
220
  - !ruby/object:Gem::Version
234
- version: 2.0.0
221
+ version: 2.3.0
235
222
  required_rubygems_version: !ruby/object:Gem::Requirement
236
223
  requirements:
237
224
  - - ">="
@@ -1,88 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- guise (0.6.0)
5
- activerecord (>= 3.1, < 5.0)
6
- activesupport (>= 3.1, < 5.0)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- activemodel (3.1.12)
12
- activesupport (= 3.1.12)
13
- builder (~> 3.0.0)
14
- i18n (~> 0.6)
15
- activerecord (3.1.12)
16
- activemodel (= 3.1.12)
17
- activesupport (= 3.1.12)
18
- arel (~> 2.2.3)
19
- tzinfo (~> 0.3.29)
20
- activesupport (3.1.12)
21
- multi_json (~> 1.0)
22
- appraisal (2.1.0)
23
- bundler
24
- rake
25
- thor (>= 0.14.0)
26
- arel (2.2.3)
27
- builder (3.0.4)
28
- byebug (5.0.0)
29
- columnize (= 0.9.0)
30
- codeclimate-test-reporter (0.4.8)
31
- simplecov (>= 0.7.1, < 1.0.0)
32
- coderay (1.1.0)
33
- columnize (0.9.0)
34
- diff-lcs (1.2.5)
35
- docile (1.1.5)
36
- i18n (0.7.0)
37
- json (1.8.3)
38
- method_source (0.8.2)
39
- multi_json (1.11.2)
40
- pry (0.10.3)
41
- coderay (~> 1.1.0)
42
- method_source (~> 0.8.1)
43
- slop (~> 3.4)
44
- rake (10.4.2)
45
- redcarpet (3.3.3)
46
- rspec (3.4.0)
47
- rspec-core (~> 3.4.0)
48
- rspec-expectations (~> 3.4.0)
49
- rspec-mocks (~> 3.4.0)
50
- rspec-core (3.4.0)
51
- rspec-support (~> 3.4.0)
52
- rspec-expectations (3.4.0)
53
- diff-lcs (>= 1.2.0, < 2.0)
54
- rspec-support (~> 3.4.0)
55
- rspec-mocks (3.4.0)
56
- diff-lcs (>= 1.2.0, < 2.0)
57
- rspec-support (~> 3.4.0)
58
- rspec-support (3.4.0)
59
- simplecov (0.10.0)
60
- docile (~> 1.1.0)
61
- json (~> 1.8)
62
- simplecov-html (~> 0.10.0)
63
- simplecov-html (0.10.0)
64
- slop (3.6.0)
65
- sqlite3 (1.3.11)
66
- thor (0.19.1)
67
- tzinfo (0.3.45)
68
- yard (0.8.7.6)
69
-
70
- PLATFORMS
71
- ruby
72
-
73
- DEPENDENCIES
74
- activerecord (~> 3.1.0)
75
- activesupport (~> 3.1.0)
76
- appraisal (>= 1.0)
77
- byebug (~> 5.0)
78
- codeclimate-test-reporter (~> 0.3)
79
- guise!
80
- pry (~> 0.9)
81
- rake (~> 10.1)
82
- redcarpet (~> 3.2)
83
- rspec (~> 3.0)
84
- sqlite3 (~> 1.3)
85
- yard (~> 0.8)
86
-
87
- BUNDLED WITH
88
- 1.10.6
@@ -1,88 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- guise (0.6.0)
5
- activerecord (>= 3.1, < 5.0)
6
- activesupport (>= 3.1, < 5.0)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- activemodel (3.2.22)
12
- activesupport (= 3.2.22)
13
- builder (~> 3.0.0)
14
- activerecord (3.2.22)
15
- activemodel (= 3.2.22)
16
- activesupport (= 3.2.22)
17
- arel (~> 3.0.2)
18
- tzinfo (~> 0.3.29)
19
- activesupport (3.2.22)
20
- i18n (~> 0.6, >= 0.6.4)
21
- multi_json (~> 1.0)
22
- appraisal (2.1.0)
23
- bundler
24
- rake
25
- thor (>= 0.14.0)
26
- arel (3.0.3)
27
- builder (3.0.4)
28
- byebug (5.0.0)
29
- columnize (= 0.9.0)
30
- codeclimate-test-reporter (0.4.8)
31
- simplecov (>= 0.7.1, < 1.0.0)
32
- coderay (1.1.0)
33
- columnize (0.9.0)
34
- diff-lcs (1.2.5)
35
- docile (1.1.5)
36
- i18n (0.7.0)
37
- json (1.8.3)
38
- method_source (0.8.2)
39
- multi_json (1.11.2)
40
- pry (0.10.3)
41
- coderay (~> 1.1.0)
42
- method_source (~> 0.8.1)
43
- slop (~> 3.4)
44
- rake (10.4.2)
45
- redcarpet (3.3.3)
46
- rspec (3.4.0)
47
- rspec-core (~> 3.4.0)
48
- rspec-expectations (~> 3.4.0)
49
- rspec-mocks (~> 3.4.0)
50
- rspec-core (3.4.0)
51
- rspec-support (~> 3.4.0)
52
- rspec-expectations (3.4.0)
53
- diff-lcs (>= 1.2.0, < 2.0)
54
- rspec-support (~> 3.4.0)
55
- rspec-mocks (3.4.0)
56
- diff-lcs (>= 1.2.0, < 2.0)
57
- rspec-support (~> 3.4.0)
58
- rspec-support (3.4.0)
59
- simplecov (0.10.0)
60
- docile (~> 1.1.0)
61
- json (~> 1.8)
62
- simplecov-html (~> 0.10.0)
63
- simplecov-html (0.10.0)
64
- slop (3.6.0)
65
- sqlite3 (1.3.11)
66
- thor (0.19.1)
67
- tzinfo (0.3.45)
68
- yard (0.8.7.6)
69
-
70
- PLATFORMS
71
- ruby
72
-
73
- DEPENDENCIES
74
- activerecord (~> 3.2.0)
75
- activesupport (~> 3.2.0)
76
- appraisal (>= 1.0)
77
- byebug (~> 5.0)
78
- codeclimate-test-reporter (~> 0.3)
79
- guise!
80
- pry (~> 0.9)
81
- rake (~> 10.1)
82
- redcarpet (~> 3.2)
83
- rspec (~> 3.0)
84
- sqlite3 (~> 1.3)
85
- yard (~> 0.8)
86
-
87
- BUNDLED WITH
88
- 1.10.6
@@ -1,94 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- guise (0.6.0)
5
- activerecord (>= 3.1, < 5.0)
6
- activesupport (>= 3.1, < 5.0)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- activemodel (4.0.13)
12
- activesupport (= 4.0.13)
13
- builder (~> 3.1.0)
14
- activerecord (4.0.13)
15
- activemodel (= 4.0.13)
16
- activerecord-deprecated_finders (~> 1.0.2)
17
- activesupport (= 4.0.13)
18
- arel (~> 4.0.0)
19
- activerecord-deprecated_finders (1.0.4)
20
- activesupport (4.0.13)
21
- i18n (~> 0.6, >= 0.6.9)
22
- minitest (~> 4.2)
23
- multi_json (~> 1.3)
24
- thread_safe (~> 0.1)
25
- tzinfo (~> 0.3.37)
26
- appraisal (2.1.0)
27
- bundler
28
- rake
29
- thor (>= 0.14.0)
30
- arel (4.0.2)
31
- builder (3.1.4)
32
- byebug (5.0.0)
33
- columnize (= 0.9.0)
34
- codeclimate-test-reporter (0.4.8)
35
- simplecov (>= 0.7.1, < 1.0.0)
36
- coderay (1.1.0)
37
- columnize (0.9.0)
38
- diff-lcs (1.2.5)
39
- docile (1.1.5)
40
- i18n (0.7.0)
41
- json (1.8.3)
42
- method_source (0.8.2)
43
- minitest (4.7.5)
44
- multi_json (1.11.2)
45
- pry (0.10.3)
46
- coderay (~> 1.1.0)
47
- method_source (~> 0.8.1)
48
- slop (~> 3.4)
49
- rake (10.4.2)
50
- redcarpet (3.3.3)
51
- rspec (3.4.0)
52
- rspec-core (~> 3.4.0)
53
- rspec-expectations (~> 3.4.0)
54
- rspec-mocks (~> 3.4.0)
55
- rspec-core (3.4.0)
56
- rspec-support (~> 3.4.0)
57
- rspec-expectations (3.4.0)
58
- diff-lcs (>= 1.2.0, < 2.0)
59
- rspec-support (~> 3.4.0)
60
- rspec-mocks (3.4.0)
61
- diff-lcs (>= 1.2.0, < 2.0)
62
- rspec-support (~> 3.4.0)
63
- rspec-support (3.4.0)
64
- simplecov (0.10.0)
65
- docile (~> 1.1.0)
66
- json (~> 1.8)
67
- simplecov-html (~> 0.10.0)
68
- simplecov-html (0.10.0)
69
- slop (3.6.0)
70
- sqlite3 (1.3.11)
71
- thor (0.19.1)
72
- thread_safe (0.3.5)
73
- tzinfo (0.3.45)
74
- yard (0.8.7.6)
75
-
76
- PLATFORMS
77
- ruby
78
-
79
- DEPENDENCIES
80
- activerecord (~> 4.0.0)
81
- activesupport (~> 4.0.0)
82
- appraisal (>= 1.0)
83
- byebug (~> 5.0)
84
- codeclimate-test-reporter (~> 0.3)
85
- guise!
86
- pry (~> 0.9)
87
- rake (~> 10.1)
88
- redcarpet (~> 3.2)
89
- rspec (~> 3.0)
90
- sqlite3 (~> 1.3)
91
- yard (~> 0.8)
92
-
93
- BUNDLED WITH
94
- 1.10.6
@@ -1,92 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- guise (0.6.0)
5
- activerecord (>= 3.1, < 5.0)
6
- activesupport (>= 3.1, < 5.0)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- activemodel (4.1.14)
12
- activesupport (= 4.1.14)
13
- builder (~> 3.1)
14
- activerecord (4.1.14)
15
- activemodel (= 4.1.14)
16
- activesupport (= 4.1.14)
17
- arel (~> 5.0.0)
18
- activesupport (4.1.14)
19
- i18n (~> 0.6, >= 0.6.9)
20
- json (~> 1.7, >= 1.7.7)
21
- minitest (~> 5.1)
22
- thread_safe (~> 0.1)
23
- tzinfo (~> 1.1)
24
- appraisal (2.1.0)
25
- bundler
26
- rake
27
- thor (>= 0.14.0)
28
- arel (5.0.1.20140414130214)
29
- builder (3.2.2)
30
- byebug (5.0.0)
31
- columnize (= 0.9.0)
32
- codeclimate-test-reporter (0.4.8)
33
- simplecov (>= 0.7.1, < 1.0.0)
34
- coderay (1.1.0)
35
- columnize (0.9.0)
36
- diff-lcs (1.2.5)
37
- docile (1.1.5)
38
- i18n (0.7.0)
39
- json (1.8.3)
40
- method_source (0.8.2)
41
- minitest (5.8.2)
42
- pry (0.10.3)
43
- coderay (~> 1.1.0)
44
- method_source (~> 0.8.1)
45
- slop (~> 3.4)
46
- rake (10.4.2)
47
- redcarpet (3.3.3)
48
- rspec (3.4.0)
49
- rspec-core (~> 3.4.0)
50
- rspec-expectations (~> 3.4.0)
51
- rspec-mocks (~> 3.4.0)
52
- rspec-core (3.4.0)
53
- rspec-support (~> 3.4.0)
54
- rspec-expectations (3.4.0)
55
- diff-lcs (>= 1.2.0, < 2.0)
56
- rspec-support (~> 3.4.0)
57
- rspec-mocks (3.4.0)
58
- diff-lcs (>= 1.2.0, < 2.0)
59
- rspec-support (~> 3.4.0)
60
- rspec-support (3.4.0)
61
- simplecov (0.10.0)
62
- docile (~> 1.1.0)
63
- json (~> 1.8)
64
- simplecov-html (~> 0.10.0)
65
- simplecov-html (0.10.0)
66
- slop (3.6.0)
67
- sqlite3 (1.3.11)
68
- thor (0.19.1)
69
- thread_safe (0.3.5)
70
- tzinfo (1.2.2)
71
- thread_safe (~> 0.1)
72
- yard (0.8.7.6)
73
-
74
- PLATFORMS
75
- ruby
76
-
77
- DEPENDENCIES
78
- activerecord (~> 4.1.0)
79
- activesupport (~> 4.1.0)
80
- appraisal (>= 1.0)
81
- byebug (~> 5.0)
82
- codeclimate-test-reporter (~> 0.3)
83
- guise!
84
- pry (~> 0.9)
85
- rake (~> 10.1)
86
- redcarpet (~> 3.2)
87
- rspec (~> 3.0)
88
- sqlite3 (~> 1.3)
89
- yard (~> 0.8)
90
-
91
- BUNDLED WITH
92
- 1.10.6