committee-rails 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/.travis.yml +3 -2
- data/Gemfile +5 -0
- data/README.md +3 -0
- data/committee-rails.gemspec +1 -6
- data/lib/committee/rails/test/methods.rb +3 -10
- data/lib/committee/rails/version.rb +1 -1
- metadata +5 -76
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa06dd474eb9c10c7f96d481cc6c5d3bb6ab7eaf43a397c60cfd94933ceb2716
|
4
|
+
data.tar.gz: 10c18ae513ce8199bed3beaa81b2134ac25245164fd95855028aa90ba7f389b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2c83913bed313e65ad4278f89c1e29527340bbf91d9689ebe09cb44484470d5f1506785520af65f82205a991db675633ac62d57ff987e5ba66b96339a6219f4
|
7
|
+
data.tar.gz: 4d8cee8759b811c9bfa5180d5a74bf2af9a08b77a03fe9ab620be4202ac69ced80145af80f7e5fa6646fc0516663929819abea84bd8d628bcc224cec1d724cbc
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -17,6 +17,9 @@ And then execute:
|
|
17
17
|
|
18
18
|
$ bundle
|
19
19
|
|
20
|
+
If you use committee prior to 3.0, you have to use committee-rails 0.4.x. Please see below.
|
21
|
+
|
22
|
+
[0.4 (0-4-stable) documentation](https://github.com/willnet/committee-rails/tree/0-4-stable)
|
20
23
|
|
21
24
|
If you use committee prior to 2.4, you have to use committee-rails 0.3.x. Please see below.
|
22
25
|
|
data/committee-rails.gemspec
CHANGED
@@ -18,13 +18,8 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.bindir = 'exe'
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ['lib']
|
21
|
-
spec.add_dependency 'committee', '>=
|
21
|
+
spec.add_dependency 'committee', '>= 3.0.0'
|
22
22
|
spec.add_dependency 'activesupport'
|
23
23
|
spec.add_dependency 'actionpack'
|
24
24
|
spec.add_dependency 'railties'
|
25
|
-
spec.add_development_dependency 'bundler', '~> 1.13'
|
26
|
-
spec.add_development_dependency 'rake', '~> 10.0'
|
27
|
-
spec.add_development_dependency 'minitest', '~> 5.0'
|
28
|
-
spec.add_development_dependency 'rspec'
|
29
|
-
spec.add_development_dependency 'rspec-rails'
|
30
25
|
end
|
@@ -1,22 +1,15 @@
|
|
1
|
+
require 'committee'
|
2
|
+
|
1
3
|
module Committee::Rails
|
2
4
|
module Test
|
3
5
|
module Methods
|
4
6
|
include Committee::Test::Methods
|
5
7
|
|
6
|
-
def committee_schema
|
7
|
-
# this code for 2.4.0, committee 3.x use committee_options
|
8
|
-
@committee_schema ||= Committee::Middleware::Base.new(nil, committee_options).send(:get_schema, committee_options)
|
9
|
-
end
|
10
|
-
|
11
8
|
def committee_options
|
12
9
|
if defined?(RSpec) && (options = RSpec.try(:configuration).try(:committee_options))
|
13
10
|
options
|
14
|
-
elsif !defined?(@committee_schema)
|
15
|
-
{ schema: default_schema }
|
16
11
|
else
|
17
|
-
|
18
|
-
# we can remove in comittee 3.x
|
19
|
-
{ schema: committee_schema }
|
12
|
+
{ schema_path: default_schema }
|
20
13
|
end
|
21
14
|
end
|
22
15
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: committee-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- willnet
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: committee
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 3.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 3.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activesupport
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,76 +66,6 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: bundler
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '1.13'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '1.13'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rake
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '10.0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '10.0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: minitest
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '5.0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '5.0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: rspec
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: rspec-rails
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - ">="
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
139
69
|
description: Committee for rails
|
140
70
|
email:
|
141
71
|
- netwillnet@gmail.com
|
@@ -175,8 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
105
|
- !ruby/object:Gem::Version
|
176
106
|
version: '0'
|
177
107
|
requirements: []
|
178
|
-
|
179
|
-
rubygems_version: 2.7.6
|
108
|
+
rubygems_version: 3.1.2
|
180
109
|
signing_key:
|
181
110
|
specification_version: 4
|
182
111
|
summary: Committee for rails
|