need_label 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +2 -2
- data/Gemfile.lock +134 -112
- data/lib/need_label/version.rb +1 -1
- data/need_label.gemspec +3 -3
- data/spec/fake_app.rb +8 -3
- data/spec/requests/need_label_spec.rb +14 -14
- data/spec/spec_helper.rb +1 -0
- metadata +32 -50
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: f875ce2e29836ede355bbdfc8487b6613e4d102b
|
|
4
|
+
data.tar.gz: 327b85ce9b233cfd214e27b74c7071f22fb2208c
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 6fb7d1692f8b464dbf833c3e22b46a2c724821818a93b6630a38e3d616401b1903135bef228d51fe419a01c565b191c059bd06146b370e251532abfd3676c8f3
|
|
7
|
+
data.tar.gz: c7370af95d496687e8c511bb2990d281409ec99f98bafb53427944dc9f25226776ba836975f3691028af078f3aac76ab01028f0cde395a8e70b5df73c319fb0d
|
data/.gitignore
CHANGED
|
@@ -14,7 +14,7 @@ doc
|
|
|
14
14
|
# jeweler generated
|
|
15
15
|
pkg
|
|
16
16
|
|
|
17
|
-
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
|
|
17
|
+
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
|
|
18
18
|
#
|
|
19
19
|
# * Create a file at ~/.gitignore
|
|
20
20
|
# * Include files you want ignored
|
|
@@ -50,4 +50,4 @@ pkg
|
|
|
50
50
|
.idea
|
|
51
51
|
*.gem
|
|
52
52
|
log
|
|
53
|
-
|
|
53
|
+
.tags*
|
data/Gemfile.lock
CHANGED
|
@@ -7,132 +7,154 @@ PATH
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
|
|
11
|
-
actionpack (=
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
activesupport (=
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
10
|
+
actioncable (5.1.4)
|
|
11
|
+
actionpack (= 5.1.4)
|
|
12
|
+
nio4r (~> 2.0)
|
|
13
|
+
websocket-driver (~> 0.6.1)
|
|
14
|
+
actionmailer (5.1.4)
|
|
15
|
+
actionpack (= 5.1.4)
|
|
16
|
+
actionview (= 5.1.4)
|
|
17
|
+
activejob (= 5.1.4)
|
|
18
|
+
mail (~> 2.5, >= 2.5.4)
|
|
19
|
+
rails-dom-testing (~> 2.0)
|
|
20
|
+
actionpack (5.1.4)
|
|
21
|
+
actionview (= 5.1.4)
|
|
22
|
+
activesupport (= 5.1.4)
|
|
23
|
+
rack (~> 2.0)
|
|
24
|
+
rack-test (>= 0.6.3)
|
|
25
|
+
rails-dom-testing (~> 2.0)
|
|
26
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
27
|
+
actionview (5.1.4)
|
|
28
|
+
activesupport (= 5.1.4)
|
|
29
|
+
builder (~> 3.1)
|
|
30
|
+
erubi (~> 1.4)
|
|
31
|
+
rails-dom-testing (~> 2.0)
|
|
32
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
|
33
|
+
activejob (5.1.4)
|
|
34
|
+
activesupport (= 5.1.4)
|
|
35
|
+
globalid (>= 0.3.6)
|
|
36
|
+
activemodel (5.1.4)
|
|
37
|
+
activesupport (= 5.1.4)
|
|
38
|
+
activerecord (5.1.4)
|
|
39
|
+
activemodel (= 5.1.4)
|
|
40
|
+
activesupport (= 5.1.4)
|
|
41
|
+
arel (~> 8.0)
|
|
42
|
+
activesupport (5.1.4)
|
|
43
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
44
|
+
i18n (~> 0.7)
|
|
45
|
+
minitest (~> 5.1)
|
|
46
|
+
tzinfo (~> 1.1)
|
|
47
|
+
addressable (2.5.2)
|
|
48
|
+
public_suffix (>= 2.0.2, < 4.0)
|
|
49
|
+
arel (8.0.0)
|
|
50
|
+
builder (3.2.3)
|
|
51
|
+
capybara (2.17.0)
|
|
52
|
+
addressable
|
|
53
|
+
mini_mime (>= 0.1.3)
|
|
41
54
|
nokogiri (>= 1.3.3)
|
|
42
55
|
rack (>= 1.0.0)
|
|
43
56
|
rack-test (>= 0.5.4)
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
rack-
|
|
68
|
-
rack
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
57
|
+
xpath (>= 2.0, < 4.0)
|
|
58
|
+
concurrent-ruby (1.0.5)
|
|
59
|
+
crass (1.0.3)
|
|
60
|
+
diff-lcs (1.3)
|
|
61
|
+
erubi (1.7.0)
|
|
62
|
+
globalid (0.4.1)
|
|
63
|
+
activesupport (>= 4.2.0)
|
|
64
|
+
i18n (0.9.3)
|
|
65
|
+
concurrent-ruby (~> 1.0)
|
|
66
|
+
loofah (2.1.1)
|
|
67
|
+
crass (~> 1.0.2)
|
|
68
|
+
nokogiri (>= 1.5.9)
|
|
69
|
+
mail (2.7.0)
|
|
70
|
+
mini_mime (>= 0.1.1)
|
|
71
|
+
method_source (0.9.0)
|
|
72
|
+
mini_mime (1.0.0)
|
|
73
|
+
mini_portile2 (2.3.0)
|
|
74
|
+
minitest (5.11.3)
|
|
75
|
+
nio4r (2.2.0)
|
|
76
|
+
nokogiri (1.8.2)
|
|
77
|
+
mini_portile2 (~> 2.3.0)
|
|
78
|
+
public_suffix (3.0.1)
|
|
79
|
+
rack (2.0.4)
|
|
80
|
+
rack-test (0.8.2)
|
|
81
|
+
rack (>= 1.0, < 3)
|
|
82
|
+
rails (5.1.4)
|
|
83
|
+
actioncable (= 5.1.4)
|
|
84
|
+
actionmailer (= 5.1.4)
|
|
85
|
+
actionpack (= 5.1.4)
|
|
86
|
+
actionview (= 5.1.4)
|
|
87
|
+
activejob (= 5.1.4)
|
|
88
|
+
activemodel (= 5.1.4)
|
|
89
|
+
activerecord (= 5.1.4)
|
|
90
|
+
activesupport (= 5.1.4)
|
|
91
|
+
bundler (>= 1.3.0)
|
|
92
|
+
railties (= 5.1.4)
|
|
93
|
+
sprockets-rails (>= 2.0.0)
|
|
94
|
+
rails-dom-testing (2.0.3)
|
|
95
|
+
activesupport (>= 4.2.0)
|
|
96
|
+
nokogiri (>= 1.6)
|
|
97
|
+
rails-html-sanitizer (1.0.3)
|
|
98
|
+
loofah (~> 2.0)
|
|
99
|
+
railties (5.1.4)
|
|
100
|
+
actionpack (= 5.1.4)
|
|
101
|
+
activesupport (= 5.1.4)
|
|
102
|
+
method_source
|
|
83
103
|
rake (>= 0.8.7)
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
rspec-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
104
|
+
thor (>= 0.18.1, < 2.0)
|
|
105
|
+
rake (12.3.0)
|
|
106
|
+
rr (1.2.1)
|
|
107
|
+
rspec (3.7.0)
|
|
108
|
+
rspec-core (~> 3.7.0)
|
|
109
|
+
rspec-expectations (~> 3.7.0)
|
|
110
|
+
rspec-mocks (~> 3.7.0)
|
|
111
|
+
rspec-core (3.7.1)
|
|
112
|
+
rspec-support (~> 3.7.0)
|
|
113
|
+
rspec-expectations (3.7.0)
|
|
114
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
115
|
+
rspec-support (~> 3.7.0)
|
|
116
|
+
rspec-mocks (3.7.0)
|
|
117
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
118
|
+
rspec-support (~> 3.7.0)
|
|
119
|
+
rspec-rails (3.7.2)
|
|
99
120
|
actionpack (>= 3.0)
|
|
100
121
|
activesupport (>= 3.0)
|
|
101
122
|
railties (>= 3.0)
|
|
102
|
-
rspec-core (~>
|
|
103
|
-
rspec-expectations (~>
|
|
104
|
-
rspec-mocks (~>
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
xpath (0.1.4)
|
|
125
|
-
nokogiri (~> 1.3)
|
|
123
|
+
rspec-core (~> 3.7.0)
|
|
124
|
+
rspec-expectations (~> 3.7.0)
|
|
125
|
+
rspec-mocks (~> 3.7.0)
|
|
126
|
+
rspec-support (~> 3.7.0)
|
|
127
|
+
rspec-support (3.7.1)
|
|
128
|
+
sprockets (3.7.1)
|
|
129
|
+
concurrent-ruby (~> 1.0)
|
|
130
|
+
rack (> 1, < 3)
|
|
131
|
+
sprockets-rails (3.2.1)
|
|
132
|
+
actionpack (>= 4.0)
|
|
133
|
+
activesupport (>= 4.0)
|
|
134
|
+
sprockets (>= 3.0.0)
|
|
135
|
+
sqlite3 (1.3.13)
|
|
136
|
+
thor (0.20.0)
|
|
137
|
+
thread_safe (0.3.6)
|
|
138
|
+
tzinfo (1.2.5)
|
|
139
|
+
thread_safe (~> 0.1)
|
|
140
|
+
websocket-driver (0.6.5)
|
|
141
|
+
websocket-extensions (>= 0.1.0)
|
|
142
|
+
websocket-extensions (0.1.3)
|
|
143
|
+
xpath (3.0.0)
|
|
144
|
+
nokogiri (~> 1.8)
|
|
126
145
|
|
|
127
146
|
PLATFORMS
|
|
128
147
|
ruby
|
|
129
148
|
|
|
130
149
|
DEPENDENCIES
|
|
131
150
|
bundler (~> 1.3)
|
|
132
|
-
capybara (~>
|
|
151
|
+
capybara (~> 2.17)
|
|
133
152
|
need_label!
|
|
134
153
|
rake
|
|
135
154
|
rr
|
|
136
|
-
rspec (~>
|
|
155
|
+
rspec (~> 3.7)
|
|
137
156
|
rspec-rails
|
|
138
|
-
sqlite3 (~> 1.3
|
|
157
|
+
sqlite3 (~> 1.3)
|
|
158
|
+
|
|
159
|
+
BUNDLED WITH
|
|
160
|
+
1.15.3
|
data/lib/need_label/version.rb
CHANGED
data/need_label.gemspec
CHANGED
|
@@ -20,10 +20,10 @@ Gem::Specification.new do |s|
|
|
|
20
20
|
|
|
21
21
|
s.add_development_dependency 'bundler', '~> 1.3'
|
|
22
22
|
s.add_development_dependency 'rake'
|
|
23
|
-
s.add_development_dependency 'rspec', '~>
|
|
23
|
+
s.add_development_dependency 'rspec', '~> 3.7'
|
|
24
24
|
s.add_development_dependency 'rspec-rails'
|
|
25
|
-
s.add_development_dependency 'sqlite3', '~> 1.3
|
|
26
|
-
s.add_development_dependency 'capybara','~>
|
|
25
|
+
s.add_development_dependency 'sqlite3', '~> 1.3'
|
|
26
|
+
s.add_development_dependency 'capybara','~> 2.17'
|
|
27
27
|
s.add_development_dependency 'rr'
|
|
28
28
|
s.add_dependency 'rails', '>= 3.0.7'
|
|
29
29
|
end
|
data/spec/fake_app.rb
CHANGED
|
@@ -5,14 +5,19 @@ require 'action_view/helpers'
|
|
|
5
5
|
require 'need_label'
|
|
6
6
|
|
|
7
7
|
# database
|
|
8
|
-
ActiveRecord::Base.configurations = {'test' => {:adapter => 'sqlite3', :database => ':memory:'}}
|
|
9
|
-
|
|
8
|
+
# ActiveRecord::Base.configurations = {'test' => {:adapter => 'sqlite3', :database => ':memory:'}}
|
|
9
|
+
config = {
|
|
10
|
+
adapter: 'sqlite3',
|
|
11
|
+
database: ':memory:',
|
|
12
|
+
}
|
|
13
|
+
ActiveRecord::Base.establish_connection(config)
|
|
10
14
|
|
|
11
15
|
# config
|
|
12
16
|
app = Class.new(Rails::Application)
|
|
13
17
|
app.config.secret_token = '3b7cd727ee24e8444053437c36cc66c4'
|
|
14
18
|
app.config.session_store :cookie_store, :key => '_myapp_session'
|
|
15
19
|
app.config.active_support.deprecation = :log
|
|
20
|
+
app.config.eager_load = false
|
|
16
21
|
app.initialize!
|
|
17
22
|
|
|
18
23
|
# routes
|
|
@@ -51,7 +56,7 @@ class ApplicationController < ActionController::Base; end
|
|
|
51
56
|
Object.const_set(:ApplicationHelper, Module.new)
|
|
52
57
|
|
|
53
58
|
#migrations
|
|
54
|
-
class CreateAllTables < ActiveRecord::Migration
|
|
59
|
+
class CreateAllTables < ActiveRecord::Migration[4.2]
|
|
55
60
|
def self.up
|
|
56
61
|
create_table(:users) {|t| t.string :name; t.integer :age}
|
|
57
62
|
create_table(:user_with_procs) {|t| t.string :name; t.integer :age}
|
|
@@ -20,13 +20,13 @@ describe 'need-label is outputted to class.' do
|
|
|
20
20
|
visit '/users/new'
|
|
21
21
|
end
|
|
22
22
|
it 'It checks that need-label is outputted.' do
|
|
23
|
-
page.has_xpath?("//label[@for='user_name'][@class='need-label']").
|
|
23
|
+
expect(page.has_xpath?("//label[@for='user_name'][@class='need-label']")).to be true
|
|
24
24
|
end
|
|
25
25
|
it 'It checks that need-label is not outputted.' do
|
|
26
|
-
page.has_xpath?("//label[@for='user_age'][not(@class)]").
|
|
26
|
+
expect(page.has_xpath?("//label[@for='user_age'][not(@class)]")).to be true
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
|
-
|
|
29
|
+
|
|
30
30
|
describe 'symbol parameter without options' do
|
|
31
31
|
before do
|
|
32
32
|
class UsersController < ApplicationController
|
|
@@ -46,10 +46,10 @@ describe 'need-label is outputted to class.' do
|
|
|
46
46
|
visit '/users/new'
|
|
47
47
|
end
|
|
48
48
|
it 'It checks that need-label is outputted.' do
|
|
49
|
-
page.has_xpath?("//label[@for='user_name'][@class='need-label']").
|
|
49
|
+
expect(page.has_xpath?("//label[@for='user_name'][@class='need-label']")).to be true
|
|
50
50
|
end
|
|
51
51
|
it 'It checks that need-label is not outputted.' do
|
|
52
|
-
page.has_xpath?("//label[@for='user_age'][not(@class)]").
|
|
52
|
+
expect(page.has_xpath?("//label[@for='user_age'][not(@class)]")).to be true
|
|
53
53
|
end
|
|
54
54
|
end
|
|
55
55
|
|
|
@@ -72,10 +72,10 @@ describe 'need-label is outputted to class.' do
|
|
|
72
72
|
visit '/users/new'
|
|
73
73
|
end
|
|
74
74
|
it 'It checks that need-label is outputted.' do
|
|
75
|
-
page.has_no_xpath?("//label[@for='user_name'][@class='need-label']").
|
|
75
|
+
expect(page.has_no_xpath?("//label[@for='user_name'][@class='need-label']")).to be true
|
|
76
76
|
end
|
|
77
77
|
it 'It checks that need-label is not outputted.' do
|
|
78
|
-
page.has_xpath?("//label[@for='user_age'][not(@class)]").
|
|
78
|
+
expect(page.has_xpath?("//label[@for='user_age'][not(@class)]")).to be true
|
|
79
79
|
end
|
|
80
80
|
end
|
|
81
81
|
|
|
@@ -98,10 +98,10 @@ describe 'need-label is outputted to class.' do
|
|
|
98
98
|
visit '/users/new'
|
|
99
99
|
end
|
|
100
100
|
it 'It checks that need-label is outputted.' do
|
|
101
|
-
page.has_xpath?("//label[@for='user_name'][@class='foo need-label']").
|
|
101
|
+
expect(page.has_xpath?("//label[@for='user_name'][@class='foo need-label']")).to be true
|
|
102
102
|
end
|
|
103
103
|
it 'It checks that need-label is not outputted.' do
|
|
104
|
-
page.has_xpath?("//label[@for='user_age'][not(@class)]").
|
|
104
|
+
expect(page.has_xpath?("//label[@for='user_age'][not(@class)]")).to be true
|
|
105
105
|
end
|
|
106
106
|
end
|
|
107
107
|
|
|
@@ -124,10 +124,10 @@ describe 'need-label is outputted to class.' do
|
|
|
124
124
|
visit '/users/new'
|
|
125
125
|
end
|
|
126
126
|
it 'It checks that need-label is outputted.' do
|
|
127
|
-
page.has_xpath?("//label[@for='user_name'][@class='foo']").
|
|
127
|
+
expect(page.has_xpath?("//label[@for='user_name'][@class='foo']")).to be true
|
|
128
128
|
end
|
|
129
129
|
it 'It checks that need-label is not outputted.' do
|
|
130
|
-
page.has_xpath?("//label[@for='user_age'][not(@class)]").
|
|
130
|
+
expect(page.has_xpath?("//label[@for='user_age'][not(@class)]")).to be true
|
|
131
131
|
end
|
|
132
132
|
end
|
|
133
133
|
|
|
@@ -150,7 +150,7 @@ describe 'need-label is outputted to class.' do
|
|
|
150
150
|
visit '/user_with_procs/new'
|
|
151
151
|
end
|
|
152
152
|
it 'It checks that need-label is outputted.' do
|
|
153
|
-
page.has_xpath?("//label[@for='user_with_proc_name'][@class='need-label']").
|
|
153
|
+
expect(page.has_xpath?("//label[@for='user_with_proc_name'][@class='need-label']")).to be true
|
|
154
154
|
end
|
|
155
155
|
end
|
|
156
156
|
|
|
@@ -173,7 +173,7 @@ describe 'need-label is outputted to class.' do
|
|
|
173
173
|
visit '/user_with_strings/new'
|
|
174
174
|
end
|
|
175
175
|
it 'It checks that need-label is outputted.' do
|
|
176
|
-
page.has_xpath?("//label[@for='user_with_string_name'][@class='need-label']").
|
|
176
|
+
expect(page.has_xpath?("//label[@for='user_with_string_name'][@class='need-label']")).to be true
|
|
177
177
|
end
|
|
178
178
|
end
|
|
179
179
|
|
|
@@ -196,7 +196,7 @@ describe 'need-label is outputted to class.' do
|
|
|
196
196
|
visit '/user_with_symbols/new'
|
|
197
197
|
end
|
|
198
198
|
it 'It checks that need-label is outputted.' do
|
|
199
|
-
page.has_xpath?("//label[@for='user_with_symbol_name'][@class='need-label']").
|
|
199
|
+
expect(page.has_xpath?("//label[@for='user_with_symbol_name'][@class='need-label']")).to be true
|
|
200
200
|
end
|
|
201
201
|
end
|
|
202
202
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
|
@@ -1,142 +1,125 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: need_label
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 0.2.3
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- Yamamoto Kazuhisa
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 2018-02-07 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: bundler
|
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
|
17
|
-
none: false
|
|
18
16
|
requirements:
|
|
19
|
-
- - ~>
|
|
17
|
+
- - "~>"
|
|
20
18
|
- !ruby/object:Gem::Version
|
|
21
19
|
version: '1.3'
|
|
22
20
|
type: :development
|
|
23
21
|
prerelease: false
|
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
-
none: false
|
|
26
23
|
requirements:
|
|
27
|
-
- - ~>
|
|
24
|
+
- - "~>"
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
29
26
|
version: '1.3'
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
|
31
28
|
name: rake
|
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
|
33
|
-
none: false
|
|
34
30
|
requirements:
|
|
35
|
-
- -
|
|
31
|
+
- - ">="
|
|
36
32
|
- !ruby/object:Gem::Version
|
|
37
33
|
version: '0'
|
|
38
34
|
type: :development
|
|
39
35
|
prerelease: false
|
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
-
none: false
|
|
42
37
|
requirements:
|
|
43
|
-
- -
|
|
38
|
+
- - ">="
|
|
44
39
|
- !ruby/object:Gem::Version
|
|
45
40
|
version: '0'
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
|
47
42
|
name: rspec
|
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
|
49
|
-
none: false
|
|
50
44
|
requirements:
|
|
51
|
-
- - ~>
|
|
45
|
+
- - "~>"
|
|
52
46
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: '
|
|
47
|
+
version: '3.7'
|
|
54
48
|
type: :development
|
|
55
49
|
prerelease: false
|
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
-
none: false
|
|
58
51
|
requirements:
|
|
59
|
-
- - ~>
|
|
52
|
+
- - "~>"
|
|
60
53
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '
|
|
54
|
+
version: '3.7'
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
|
63
56
|
name: rspec-rails
|
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
|
65
|
-
none: false
|
|
66
58
|
requirements:
|
|
67
|
-
- -
|
|
59
|
+
- - ">="
|
|
68
60
|
- !ruby/object:Gem::Version
|
|
69
61
|
version: '0'
|
|
70
62
|
type: :development
|
|
71
63
|
prerelease: false
|
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
73
|
-
none: false
|
|
74
65
|
requirements:
|
|
75
|
-
- -
|
|
66
|
+
- - ">="
|
|
76
67
|
- !ruby/object:Gem::Version
|
|
77
68
|
version: '0'
|
|
78
69
|
- !ruby/object:Gem::Dependency
|
|
79
70
|
name: sqlite3
|
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
|
81
|
-
none: false
|
|
82
72
|
requirements:
|
|
83
|
-
- - ~>
|
|
73
|
+
- - "~>"
|
|
84
74
|
- !ruby/object:Gem::Version
|
|
85
|
-
version: 1.3
|
|
75
|
+
version: '1.3'
|
|
86
76
|
type: :development
|
|
87
77
|
prerelease: false
|
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
89
|
-
none: false
|
|
90
79
|
requirements:
|
|
91
|
-
- - ~>
|
|
80
|
+
- - "~>"
|
|
92
81
|
- !ruby/object:Gem::Version
|
|
93
|
-
version: 1.3
|
|
82
|
+
version: '1.3'
|
|
94
83
|
- !ruby/object:Gem::Dependency
|
|
95
84
|
name: capybara
|
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
|
97
|
-
none: false
|
|
98
86
|
requirements:
|
|
99
|
-
- - ~>
|
|
87
|
+
- - "~>"
|
|
100
88
|
- !ruby/object:Gem::Version
|
|
101
|
-
version: '
|
|
89
|
+
version: '2.17'
|
|
102
90
|
type: :development
|
|
103
91
|
prerelease: false
|
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
105
|
-
none: false
|
|
106
93
|
requirements:
|
|
107
|
-
- - ~>
|
|
94
|
+
- - "~>"
|
|
108
95
|
- !ruby/object:Gem::Version
|
|
109
|
-
version: '
|
|
96
|
+
version: '2.17'
|
|
110
97
|
- !ruby/object:Gem::Dependency
|
|
111
98
|
name: rr
|
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
|
113
|
-
none: false
|
|
114
100
|
requirements:
|
|
115
|
-
- -
|
|
101
|
+
- - ">="
|
|
116
102
|
- !ruby/object:Gem::Version
|
|
117
103
|
version: '0'
|
|
118
104
|
type: :development
|
|
119
105
|
prerelease: false
|
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
-
none: false
|
|
122
107
|
requirements:
|
|
123
|
-
- -
|
|
108
|
+
- - ">="
|
|
124
109
|
- !ruby/object:Gem::Version
|
|
125
110
|
version: '0'
|
|
126
111
|
- !ruby/object:Gem::Dependency
|
|
127
112
|
name: rails
|
|
128
113
|
requirement: !ruby/object:Gem::Requirement
|
|
129
|
-
none: false
|
|
130
114
|
requirements:
|
|
131
|
-
- -
|
|
115
|
+
- - ">="
|
|
132
116
|
- !ruby/object:Gem::Version
|
|
133
117
|
version: 3.0.7
|
|
134
118
|
type: :runtime
|
|
135
119
|
prerelease: false
|
|
136
120
|
version_requirements: !ruby/object:Gem::Requirement
|
|
137
|
-
none: false
|
|
138
121
|
requirements:
|
|
139
|
-
- -
|
|
122
|
+
- - ">="
|
|
140
123
|
- !ruby/object:Gem::Version
|
|
141
124
|
version: 3.0.7
|
|
142
125
|
description: A class is outputted about an indispensable input item.
|
|
@@ -146,9 +129,9 @@ executables: []
|
|
|
146
129
|
extensions: []
|
|
147
130
|
extra_rdoc_files: []
|
|
148
131
|
files:
|
|
149
|
-
- .document
|
|
150
|
-
- .gitignore
|
|
151
|
-
- .rspec
|
|
132
|
+
- ".document"
|
|
133
|
+
- ".gitignore"
|
|
134
|
+
- ".rspec"
|
|
152
135
|
- Gemfile
|
|
153
136
|
- Gemfile.lock
|
|
154
137
|
- LICENSE.txt
|
|
@@ -164,27 +147,26 @@ files:
|
|
|
164
147
|
homepage: https://github.com/kazuhisa/need_label
|
|
165
148
|
licenses:
|
|
166
149
|
- MIT
|
|
150
|
+
metadata: {}
|
|
167
151
|
post_install_message:
|
|
168
152
|
rdoc_options: []
|
|
169
153
|
require_paths:
|
|
170
154
|
- lib
|
|
171
155
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
172
|
-
none: false
|
|
173
156
|
requirements:
|
|
174
|
-
- -
|
|
157
|
+
- - ">="
|
|
175
158
|
- !ruby/object:Gem::Version
|
|
176
159
|
version: '0'
|
|
177
160
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
|
-
none: false
|
|
179
161
|
requirements:
|
|
180
|
-
- -
|
|
162
|
+
- - ">="
|
|
181
163
|
- !ruby/object:Gem::Version
|
|
182
164
|
version: '0'
|
|
183
165
|
requirements: []
|
|
184
166
|
rubyforge_project:
|
|
185
|
-
rubygems_version:
|
|
167
|
+
rubygems_version: 2.5.2
|
|
186
168
|
signing_key:
|
|
187
|
-
specification_version:
|
|
169
|
+
specification_version: 4
|
|
188
170
|
summary: A class is outputted about an indispensable input item.
|
|
189
171
|
test_files:
|
|
190
172
|
- spec/fake_app.rb
|