consul 0.13.2 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of consul might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 06155bb23047c53d7674934ff0274db41f0241ed9fc45d13959bbe87b7a68a66
4
- data.tar.gz: f28959645bdbbecd5596d764c4993f36d1e7c42c5e12f0b0014f2a57624c0a92
3
+ metadata.gz: a5ba7636495878fa5484c2389e08fc82f573e56ac5aa1347195aeba5683f70b0
4
+ data.tar.gz: 1647fa81dd5224213f34720b8c98c9d78f43836f2778a96a4f3677e3dde3dc7e
5
5
  SHA512:
6
- metadata.gz: 83138414bd69ce544205a1ffe280a1255f0e56217a94c0208bae1d66fb4cccba76e155206a9f032f7cceaae6737d74b1c559fa80fb89904ad57ad4419043aba6
7
- data.tar.gz: d861f0003017f975a55688b3971a72ba8d1f9da3ac3023f146d9b392eff824f8fa0123eb27629597d3b2e00d8959f3ef920e9bd51704fcb2ccbbddb34893232b
6
+ metadata.gz: 40f19203c3bf503dac19996eff88b7fc2fb40ef31c3ce58824978d590833200e23d09eee1f90499d7f7fdd2fd973bf57a3b0477da456061b073947237ce045b4
7
+ data.tar.gz: 3d0cba17bc333ce38a397703e0c61b72c5baf26b0945c204a46add87517061607ae8214fb3f886c7880fcc8c6bac76d68faa2412d58f1a589307fa5a576ade3a
data/.gitignore CHANGED
@@ -5,4 +5,5 @@ pkg
5
5
  *.db
6
6
  *.log
7
7
  .bundle
8
- spec/shared/app_root/db/*.sqlite3
8
+ spec/support/database.yml
9
+
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.1.8
data/.travis.yml CHANGED
@@ -1,17 +1,38 @@
1
1
  language: ruby
2
+
2
3
  sudo: false
4
+
5
+ cache: bundler
6
+
3
7
  rvm:
4
- - "1.8.7"
5
- - "2.1.8"
6
- - "2.4.1"
7
- before_install: gem install bundler # Fix bundler issues on 1.9.3
8
- before_script: rake travis_ci:prepare
9
- script: rake all:bundle all:spec
8
+ - 1.8.7
9
+ - 2.1.8
10
+ - 2.4.1
11
+
12
+ gemfile:
13
+ - gemfiles/Gemfile.3-2
14
+ - gemfiles/Gemfile.4-2
15
+ - gemfiles/Gemfile.5-2
16
+
17
+ matrix:
18
+ exclude:
19
+ - gemfile: gemfiles/Gemfile.3-2
20
+ rvm: 2.4.1
21
+ - gemfile: gemfiles/Gemfile.4-2
22
+ rvm: 1.8.7
23
+ - gemfile: gemfiles/Gemfile.5-1
24
+ rvm: 1.8.7
25
+ - gemfile: gemfiles/Gemfile.5-1
26
+ rvm: 2.1.8
27
+
28
+
29
+ install:
30
+ # Replace default Travis CI bundler script with a version that doesn't
31
+ # explode when lockfile doesn't match recently bumped version
32
+ - bundle install --no-deployment --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
33
+
34
+ script: bundle exec rake current_rspec
35
+
10
36
  notifications:
11
37
  email:
12
38
  - fail@makandra.de
13
- branches:
14
- only:
15
- - master
16
- - travis-testing
17
- - garyf-dev
data/Gemfile ADDED
@@ -0,0 +1 @@
1
+ ./gemfiles/Gemfile.4-2
data/Gemfile.lock ADDED
@@ -0,0 +1 @@
1
+ ./gemfiles/Gemfile.4-2.lock
data/README.md CHANGED
@@ -8,7 +8,7 @@ Consul is an authorization solution for Ruby on Rails where you describe *sets o
8
8
  We have used Consul in combination with [assignable_values](https://github.com/makandra/assignable_values) to solve a variety of authorization requirements ranging from boring to bizarre.
9
9
  Also see our crash course video: [Solving bizare authorization requirements with Rails](http://bizarre-authorization.talks.makandra.com/).
10
10
 
11
- Consul is tested with Rails 2.3, 3.2, 4.2, and 5.1 on Ruby 1.8.7, 2.1, and 2.4 (only if supported, for each Ruby/Rails combination).
11
+ Consul is tested with Rails 3.2, 4.2, and 5.2 on Ruby 1.8.7, 2.1, and 2.4 (only if supported, for each Ruby/Rails combination). If you need support for Rails 3.2, please use [v0.13.2](https://github.com/makandra/consul/tree/v0.13.2).
12
12
 
13
13
 
14
14
  Describing access to your application
data/Rakefile CHANGED
@@ -1,61 +1,10 @@
1
1
  require 'rake'
2
2
  require 'bundler/gem_tasks'
3
3
 
4
- desc 'Default: Run all specs.'
5
- task :default => 'all:spec'
6
-
7
- namespace :travis_ci do
8
-
9
- desc 'Things to do before Travis CI begins'
10
- task :prepare => [:compatible_rubygems]
11
-
12
- desc 'Ensure compatible Rubygems version for Ruby 1.8'
13
- task :compatible_rubygems do
14
- if RUBY_VERSION == '1.8.7'
15
- system "rvm rubygems latest-1.8 --force"
16
- end
17
- end
18
-
4
+ begin
5
+ require 'gemika/tasks'
6
+ rescue LoadError
7
+ puts 'Run `gem install gemika` for additional tasks'
19
8
  end
20
9
 
21
- namespace :all do
22
-
23
- desc "Run specs on all spec apps"
24
- task :spec do
25
- success = true
26
- for_each_directory_of('spec/**/Rakefile') do |directory|
27
- env = "SPEC=../../#{ENV['SPEC']} " if ENV['SPEC']
28
- success &= system("cd #{directory} && #{env} bundle exec rake spec")
29
- end
30
- fail "Tests failed" unless success
31
- end
32
-
33
- desc "Bundle all spec apps"
34
- task :bundle do
35
- for_each_directory_of('spec/**/Gemfile') do |directory|
36
- Bundler.with_clean_env do
37
- system("cd #{directory} && bundle install")
38
- end
39
- end
40
- end
41
-
42
- end
43
-
44
- def for_each_directory_of(path, &block)
45
- Dir[path].sort.each do |rakefile|
46
- directory = File.dirname(rakefile)
47
- puts '', "\033[4;34m# #{directory}\033[0m", '' # blue underline
48
-
49
- if directory.include?('rails-2.3') and RUBY_VERSION != '1.8.7'
50
- puts 'Skipping - Rails 2.3 requires Ruby 1.8.7'
51
- elsif directory.include?('rails-3.2') && RUBY_VERSION >= '2.2.0'
52
- puts 'Skipping - Rails 3.2.13 does not support Ruby 2.2+'
53
- elsif directory.include?('rails-4.2') && (RUBY_VERSION < '1.9.3' || RUBY_VERSION >= '2.4.0')
54
- puts 'Skipping - Rails 4.2 requires Ruby 1.9.3+ .. 2.3.x'
55
- elsif directory.include?('rails-5.1') && RUBY_VERSION < '2.2.2'
56
- puts 'Skipping - Rails 5 requires Ruby 2.2.2+'
57
- else
58
- block.call(directory)
59
- end
60
- end
61
- end
10
+ task :default => 'matrix:spec'
data/consul.gemspec CHANGED
@@ -11,12 +11,19 @@ Gem::Specification.new do |s|
11
11
  s.description = s.summary
12
12
  s.license = 'MIT'
13
13
 
14
+ if RUBY_VERSION.to_f >= 2.0
15
+ s.metadata = {
16
+ 'bug_tracker_uri' => 'https://github.com/makandra/consul/issues',
17
+ 'changelog_uri' => 'https://github.com/makandra/consul/blob/master/CHANGELOG.md',
18
+ }
19
+ end
20
+
14
21
  s.files = `git ls-files`.split("\n").reject { |f| f.match(%r{^(test|spec|features)/}) }
15
22
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
23
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
24
  s.require_paths = ["lib"]
18
25
 
19
26
  s.add_dependency('memoizer')
20
- s.add_dependency('rails')
27
+ s.add_dependency('rails', '>=3.2')
21
28
  s.add_dependency('edge_rider', '>= 0.3.0')
22
29
  end
@@ -0,0 +1,19 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Runtime dependencies
4
+ gem 'assignable_values'
5
+ gem 'rails', '~>3.2.0'
6
+ gem 'rake', '~>10.5.0'
7
+ gem 'rack-cache', '~>1.2.0'
8
+
9
+ # Development dependencies
10
+ gem 'rspec', '~>3.4'
11
+ gem 'rspec-rails'
12
+ gem 'shoulda-matchers', '<2'
13
+ gem 'sqlite3'
14
+ gem 'rspec_candy'
15
+ gem 'database_cleaner', '~>1.4.1'
16
+ gem 'gemika'
17
+
18
+ # Gem under test
19
+ gem 'consul', :path => '..'
@@ -0,0 +1,150 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ consul (0.13.2)
5
+ edge_rider (>= 0.3.0)
6
+ memoizer
7
+ rails
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ actionmailer (3.2.13)
13
+ actionpack (= 3.2.13)
14
+ mail (~> 2.5.3)
15
+ actionpack (3.2.13)
16
+ activemodel (= 3.2.13)
17
+ activesupport (= 3.2.13)
18
+ builder (~> 3.0.0)
19
+ erubis (~> 2.7.0)
20
+ journey (~> 1.0.4)
21
+ rack (~> 1.4.5)
22
+ rack-cache (~> 1.2)
23
+ rack-test (~> 0.6.1)
24
+ sprockets (~> 2.2.1)
25
+ activemodel (3.2.13)
26
+ activesupport (= 3.2.13)
27
+ builder (~> 3.0.0)
28
+ activerecord (3.2.13)
29
+ activemodel (= 3.2.13)
30
+ activesupport (= 3.2.13)
31
+ arel (~> 3.0.2)
32
+ tzinfo (~> 0.3.29)
33
+ activeresource (3.2.13)
34
+ activemodel (= 3.2.13)
35
+ activesupport (= 3.2.13)
36
+ activesupport (3.2.13)
37
+ i18n (= 0.6.1)
38
+ multi_json (~> 1.0)
39
+ arel (3.0.2)
40
+ assignable_values (0.7.1)
41
+ activerecord
42
+ bourne (1.4.0)
43
+ mocha (~> 0.13.2)
44
+ builder (3.0.4)
45
+ database_cleaner (1.4.1)
46
+ diff-lcs (1.3)
47
+ edge_rider (0.3.3)
48
+ activerecord
49
+ erubis (2.7.0)
50
+ gemika (0.3.4)
51
+ hike (1.2.3)
52
+ i18n (0.6.1)
53
+ journey (1.0.4)
54
+ json (1.8.6)
55
+ mail (2.5.4)
56
+ mime-types (~> 1.16)
57
+ treetop (~> 1.4.8)
58
+ memoizer (1.0.3)
59
+ metaclass (0.0.1)
60
+ mime-types (1.23)
61
+ mocha (0.13.3)
62
+ metaclass (~> 0.0.1)
63
+ multi_json (1.13.1)
64
+ polyglot (0.3.3)
65
+ rack (1.4.7)
66
+ rack-cache (1.2)
67
+ rack (>= 0.4)
68
+ rack-ssl (1.3.4)
69
+ rack
70
+ rack-test (0.6.3)
71
+ rack (>= 1.0)
72
+ rails (3.2.13)
73
+ actionmailer (= 3.2.13)
74
+ actionpack (= 3.2.13)
75
+ activerecord (= 3.2.13)
76
+ activeresource (= 3.2.13)
77
+ activesupport (= 3.2.13)
78
+ bundler (~> 1.0)
79
+ railties (= 3.2.13)
80
+ railties (3.2.13)
81
+ actionpack (= 3.2.13)
82
+ activesupport (= 3.2.13)
83
+ rack-ssl (~> 1.3.2)
84
+ rake (>= 0.8.7)
85
+ rdoc (~> 3.4)
86
+ thor (>= 0.14.6, < 2.0)
87
+ rake (10.5.0)
88
+ rdoc (3.12.2)
89
+ json (~> 1.4)
90
+ rspec (3.8.0)
91
+ rspec-core (~> 3.8.0)
92
+ rspec-expectations (~> 3.8.0)
93
+ rspec-mocks (~> 3.8.0)
94
+ rspec-core (3.8.0)
95
+ rspec-support (~> 3.8.0)
96
+ rspec-expectations (3.8.1)
97
+ diff-lcs (>= 1.2.0, < 2.0)
98
+ rspec-support (~> 3.8.0)
99
+ rspec-mocks (3.8.0)
100
+ diff-lcs (>= 1.2.0, < 2.0)
101
+ rspec-support (~> 3.8.0)
102
+ rspec-rails (3.8.0)
103
+ actionpack (>= 3.0)
104
+ activesupport (>= 3.0)
105
+ railties (>= 3.0)
106
+ rspec-core (~> 3.8.0)
107
+ rspec-expectations (~> 3.8.0)
108
+ rspec-mocks (~> 3.8.0)
109
+ rspec-support (~> 3.8.0)
110
+ rspec-support (3.8.0)
111
+ rspec_candy (0.2.9)
112
+ rspec
113
+ sneaky-save
114
+ shoulda-matchers (1.5.6)
115
+ activesupport (>= 3.0.0)
116
+ bourne (~> 1.3)
117
+ sneaky-save (0.0.4)
118
+ activerecord (>= 3.2.0)
119
+ sprockets (2.2.3)
120
+ hike (~> 1.2)
121
+ multi_json (~> 1.0)
122
+ rack (~> 1.0)
123
+ tilt (~> 1.1, != 1.3.0)
124
+ sqlite3 (1.3.13)
125
+ thor (0.20.0)
126
+ tilt (1.4.1)
127
+ treetop (1.4.12)
128
+ polyglot
129
+ polyglot (>= 0.3.1)
130
+ tzinfo (0.3.37)
131
+
132
+ PLATFORMS
133
+ ruby
134
+
135
+ DEPENDENCIES
136
+ assignable_values
137
+ consul!
138
+ database_cleaner (~> 1.4.1)
139
+ gemika
140
+ rack-cache (~> 1.2.0)
141
+ rails (~> 3.2.0)
142
+ rake (~> 10.5.0)
143
+ rspec (~> 3.4)
144
+ rspec-rails
145
+ rspec_candy
146
+ shoulda-matchers (< 2)
147
+ sqlite3
148
+
149
+ BUNDLED WITH
150
+ 1.16.2
@@ -0,0 +1,17 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Runtime dependencies
4
+ gem 'rails', '4.2.7.1'
5
+ gem 'assignable_values'
6
+
7
+ # Development dependencies
8
+ gem 'rspec'
9
+ gem 'rspec-rails'
10
+ gem 'rspec_candy'
11
+ gem 'shoulda-matchers'
12
+ gem 'sqlite3'
13
+ gem 'database_cleaner'
14
+ gem 'gemika'
15
+
16
+ # Gem under test
17
+ gem 'consul', :path => '..'
@@ -0,0 +1,159 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ consul (0.14.0)
5
+ edge_rider (>= 0.3.0)
6
+ memoizer
7
+ rails (>= 3.2)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ actionmailer (4.2.7.1)
13
+ actionpack (= 4.2.7.1)
14
+ actionview (= 4.2.7.1)
15
+ activejob (= 4.2.7.1)
16
+ mail (~> 2.5, >= 2.5.4)
17
+ rails-dom-testing (~> 1.0, >= 1.0.5)
18
+ actionpack (4.2.7.1)
19
+ actionview (= 4.2.7.1)
20
+ activesupport (= 4.2.7.1)
21
+ rack (~> 1.6)
22
+ rack-test (~> 0.6.2)
23
+ rails-dom-testing (~> 1.0, >= 1.0.5)
24
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
25
+ actionview (4.2.7.1)
26
+ activesupport (= 4.2.7.1)
27
+ builder (~> 3.1)
28
+ erubis (~> 2.7.0)
29
+ rails-dom-testing (~> 1.0, >= 1.0.5)
30
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
31
+ activejob (4.2.7.1)
32
+ activesupport (= 4.2.7.1)
33
+ globalid (>= 0.3.0)
34
+ activemodel (4.2.7.1)
35
+ activesupport (= 4.2.7.1)
36
+ builder (~> 3.1)
37
+ activerecord (4.2.7.1)
38
+ activemodel (= 4.2.7.1)
39
+ activesupport (= 4.2.7.1)
40
+ arel (~> 6.0)
41
+ activesupport (4.2.7.1)
42
+ i18n (~> 0.7)
43
+ json (~> 1.7, >= 1.7.7)
44
+ minitest (~> 5.1)
45
+ thread_safe (~> 0.3, >= 0.3.4)
46
+ tzinfo (~> 1.1)
47
+ arel (6.0.4)
48
+ assignable_values (0.12.1)
49
+ activerecord (>= 2.3)
50
+ builder (3.2.2)
51
+ concurrent-ruby (1.0.4)
52
+ database_cleaner (1.7.0)
53
+ diff-lcs (1.2.5)
54
+ edge_rider (0.3.3)
55
+ activerecord
56
+ erubis (2.7.0)
57
+ gemika (0.3.4)
58
+ globalid (0.3.7)
59
+ activesupport (>= 4.1.0)
60
+ i18n (0.7.0)
61
+ json (1.8.6)
62
+ loofah (2.0.3)
63
+ nokogiri (>= 1.5.9)
64
+ mail (2.6.4)
65
+ mime-types (>= 1.16, < 4)
66
+ memoizer (1.0.3)
67
+ mime-types (3.1)
68
+ mime-types-data (~> 3.2015)
69
+ mime-types-data (3.2016.0521)
70
+ mini_portile2 (2.1.0)
71
+ minitest (5.10.1)
72
+ nokogiri (1.7.0)
73
+ mini_portile2 (~> 2.1.0)
74
+ rack (1.6.5)
75
+ rack-test (0.6.3)
76
+ rack (>= 1.0)
77
+ rails (4.2.7.1)
78
+ actionmailer (= 4.2.7.1)
79
+ actionpack (= 4.2.7.1)
80
+ actionview (= 4.2.7.1)
81
+ activejob (= 4.2.7.1)
82
+ activemodel (= 4.2.7.1)
83
+ activerecord (= 4.2.7.1)
84
+ activesupport (= 4.2.7.1)
85
+ bundler (>= 1.3.0, < 2.0)
86
+ railties (= 4.2.7.1)
87
+ sprockets-rails
88
+ rails-deprecated_sanitizer (1.0.3)
89
+ activesupport (>= 4.2.0.alpha)
90
+ rails-dom-testing (1.0.8)
91
+ activesupport (>= 4.2.0.beta, < 5.0)
92
+ nokogiri (~> 1.6)
93
+ rails-deprecated_sanitizer (>= 1.0.1)
94
+ rails-html-sanitizer (1.0.3)
95
+ loofah (~> 2.0)
96
+ railties (4.2.7.1)
97
+ actionpack (= 4.2.7.1)
98
+ activesupport (= 4.2.7.1)
99
+ rake (>= 0.8.7)
100
+ thor (>= 0.18.1, < 2.0)
101
+ rake (12.0.0)
102
+ rspec (3.5.0)
103
+ rspec-core (~> 3.5.0)
104
+ rspec-expectations (~> 3.5.0)
105
+ rspec-mocks (~> 3.5.0)
106
+ rspec-core (3.5.4)
107
+ rspec-support (~> 3.5.0)
108
+ rspec-expectations (3.5.0)
109
+ diff-lcs (>= 1.2.0, < 2.0)
110
+ rspec-support (~> 3.5.0)
111
+ rspec-mocks (3.5.0)
112
+ diff-lcs (>= 1.2.0, < 2.0)
113
+ rspec-support (~> 3.5.0)
114
+ rspec-rails (3.5.2)
115
+ actionpack (>= 3.0)
116
+ activesupport (>= 3.0)
117
+ railties (>= 3.0)
118
+ rspec-core (~> 3.5.0)
119
+ rspec-expectations (~> 3.5.0)
120
+ rspec-mocks (~> 3.5.0)
121
+ rspec-support (~> 3.5.0)
122
+ rspec-support (3.5.0)
123
+ rspec_candy (0.4.1)
124
+ rspec
125
+ sneaky-save
126
+ shoulda-matchers (3.1.1)
127
+ activesupport (>= 4.0.0)
128
+ sneaky-save (0.1.2)
129
+ activerecord (>= 3.2.0)
130
+ sprockets (3.7.1)
131
+ concurrent-ruby (~> 1.0)
132
+ rack (> 1, < 3)
133
+ sprockets-rails (3.2.0)
134
+ actionpack (>= 4.0)
135
+ activesupport (>= 4.0)
136
+ sprockets (>= 3.0.0)
137
+ sqlite3 (1.3.12)
138
+ thor (0.19.4)
139
+ thread_safe (0.3.5)
140
+ tzinfo (1.2.2)
141
+ thread_safe (~> 0.1)
142
+
143
+ PLATFORMS
144
+ ruby
145
+
146
+ DEPENDENCIES
147
+ assignable_values
148
+ consul!
149
+ database_cleaner
150
+ gemika
151
+ rails (= 4.2.7.1)
152
+ rspec
153
+ rspec-rails
154
+ rspec_candy
155
+ shoulda-matchers
156
+ sqlite3
157
+
158
+ BUNDLED WITH
159
+ 1.16.1
@@ -0,0 +1,17 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Runtime dependencies
4
+ gem 'rails', '~> 5.2.0'
5
+ gem 'assignable_values'
6
+
7
+ # Development dependencies
8
+ gem 'rspec'
9
+ gem 'rspec-rails'
10
+ gem 'rspec_candy'
11
+ gem 'shoulda-matchers'
12
+ gem 'sqlite3'
13
+ gem 'database_cleaner'
14
+ gem 'gemika'
15
+
16
+ # Gem under test
17
+ gem 'consul', :path => '..'
@@ -0,0 +1,173 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ consul (0.13.2)
5
+ edge_rider (>= 0.3.0)
6
+ memoizer
7
+ rails (>= 3.2)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ actioncable (5.2.1)
13
+ actionpack (= 5.2.1)
14
+ nio4r (~> 2.0)
15
+ websocket-driver (>= 0.6.1)
16
+ actionmailer (5.2.1)
17
+ actionpack (= 5.2.1)
18
+ actionview (= 5.2.1)
19
+ activejob (= 5.2.1)
20
+ mail (~> 2.5, >= 2.5.4)
21
+ rails-dom-testing (~> 2.0)
22
+ actionpack (5.2.1)
23
+ actionview (= 5.2.1)
24
+ activesupport (= 5.2.1)
25
+ rack (~> 2.0)
26
+ rack-test (>= 0.6.3)
27
+ rails-dom-testing (~> 2.0)
28
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
29
+ actionview (5.2.1)
30
+ activesupport (= 5.2.1)
31
+ builder (~> 3.1)
32
+ erubi (~> 1.4)
33
+ rails-dom-testing (~> 2.0)
34
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
35
+ activejob (5.2.1)
36
+ activesupport (= 5.2.1)
37
+ globalid (>= 0.3.6)
38
+ activemodel (5.2.1)
39
+ activesupport (= 5.2.1)
40
+ activerecord (5.2.1)
41
+ activemodel (= 5.2.1)
42
+ activesupport (= 5.2.1)
43
+ arel (>= 9.0)
44
+ activestorage (5.2.1)
45
+ actionpack (= 5.2.1)
46
+ activerecord (= 5.2.1)
47
+ marcel (~> 0.3.1)
48
+ activesupport (5.2.1)
49
+ concurrent-ruby (~> 1.0, >= 1.0.2)
50
+ i18n (>= 0.7, < 2)
51
+ minitest (~> 5.1)
52
+ tzinfo (~> 1.1)
53
+ arel (9.0.0)
54
+ assignable_values (0.12.1)
55
+ activerecord (>= 2.3)
56
+ builder (3.2.3)
57
+ concurrent-ruby (1.0.5)
58
+ crass (1.0.4)
59
+ database_cleaner (1.7.0)
60
+ diff-lcs (1.3)
61
+ edge_rider (0.3.3)
62
+ activerecord
63
+ erubi (1.7.1)
64
+ gemika (0.3.4)
65
+ globalid (0.4.1)
66
+ activesupport (>= 4.2.0)
67
+ i18n (1.1.0)
68
+ concurrent-ruby (~> 1.0)
69
+ loofah (2.2.2)
70
+ crass (~> 1.0.2)
71
+ nokogiri (>= 1.5.9)
72
+ mail (2.7.0)
73
+ mini_mime (>= 0.1.1)
74
+ marcel (0.3.3)
75
+ mimemagic (~> 0.3.2)
76
+ memoizer (1.0.3)
77
+ method_source (0.9.0)
78
+ mimemagic (0.3.2)
79
+ mini_mime (1.0.1)
80
+ mini_portile2 (2.3.0)
81
+ minitest (5.11.3)
82
+ nio4r (2.3.1)
83
+ nokogiri (1.8.5)
84
+ mini_portile2 (~> 2.3.0)
85
+ rack (2.0.5)
86
+ rack-test (1.1.0)
87
+ rack (>= 1.0, < 3)
88
+ rails (5.2.1)
89
+ actioncable (= 5.2.1)
90
+ actionmailer (= 5.2.1)
91
+ actionpack (= 5.2.1)
92
+ actionview (= 5.2.1)
93
+ activejob (= 5.2.1)
94
+ activemodel (= 5.2.1)
95
+ activerecord (= 5.2.1)
96
+ activestorage (= 5.2.1)
97
+ activesupport (= 5.2.1)
98
+ bundler (>= 1.3.0)
99
+ railties (= 5.2.1)
100
+ sprockets-rails (>= 2.0.0)
101
+ rails-dom-testing (2.0.3)
102
+ activesupport (>= 4.2.0)
103
+ nokogiri (>= 1.6)
104
+ rails-html-sanitizer (1.0.4)
105
+ loofah (~> 2.2, >= 2.2.2)
106
+ railties (5.2.1)
107
+ actionpack (= 5.2.1)
108
+ activesupport (= 5.2.1)
109
+ method_source
110
+ rake (>= 0.8.7)
111
+ thor (>= 0.19.0, < 2.0)
112
+ rake (12.3.1)
113
+ rspec (3.6.0)
114
+ rspec-core (~> 3.6.0)
115
+ rspec-expectations (~> 3.6.0)
116
+ rspec-mocks (~> 3.6.0)
117
+ rspec-core (3.6.0)
118
+ rspec-support (~> 3.6.0)
119
+ rspec-expectations (3.6.0)
120
+ diff-lcs (>= 1.2.0, < 2.0)
121
+ rspec-support (~> 3.6.0)
122
+ rspec-mocks (3.6.0)
123
+ diff-lcs (>= 1.2.0, < 2.0)
124
+ rspec-support (~> 3.6.0)
125
+ rspec-rails (3.6.0)
126
+ actionpack (>= 3.0)
127
+ activesupport (>= 3.0)
128
+ railties (>= 3.0)
129
+ rspec-core (~> 3.6.0)
130
+ rspec-expectations (~> 3.6.0)
131
+ rspec-mocks (~> 3.6.0)
132
+ rspec-support (~> 3.6.0)
133
+ rspec-support (3.6.0)
134
+ rspec_candy (0.4.1)
135
+ rspec
136
+ sneaky-save
137
+ shoulda-matchers (3.1.1)
138
+ activesupport (>= 4.0.0)
139
+ sneaky-save (0.1.2)
140
+ activerecord (>= 3.2.0)
141
+ sprockets (3.7.2)
142
+ concurrent-ruby (~> 1.0)
143
+ rack (> 1, < 3)
144
+ sprockets-rails (3.2.1)
145
+ actionpack (>= 4.0)
146
+ activesupport (>= 4.0)
147
+ sprockets (>= 3.0.0)
148
+ sqlite3 (1.3.13)
149
+ thor (0.20.0)
150
+ thread_safe (0.3.6)
151
+ tzinfo (1.2.5)
152
+ thread_safe (~> 0.1)
153
+ websocket-driver (0.7.0)
154
+ websocket-extensions (>= 0.1.0)
155
+ websocket-extensions (0.1.3)
156
+
157
+ PLATFORMS
158
+ ruby
159
+
160
+ DEPENDENCIES
161
+ assignable_values
162
+ consul!
163
+ database_cleaner
164
+ gemika
165
+ rails (~> 5.2.0)
166
+ rspec
167
+ rspec-rails
168
+ rspec_candy
169
+ shoulda-matchers
170
+ sqlite3
171
+
172
+ BUNDLED WITH
173
+ 1.16.1
@@ -1,3 +1,3 @@
1
1
  module Consul
2
- VERSION = '0.13.2'
2
+ VERSION = '0.14.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: consul
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.2
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henning Koch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-02 00:00:00.000000000 Z
11
+ date: 2018-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: memoizer
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '3.2'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '3.2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: edge_rider
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -59,12 +59,21 @@ extensions: []
59
59
  extra_rdoc_files: []
60
60
  files:
61
61
  - ".gitignore"
62
+ - ".ruby-version"
62
63
  - ".travis.yml"
63
64
  - CHANGELOG.md
65
+ - Gemfile
66
+ - Gemfile.lock
64
67
  - LICENSE
65
68
  - README.md
66
69
  - Rakefile
67
70
  - consul.gemspec
71
+ - gemfiles/Gemfile.3-2
72
+ - gemfiles/Gemfile.3-2.lock
73
+ - gemfiles/Gemfile.4-2
74
+ - gemfiles/Gemfile.4-2.lock
75
+ - gemfiles/Gemfile.5-2
76
+ - gemfiles/Gemfile.5-2.lock
68
77
  - lib/consul.rb
69
78
  - lib/consul/active_record.rb
70
79
  - lib/consul/controller.rb
@@ -78,7 +87,9 @@ files:
78
87
  homepage: https://github.com/makandra/consul
79
88
  licenses:
80
89
  - MIT
81
- metadata: {}
90
+ metadata:
91
+ bug_tracker_uri: https://github.com/makandra/consul/issues
92
+ changelog_uri: https://github.com/makandra/consul/blob/master/CHANGELOG.md
82
93
  post_install_message:
83
94
  rdoc_options: []
84
95
  require_paths: