kokishin 0.1.0

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.
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in kokishin.gemspec
6
+ gemspec path: '..'
7
+
8
+ gem 'pry'
9
+ gem 'rake', '~> 13.0'
10
+ gem 'rspec', '~> 3.0'
11
+ gem 'yoshiki'
12
+
13
+ group :test do
14
+ rails_version = ENV.fetch 'RAILS_VERSION'
15
+
16
+ gem 'activemodel', "~> #{rails_version}"
17
+ gem 'activerecord', "~> #{rails_version}"
18
+ gem 'sqlite3'
19
+ end
@@ -0,0 +1,97 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ kokishin (0.1.0)
5
+ rspec-expectations
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activemodel (6.0.6.1)
11
+ activesupport (= 6.0.6.1)
12
+ activerecord (6.0.6.1)
13
+ activemodel (= 6.0.6.1)
14
+ activesupport (= 6.0.6.1)
15
+ activesupport (6.0.6.1)
16
+ concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ i18n (>= 0.7, < 2)
18
+ minitest (~> 5.1)
19
+ tzinfo (~> 1.1)
20
+ zeitwerk (~> 2.2, >= 2.2.2)
21
+ ast (2.4.2)
22
+ coderay (1.1.3)
23
+ concurrent-ruby (1.2.2)
24
+ diff-lcs (1.5.0)
25
+ i18n (1.14.1)
26
+ concurrent-ruby (~> 1.0)
27
+ json (2.6.3)
28
+ method_source (1.0.0)
29
+ mini_portile2 (2.8.4)
30
+ minitest (5.20.0)
31
+ parallel (1.23.0)
32
+ parser (3.2.2.4)
33
+ ast (~> 2.4.1)
34
+ racc
35
+ pry (0.14.2)
36
+ coderay (~> 1.1)
37
+ method_source (~> 1.0)
38
+ racc (1.7.1)
39
+ rainbow (3.1.1)
40
+ rake (13.0.6)
41
+ regexp_parser (2.8.2)
42
+ rexml (3.2.6)
43
+ rspec (3.12.0)
44
+ rspec-core (~> 3.12.0)
45
+ rspec-expectations (~> 3.12.0)
46
+ rspec-mocks (~> 3.12.0)
47
+ rspec-core (3.12.2)
48
+ rspec-support (~> 3.12.0)
49
+ rspec-expectations (3.12.3)
50
+ diff-lcs (>= 1.2.0, < 2.0)
51
+ rspec-support (~> 3.12.0)
52
+ rspec-mocks (3.12.6)
53
+ diff-lcs (>= 1.2.0, < 2.0)
54
+ rspec-support (~> 3.12.0)
55
+ rspec-support (3.12.1)
56
+ rubocop (1.50.2)
57
+ json (~> 2.3)
58
+ parallel (~> 1.10)
59
+ parser (>= 3.2.0.0)
60
+ rainbow (>= 2.2.2, < 4.0)
61
+ regexp_parser (>= 1.8, < 3.0)
62
+ rexml (>= 3.2.5, < 4.0)
63
+ rubocop-ast (>= 1.28.0, < 2.0)
64
+ ruby-progressbar (~> 1.7)
65
+ unicode-display_width (>= 2.4.0, < 3.0)
66
+ rubocop-ast (1.29.0)
67
+ parser (>= 3.2.1.0)
68
+ rubocop-rspec (2.17.1)
69
+ rubocop (~> 1.33)
70
+ ruby-progressbar (1.13.0)
71
+ sqlite3 (1.6.7)
72
+ mini_portile2 (~> 2.8.0)
73
+ thread_safe (0.3.6)
74
+ tzinfo (1.2.11)
75
+ thread_safe (~> 0.1)
76
+ unicode-display_width (2.5.0)
77
+ yoshiki (7.0.0.pre.alpha.1)
78
+ rubocop (> 0.61.0)
79
+ rubocop-rspec (> 1.30.0)
80
+ zeitwerk (2.6.12)
81
+
82
+ PLATFORMS
83
+ aarch64-linux-musl
84
+ arm64-darwin-23
85
+
86
+ DEPENDENCIES
87
+ activemodel (~> 6.0.0)
88
+ activerecord (~> 6.0.0)
89
+ kokishin!
90
+ pry
91
+ rake (~> 13.0)
92
+ rspec (~> 3.0)
93
+ sqlite3
94
+ yoshiki
95
+
96
+ BUNDLED WITH
97
+ 2.4.19
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in kokishin.gemspec
6
+ gemspec path: '..'
7
+
8
+ gem 'pry'
9
+ gem 'rake', '~> 13.0'
10
+ gem 'rspec', '~> 3.0'
11
+ gem 'yoshiki'
12
+
13
+ group :test do
14
+ rails_version = ENV.fetch 'RAILS_VERSION'
15
+
16
+ gem 'activemodel', "~> #{rails_version}"
17
+ gem 'activerecord', "~> #{rails_version}"
18
+ gem 'sqlite3'
19
+ end
@@ -0,0 +1,96 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ kokishin (0.1.0)
5
+ rspec-expectations
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activemodel (6.1.7.6)
11
+ activesupport (= 6.1.7.6)
12
+ activerecord (6.1.7.6)
13
+ activemodel (= 6.1.7.6)
14
+ activesupport (= 6.1.7.6)
15
+ activesupport (6.1.7.6)
16
+ concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ i18n (>= 1.6, < 2)
18
+ minitest (>= 5.1)
19
+ tzinfo (~> 2.0)
20
+ zeitwerk (~> 2.3)
21
+ ast (2.4.2)
22
+ coderay (1.1.3)
23
+ concurrent-ruby (1.2.2)
24
+ diff-lcs (1.5.0)
25
+ i18n (1.14.1)
26
+ concurrent-ruby (~> 1.0)
27
+ json (2.6.3)
28
+ method_source (1.0.0)
29
+ mini_portile2 (2.8.4)
30
+ minitest (5.20.0)
31
+ parallel (1.23.0)
32
+ parser (3.2.2.4)
33
+ ast (~> 2.4.1)
34
+ racc
35
+ pry (0.14.2)
36
+ coderay (~> 1.1)
37
+ method_source (~> 1.0)
38
+ racc (1.7.1)
39
+ rainbow (3.1.1)
40
+ rake (13.0.6)
41
+ regexp_parser (2.8.2)
42
+ rexml (3.2.6)
43
+ rspec (3.12.0)
44
+ rspec-core (~> 3.12.0)
45
+ rspec-expectations (~> 3.12.0)
46
+ rspec-mocks (~> 3.12.0)
47
+ rspec-core (3.12.2)
48
+ rspec-support (~> 3.12.0)
49
+ rspec-expectations (3.12.3)
50
+ diff-lcs (>= 1.2.0, < 2.0)
51
+ rspec-support (~> 3.12.0)
52
+ rspec-mocks (3.12.6)
53
+ diff-lcs (>= 1.2.0, < 2.0)
54
+ rspec-support (~> 3.12.0)
55
+ rspec-support (3.12.1)
56
+ rubocop (1.50.2)
57
+ json (~> 2.3)
58
+ parallel (~> 1.10)
59
+ parser (>= 3.2.0.0)
60
+ rainbow (>= 2.2.2, < 4.0)
61
+ regexp_parser (>= 1.8, < 3.0)
62
+ rexml (>= 3.2.5, < 4.0)
63
+ rubocop-ast (>= 1.28.0, < 2.0)
64
+ ruby-progressbar (~> 1.7)
65
+ unicode-display_width (>= 2.4.0, < 3.0)
66
+ rubocop-ast (1.29.0)
67
+ parser (>= 3.2.1.0)
68
+ rubocop-rspec (2.17.1)
69
+ rubocop (~> 1.33)
70
+ ruby-progressbar (1.13.0)
71
+ sqlite3 (1.6.7)
72
+ mini_portile2 (~> 2.8.0)
73
+ tzinfo (2.0.6)
74
+ concurrent-ruby (~> 1.0)
75
+ unicode-display_width (2.5.0)
76
+ yoshiki (7.0.0.pre.alpha.1)
77
+ rubocop (> 0.61.0)
78
+ rubocop-rspec (> 1.30.0)
79
+ zeitwerk (2.6.12)
80
+
81
+ PLATFORMS
82
+ aarch64-linux-musl
83
+ arm64-darwin-23
84
+
85
+ DEPENDENCIES
86
+ activemodel (~> 6.1.0)
87
+ activerecord (~> 6.1.0)
88
+ kokishin!
89
+ pry
90
+ rake (~> 13.0)
91
+ rspec (~> 3.0)
92
+ sqlite3
93
+ yoshiki
94
+
95
+ BUNDLED WITH
96
+ 2.4.19
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in kokishin.gemspec
6
+ gemspec path: '..'
7
+
8
+ gem 'pry'
9
+ gem 'rake', '~> 13.0'
10
+ gem 'rspec', '~> 3.0'
11
+ gem 'yoshiki'
12
+
13
+ group :test do
14
+ rails_version = ENV.fetch 'RAILS_VERSION'
15
+
16
+ gem 'activemodel', "~> #{rails_version}"
17
+ gem 'activerecord', "~> #{rails_version}"
18
+ gem 'sqlite3'
19
+ end
@@ -0,0 +1,110 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ kokishin (0.1.0)
5
+ rspec-expectations
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activemodel (7.0.8)
11
+ activesupport (= 7.0.8)
12
+ activerecord (7.0.8)
13
+ activemodel (= 7.0.8)
14
+ activesupport (= 7.0.8)
15
+ activesupport (7.0.8)
16
+ concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ i18n (>= 1.6, < 2)
18
+ minitest (>= 5.1)
19
+ tzinfo (~> 2.0)
20
+ ast (2.4.2)
21
+ base64 (0.1.1)
22
+ coderay (1.1.3)
23
+ concurrent-ruby (1.2.2)
24
+ diff-lcs (1.5.0)
25
+ i18n (1.14.1)
26
+ concurrent-ruby (~> 1.0)
27
+ json (2.6.3)
28
+ language_server-protocol (3.17.0.3)
29
+ method_source (1.0.0)
30
+ minitest (5.20.0)
31
+ parallel (1.23.0)
32
+ parser (3.2.2.4)
33
+ ast (~> 2.4.1)
34
+ racc
35
+ pry (0.14.2)
36
+ coderay (~> 1.1)
37
+ method_source (~> 1.0)
38
+ racc (1.7.1)
39
+ rack (3.0.8)
40
+ rainbow (3.1.1)
41
+ rake (13.0.6)
42
+ regexp_parser (2.8.2)
43
+ rexml (3.2.6)
44
+ rspec (3.12.0)
45
+ rspec-core (~> 3.12.0)
46
+ rspec-expectations (~> 3.12.0)
47
+ rspec-mocks (~> 3.12.0)
48
+ rspec-core (3.12.2)
49
+ rspec-support (~> 3.12.0)
50
+ rspec-expectations (3.12.3)
51
+ diff-lcs (>= 1.2.0, < 2.0)
52
+ rspec-support (~> 3.12.0)
53
+ rspec-mocks (3.12.6)
54
+ diff-lcs (>= 1.2.0, < 2.0)
55
+ rspec-support (~> 3.12.0)
56
+ rspec-support (3.12.1)
57
+ rubocop (1.56.3)
58
+ base64 (~> 0.1.1)
59
+ json (~> 2.3)
60
+ language_server-protocol (>= 3.17.0)
61
+ parallel (~> 1.10)
62
+ parser (>= 3.2.2.3)
63
+ rainbow (>= 2.2.2, < 4.0)
64
+ regexp_parser (>= 1.8, < 3.0)
65
+ rexml (>= 3.2.5, < 4.0)
66
+ rubocop-ast (>= 1.28.1, < 2.0)
67
+ ruby-progressbar (~> 1.7)
68
+ unicode-display_width (>= 2.4.0, < 3.0)
69
+ rubocop-ast (1.29.0)
70
+ parser (>= 3.2.1.0)
71
+ rubocop-capybara (2.19.0)
72
+ rubocop (~> 1.41)
73
+ rubocop-factory_bot (2.24.0)
74
+ rubocop (~> 1.33)
75
+ rubocop-rails (2.21.1)
76
+ activesupport (>= 4.2.0)
77
+ rack (>= 1.1)
78
+ rubocop (>= 1.33.0, < 2.0)
79
+ rubocop-rake (0.6.0)
80
+ rubocop (~> 1.0)
81
+ rubocop-rspec (2.24.0)
82
+ rubocop (~> 1.33)
83
+ rubocop-capybara (~> 2.17)
84
+ rubocop-factory_bot (~> 2.22)
85
+ ruby-progressbar (1.13.0)
86
+ sqlite3 (1.6.7-arm64-darwin)
87
+ tzinfo (2.0.6)
88
+ concurrent-ruby (~> 1.0)
89
+ unicode-display_width (2.5.0)
90
+ yoshiki (8.0.0)
91
+ rubocop (= 1.56.3)
92
+ rubocop-rails (= 2.21.1)
93
+ rubocop-rake (= 0.6.0)
94
+ rubocop-rspec (= 2.24.0)
95
+
96
+ PLATFORMS
97
+ arm64-darwin-23
98
+
99
+ DEPENDENCIES
100
+ activemodel (~> 7.0.0)
101
+ activerecord (~> 7.0.0)
102
+ kokishin!
103
+ pry
104
+ rake (~> 13.0)
105
+ rspec (~> 3.0)
106
+ sqlite3
107
+ yoshiki
108
+
109
+ BUNDLED WITH
110
+ 2.4.19
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /_yardoc/
2
+ /.bundle/
3
+ /.yardoc
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/examples.txt
8
+ /spec/reports/
9
+ /tmp/
data/.gitlab-ci.yml ADDED
@@ -0,0 +1,79 @@
1
+ image: ruby:alpine
2
+
3
+ before_script:
4
+ - apk add --no-cache build-base git sqlite sqlite-dev
5
+ - gem update --system
6
+
7
+ .rspec: &rspec
8
+ cache:
9
+ paths:
10
+ - vendor/bundle
11
+ script:
12
+ - bundle install
13
+ - bundle exec rake spec
14
+
15
+ latest:
16
+ script:
17
+ - bundle install
18
+ - bundle exec rubocop
19
+ - bundle exec rake spec
20
+
21
+ rails-7.0.0:
22
+ <<: *rspec
23
+ variables:
24
+ BUNDLE_GEMFILE: ./.ci/Gemfile.rails_${RAILS_VERSION}
25
+ RAILS_VERSION: 7.0.0
26
+
27
+ rails-6.1.0:
28
+ <<: *rspec
29
+ variables:
30
+ BUNDLE_GEMFILE: ./.ci/Gemfile.rails_${RAILS_VERSION}
31
+ RAILS_VERSION: 6.1.0
32
+
33
+ rails-6.0.0:
34
+ <<: *rspec
35
+ variables:
36
+ BUNDLE_GEMFILE: ./.ci/Gemfile.rails_${RAILS_VERSION}
37
+ RAILS_VERSION: 6.0.0
38
+
39
+ rails-5.2.0:
40
+ <<: *rspec
41
+ image: ruby:2.6-alpine
42
+ variables:
43
+ BUNDLE_GEMFILE: ./.ci/Gemfile.rails_${RAILS_VERSION}
44
+ RAILS_VERSION: 5.2.0
45
+
46
+ rails-5.1.0:
47
+ <<: *rspec
48
+ image: ruby:2.6-alpine
49
+ variables:
50
+ BUNDLE_GEMFILE: ./.ci/Gemfile.rails_${RAILS_VERSION}
51
+ RAILS_VERSION: 5.1.0
52
+
53
+ rails-5.0.0:
54
+ <<: *rspec
55
+ image: ruby:2.6-alpine
56
+ variables:
57
+ BUNDLE_GEMFILE: ./.ci/Gemfile.rails_${RAILS_VERSION}
58
+ RAILS_VERSION: 5.0.0
59
+
60
+ rails-4.2.0:
61
+ <<: *rspec
62
+ image: ruby:2.6-alpine
63
+ variables:
64
+ BUNDLE_GEMFILE: ./.ci/Gemfile.rails_${RAILS_VERSION}
65
+ RAILS_VERSION: 4.2.0
66
+
67
+ rails-4.1.0:
68
+ <<: *rspec
69
+ image: ruby:2.6-alpine
70
+ variables:
71
+ BUNDLE_GEMFILE: ./.ci/Gemfile.rails_${RAILS_VERSION}
72
+ RAILS_VERSION: 4.1.0
73
+
74
+ rails-4.0.0:
75
+ <<: *rspec
76
+ image: ruby:2.6-alpine
77
+ variables:
78
+ BUNDLE_GEMFILE: ./.ci/Gemfile.rails_${RAILS_VERSION}
79
+ RAILS_VERSION: 4.0.0
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,27 @@
1
+ inherit_from: .rubocop_todo.yml
2
+
3
+ inherit_mode:
4
+ merge:
5
+ - Exclude
6
+
7
+ AllCops:
8
+ NewCops: enable
9
+ TargetRubyVersion: 3.2
10
+
11
+ inherit_gem:
12
+ yoshiki: .yoshiki-ruby.yml
13
+
14
+ Gemspec/RequiredRubyVersion:
15
+ Enabled: false
16
+ Layout/CaseIndentation:
17
+ IndentOneStep: false
18
+ Metrics/BlockLength:
19
+ Enabled: false
20
+ RSpec/ImplicitSubject:
21
+ EnforcedStyle: require_implicit
22
+ RSpec/MultipleExpectations:
23
+ Enabled: false
24
+ Style/Documentation:
25
+ Enabled: false
26
+ Style/SlicingWithRange:
27
+ Enabled: false
data/.rubocop_todo.yml ADDED
@@ -0,0 +1,24 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config --auto-gen-only-exclude --no-exclude-limit`
3
+ # on 2023-10-18 04:16:52 UTC using RuboCop version 1.56.3.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
7
+ # versions of RuboCop, may require this file to be generated again.
8
+
9
+ # Offense count: 1
10
+ # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max.
11
+ Metrics/AbcSize:
12
+ Exclude:
13
+ - 'lib/kokishin/matchers/validate_matcher.rb'
14
+
15
+ # Offense count: 1
16
+ # Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
17
+ Metrics/MethodLength:
18
+ Exclude:
19
+ - 'lib/kokishin/matchers/validate_matcher.rb'
20
+
21
+ # Offense count: 1
22
+ RSpec/MultipleDescribes:
23
+ Exclude:
24
+ - 'spec/matchers/association_matcher_spec.rb'
data/Gemfile ADDED
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in kokishin.gemspec
6
+ gemspec
7
+
8
+ gem 'pry'
9
+ gem 'rake', '~> 13.0'
10
+ gem 'rspec', '~> 3.0'
11
+ gem 'yoshiki'
12
+
13
+ group :test do
14
+ gem 'activemodel'
15
+ gem 'activerecord'
16
+ gem 'sqlite3'
17
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,110 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ kokishin (0.1.0)
5
+ rspec-expectations
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activemodel (7.0.8)
11
+ activesupport (= 7.0.8)
12
+ activerecord (7.0.8)
13
+ activemodel (= 7.0.8)
14
+ activesupport (= 7.0.8)
15
+ activesupport (7.0.8)
16
+ concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ i18n (>= 1.6, < 2)
18
+ minitest (>= 5.1)
19
+ tzinfo (~> 2.0)
20
+ ast (2.4.2)
21
+ base64 (0.1.1)
22
+ coderay (1.1.3)
23
+ concurrent-ruby (1.2.2)
24
+ diff-lcs (1.5.0)
25
+ i18n (1.14.1)
26
+ concurrent-ruby (~> 1.0)
27
+ json (2.6.3)
28
+ language_server-protocol (3.17.0.3)
29
+ method_source (1.0.0)
30
+ minitest (5.20.0)
31
+ parallel (1.23.0)
32
+ parser (3.2.2.4)
33
+ ast (~> 2.4.1)
34
+ racc
35
+ pry (0.14.2)
36
+ coderay (~> 1.1)
37
+ method_source (~> 1.0)
38
+ racc (1.7.1)
39
+ rack (3.0.8)
40
+ rainbow (3.1.1)
41
+ rake (13.0.6)
42
+ regexp_parser (2.8.2)
43
+ rexml (3.2.6)
44
+ rspec (3.12.0)
45
+ rspec-core (~> 3.12.0)
46
+ rspec-expectations (~> 3.12.0)
47
+ rspec-mocks (~> 3.12.0)
48
+ rspec-core (3.12.2)
49
+ rspec-support (~> 3.12.0)
50
+ rspec-expectations (3.12.3)
51
+ diff-lcs (>= 1.2.0, < 2.0)
52
+ rspec-support (~> 3.12.0)
53
+ rspec-mocks (3.12.6)
54
+ diff-lcs (>= 1.2.0, < 2.0)
55
+ rspec-support (~> 3.12.0)
56
+ rspec-support (3.12.1)
57
+ rubocop (1.56.3)
58
+ base64 (~> 0.1.1)
59
+ json (~> 2.3)
60
+ language_server-protocol (>= 3.17.0)
61
+ parallel (~> 1.10)
62
+ parser (>= 3.2.2.3)
63
+ rainbow (>= 2.2.2, < 4.0)
64
+ regexp_parser (>= 1.8, < 3.0)
65
+ rexml (>= 3.2.5, < 4.0)
66
+ rubocop-ast (>= 1.28.1, < 2.0)
67
+ ruby-progressbar (~> 1.7)
68
+ unicode-display_width (>= 2.4.0, < 3.0)
69
+ rubocop-ast (1.29.0)
70
+ parser (>= 3.2.1.0)
71
+ rubocop-capybara (2.19.0)
72
+ rubocop (~> 1.41)
73
+ rubocop-factory_bot (2.24.0)
74
+ rubocop (~> 1.33)
75
+ rubocop-rails (2.21.1)
76
+ activesupport (>= 4.2.0)
77
+ rack (>= 1.1)
78
+ rubocop (>= 1.33.0, < 2.0)
79
+ rubocop-rake (0.6.0)
80
+ rubocop (~> 1.0)
81
+ rubocop-rspec (2.24.0)
82
+ rubocop (~> 1.33)
83
+ rubocop-capybara (~> 2.17)
84
+ rubocop-factory_bot (~> 2.22)
85
+ ruby-progressbar (1.13.0)
86
+ sqlite3 (1.6.7-arm64-darwin)
87
+ tzinfo (2.0.6)
88
+ concurrent-ruby (~> 1.0)
89
+ unicode-display_width (2.5.0)
90
+ yoshiki (8.0.0)
91
+ rubocop (= 1.56.3)
92
+ rubocop-rails (= 2.21.1)
93
+ rubocop-rake (= 0.6.0)
94
+ rubocop-rspec (= 2.24.0)
95
+
96
+ PLATFORMS
97
+ arm64-darwin-23
98
+
99
+ DEPENDENCIES
100
+ activemodel
101
+ activerecord
102
+ kokishin!
103
+ pry
104
+ rake (~> 13.0)
105
+ rspec (~> 3.0)
106
+ sqlite3
107
+ yoshiki
108
+
109
+ BUNDLED WITH
110
+ 2.4.19
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright © Dev Fu
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,14 @@
1
+ # Kōkishin (好奇心)
2
+
3
+ ## Curiosity
4
+
5
+ [![rubygems][gem-image]][gem] [![build status][ci-image]][ci]
6
+
7
+ Custom RSpec matchers.
8
+
9
+ Mainly based on the idea of using reflection & introspection to make assertions.
10
+
11
+ [ci-image]: https://gitlab.com/devfu/kokishin/badges/master/pipeline.svg
12
+ [ci]: https://gitlab.com/devfu/kokishin/-/pipelines?page=1&scope=branches&ref=master
13
+ [gem-image]: https://badge.fury.io/rb/kokishin.svg
14
+ [gem]: https://rubygems.org/gems/kokishin
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task default: :spec
data/bin/console ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'kokishin'
6
+
7
+ require 'pry'
8
+ Pry.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here