fix 0.18.2 → 0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.md +2 -2
- data/README.md +384 -84
- data/lib/fix/builder.rb +101 -0
- data/lib/fix/doc.rb +59 -0
- data/lib/fix/dsl.rb +139 -0
- data/lib/fix/error/invalid_specification_name.rb +12 -0
- data/lib/fix/error/missing_specification_block.rb +14 -0
- data/lib/fix/error/specification_not_found.rb +12 -0
- data/lib/fix/matcher.rb +76 -0
- data/lib/fix/requirement.rb +119 -0
- data/lib/fix/run.rb +88 -0
- data/lib/fix/set.rb +67 -0
- data/lib/fix.rb +85 -20
- data/lib/kernel.rb +49 -0
- metadata +41 -153
- data/.gitignore +0 -11
- data/.rubocop.yml +0 -1
- data/.rubocop_todo.yml +0 -25
- data/.travis.yml +0 -28
- data/.yardopts +0 -1
- data/CODE_OF_CONDUCT.md +0 -13
- data/Gemfile +0 -5
- data/Rakefile +0 -23
- data/VERSION.semver +0 -1
- data/bin/console +0 -8
- data/bin/setup +0 -6
- data/checksum/fix-0.0.1.pre.gem.sha512 +0 -1
- data/checksum/fix-0.1.0.gem.sha512 +0 -1
- data/checksum/fix-0.1.0.pre.gem.sha512 +0 -1
- data/checksum/fix-0.10.0.gem.sha512 +0 -1
- data/checksum/fix-0.11.0.gem.sha512 +0 -1
- data/checksum/fix-0.11.1.gem.sha512 +0 -1
- data/checksum/fix-0.12.0.gem.sha512 +0 -1
- data/checksum/fix-0.12.1.gem.sha512 +0 -1
- data/checksum/fix-0.12.2.gem.sha512 +0 -1
- data/checksum/fix-0.12.3.gem.sha512 +0 -1
- data/checksum/fix-0.13.0.gem.sha512 +0 -1
- data/checksum/fix-0.14.0.gem.sha512 +0 -1
- data/checksum/fix-0.14.1.gem.sha512 +0 -1
- data/checksum/fix-0.15.0.gem.sha512 +0 -1
- data/checksum/fix-0.15.2.gem.sha512 +0 -1
- data/checksum/fix-0.16.0.gem.sha512 +0 -1
- data/checksum/fix-0.17.0.gem.sha512 +0 -1
- data/checksum/fix-0.17.1.gem.sha512 +0 -1
- data/checksum/fix-0.17.2.gem.sha512 +0 -1
- data/checksum/fix-0.18.0.gem.sha512 +0 -1
- data/checksum/fix-0.18.1.gem.sha512 +0 -1
- data/checksum/fix-0.2.0.gem.sha512 +0 -1
- data/checksum/fix-0.3.0.gem.sha512 +0 -1
- data/checksum/fix-0.4.0.gem.sha512 +0 -1
- data/checksum/fix-0.5.0.gem.sha512 +0 -1
- data/checksum/fix-0.6.0.gem.sha512 +0 -1
- data/checksum/fix-0.6.1.gem.sha512 +0 -1
- data/checksum/fix-0.7.0.gem.sha512 +0 -1
- data/checksum/fix-0.8.0.gem.sha512 +0 -1
- data/checksum/fix-0.9.0.gem.sha512 +0 -1
- data/checksum/fix-0.9.1.gem.sha512 +0 -1
- data/fix.gemspec +0 -29
- data/lib/fix/it.rb +0 -41
- data/lib/fix/on.rb +0 -139
- data/lib/fix/report.rb +0 -120
- data/lib/fix/test.rb +0 -89
- data/pkg_checksum +0 -12
data/lib/fix.rb
CHANGED
@@ -1,28 +1,93 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require_relative "fix/doc"
|
4
|
+
require_relative "fix/error/specification_not_found"
|
5
|
+
require_relative "fix/set"
|
6
|
+
require_relative "kernel"
|
7
|
+
|
3
8
|
# Namespace for the Fix framework.
|
4
9
|
#
|
5
|
-
#
|
10
|
+
# Provides core functionality for managing and running test specifications.
|
11
|
+
# Fix supports two modes of operation:
|
12
|
+
# 1. Named specifications that can be referenced later
|
13
|
+
# 2. Anonymous specifications for immediate testing
|
14
|
+
#
|
15
|
+
# @example Creating and running a named specification
|
16
|
+
# Fix :Answer do
|
17
|
+
# it MUST equal 42
|
18
|
+
# end
|
19
|
+
#
|
20
|
+
# Fix[:Answer].test { 42 }
|
6
21
|
#
|
22
|
+
# @example Creating and running an anonymous specification
|
23
|
+
# Fix do
|
24
|
+
# it MUST be_positive
|
25
|
+
# end.test { 42 }
|
26
|
+
#
|
27
|
+
# @see Fix::Set
|
28
|
+
# @see Fix::Builder
|
29
|
+
#
|
30
|
+
# @api public
|
7
31
|
module Fix
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
32
|
+
class << self
|
33
|
+
# Retrieves and loads a built specification for testing.
|
34
|
+
#
|
35
|
+
# @example Run a named specification
|
36
|
+
# Fix[:Answer].test { 42 }
|
37
|
+
#
|
38
|
+
# @param name [String, Symbol] The constant name of the specification
|
39
|
+
# @return [Fix::Set] The loaded specification set ready for testing
|
40
|
+
# @raise [Fix::Error::SpecificationNotFound] If the named specification doesn't exist
|
41
|
+
def [](name)
|
42
|
+
name = normalize_name(name)
|
43
|
+
validate_specification_exists!(name)
|
44
|
+
Set.load(name)
|
45
|
+
end
|
46
|
+
|
47
|
+
# Lists all defined specification names.
|
48
|
+
#
|
49
|
+
# @example Get all specification names
|
50
|
+
# Fix.specification_names #=> [:Answer, :Calculator, :UserProfile]
|
51
|
+
#
|
52
|
+
# @return [Array<Symbol>] Sorted array of specification names
|
53
|
+
def specification_names
|
54
|
+
Doc.constants.sort
|
55
|
+
end
|
56
|
+
|
57
|
+
# Checks if a specification is defined.
|
58
|
+
#
|
59
|
+
# @example Check for specification existence
|
60
|
+
# Fix.spec_defined?(:Answer) #=> true
|
61
|
+
#
|
62
|
+
# @param name [String, Symbol] Name of the specification to check
|
63
|
+
# @return [Boolean] true if specification exists, false otherwise
|
64
|
+
def spec_defined?(name)
|
65
|
+
specification_names.include?(normalize_name(name))
|
66
|
+
end
|
67
|
+
|
68
|
+
private
|
69
|
+
|
70
|
+
# Converts any specification name into a symbol.
|
71
|
+
# This allows for consistent name handling regardless of input type.
|
72
|
+
#
|
73
|
+
# @param name [String, Symbol] The name to normalize
|
74
|
+
# @return [Symbol] The normalized name
|
75
|
+
# @example
|
76
|
+
# normalize_name("Answer") #=> :Answer
|
77
|
+
# normalize_name(:Answer) #=> :Answer
|
78
|
+
def normalize_name(name)
|
79
|
+
String(name).to_sym
|
80
|
+
end
|
81
|
+
|
82
|
+
# Verifies the existence of a specification and raises an error if not found.
|
83
|
+
# This ensures early failure when attempting to use undefined specifications.
|
84
|
+
#
|
85
|
+
# @param name [Symbol] The specification name to validate
|
86
|
+
# @raise [Fix::Error::SpecificationNotFound] If specification doesn't exist
|
87
|
+
def validate_specification_exists!(name)
|
88
|
+
return if spec_defined?(name)
|
89
|
+
|
90
|
+
raise Error::SpecificationNotFound, name
|
91
|
+
end
|
25
92
|
end
|
26
93
|
end
|
27
|
-
|
28
|
-
require_relative File.join('fix', 'test')
|
data/lib/kernel.rb
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "fix/builder"
|
4
|
+
|
5
|
+
# Extension of the global Kernel module to provide the Fix method.
|
6
|
+
# This allows Fix to be called from anywhere in the application
|
7
|
+
# without explicit namespace qualification.
|
8
|
+
#
|
9
|
+
# @api public
|
10
|
+
module Kernel
|
11
|
+
# rubocop:disable Naming/MethodName
|
12
|
+
|
13
|
+
# This rule is disabled because Fix is intentionally capitalized to act as
|
14
|
+
# both a namespace and a method name, following Ruby conventions for DSLs.
|
15
|
+
|
16
|
+
# Defines a new test specification or creates an anonymous specification set.
|
17
|
+
# When a name is provided, the specification is registered globally and can
|
18
|
+
# be referenced later using Fix[name]. Anonymous specifications are executed
|
19
|
+
# immediately and cannot be referenced later.
|
20
|
+
#
|
21
|
+
# @example Creating a named specification for later use
|
22
|
+
# Fix :Calculator do
|
23
|
+
# on(:add, 2, 3) do
|
24
|
+
# it MUST equal 5
|
25
|
+
# end
|
26
|
+
# end
|
27
|
+
#
|
28
|
+
# # Later in the code:
|
29
|
+
# Fix[:Calculator].test { Calculator.new }
|
30
|
+
#
|
31
|
+
# @example Creating and immediately testing an anonymous specification
|
32
|
+
# Fix do
|
33
|
+
# it MUST be_positive
|
34
|
+
# end.test { 42 }
|
35
|
+
#
|
36
|
+
# @param name [String, Symbol, nil] The constant name for the specification
|
37
|
+
# @yield The specification definition block
|
38
|
+
# @yieldreturn [void]
|
39
|
+
# @return [Fix::Set] A collection of specifications ready for testing
|
40
|
+
#
|
41
|
+
# @see Fix::Builder
|
42
|
+
# @see Fix::Set
|
43
|
+
# @see Fix::Dsl
|
44
|
+
def Fix(name = nil, &)
|
45
|
+
::Fix::Builder.build(name, &)
|
46
|
+
end
|
47
|
+
|
48
|
+
# rubocop:enable Naming/MethodName
|
49
|
+
end
|
metadata
CHANGED
@@ -1,204 +1,92 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: '0.19'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cyril Kato
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: defi
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.1
|
19
|
+
version: 3.0.1
|
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: 0.1
|
26
|
+
version: 3.0.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: matchi
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.1
|
33
|
+
version: 4.1.1
|
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: 1.1
|
40
|
+
version: 4.1.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: spectus
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 5.0.2
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
version: '2.0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '2.0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rake
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '13.0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '13.0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rubocop
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0.75'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0.75'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: rubocop-performance
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '1.5'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '1.5'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: simplecov
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0.17'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0.17'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: yard
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0.9'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0.9'
|
139
|
-
description: Specing framework for Ruby.
|
140
|
-
email:
|
141
|
-
- contact@cyril.email
|
54
|
+
version: 5.0.2
|
55
|
+
description: |
|
56
|
+
Fix is a modern Ruby testing framework built around a key architectural principle:
|
57
|
+
the complete separation between specifications and tests. It allows you to write
|
58
|
+
pure specification documents that define expected behaviors, and then independently
|
59
|
+
challenge any implementation against these specifications.
|
60
|
+
email: contact@cyril.email
|
142
61
|
executables: []
|
143
62
|
extensions: []
|
144
63
|
extra_rdoc_files: []
|
145
64
|
files:
|
146
|
-
- ".gitignore"
|
147
|
-
- ".rubocop.yml"
|
148
|
-
- ".rubocop_todo.yml"
|
149
|
-
- ".travis.yml"
|
150
|
-
- ".yardopts"
|
151
|
-
- CODE_OF_CONDUCT.md
|
152
|
-
- Gemfile
|
153
65
|
- LICENSE.md
|
154
66
|
- README.md
|
155
|
-
- Rakefile
|
156
|
-
- VERSION.semver
|
157
|
-
- bin/console
|
158
|
-
- bin/setup
|
159
|
-
- checksum/fix-0.0.1.pre.gem.sha512
|
160
|
-
- checksum/fix-0.1.0.gem.sha512
|
161
|
-
- checksum/fix-0.1.0.pre.gem.sha512
|
162
|
-
- checksum/fix-0.10.0.gem.sha512
|
163
|
-
- checksum/fix-0.11.0.gem.sha512
|
164
|
-
- checksum/fix-0.11.1.gem.sha512
|
165
|
-
- checksum/fix-0.12.0.gem.sha512
|
166
|
-
- checksum/fix-0.12.1.gem.sha512
|
167
|
-
- checksum/fix-0.12.2.gem.sha512
|
168
|
-
- checksum/fix-0.12.3.gem.sha512
|
169
|
-
- checksum/fix-0.13.0.gem.sha512
|
170
|
-
- checksum/fix-0.14.0.gem.sha512
|
171
|
-
- checksum/fix-0.14.1.gem.sha512
|
172
|
-
- checksum/fix-0.15.0.gem.sha512
|
173
|
-
- checksum/fix-0.15.2.gem.sha512
|
174
|
-
- checksum/fix-0.16.0.gem.sha512
|
175
|
-
- checksum/fix-0.17.0.gem.sha512
|
176
|
-
- checksum/fix-0.17.1.gem.sha512
|
177
|
-
- checksum/fix-0.17.2.gem.sha512
|
178
|
-
- checksum/fix-0.18.0.gem.sha512
|
179
|
-
- checksum/fix-0.18.1.gem.sha512
|
180
|
-
- checksum/fix-0.2.0.gem.sha512
|
181
|
-
- checksum/fix-0.3.0.gem.sha512
|
182
|
-
- checksum/fix-0.4.0.gem.sha512
|
183
|
-
- checksum/fix-0.5.0.gem.sha512
|
184
|
-
- checksum/fix-0.6.0.gem.sha512
|
185
|
-
- checksum/fix-0.6.1.gem.sha512
|
186
|
-
- checksum/fix-0.7.0.gem.sha512
|
187
|
-
- checksum/fix-0.8.0.gem.sha512
|
188
|
-
- checksum/fix-0.9.0.gem.sha512
|
189
|
-
- checksum/fix-0.9.1.gem.sha512
|
190
|
-
- fix.gemspec
|
191
67
|
- lib/fix.rb
|
192
|
-
- lib/fix/
|
193
|
-
- lib/fix/
|
194
|
-
- lib/fix/
|
195
|
-
- lib/fix/
|
196
|
-
-
|
197
|
-
|
68
|
+
- lib/fix/builder.rb
|
69
|
+
- lib/fix/doc.rb
|
70
|
+
- lib/fix/dsl.rb
|
71
|
+
- lib/fix/error/invalid_specification_name.rb
|
72
|
+
- lib/fix/error/missing_specification_block.rb
|
73
|
+
- lib/fix/error/specification_not_found.rb
|
74
|
+
- lib/fix/matcher.rb
|
75
|
+
- lib/fix/requirement.rb
|
76
|
+
- lib/fix/run.rb
|
77
|
+
- lib/fix/set.rb
|
78
|
+
- lib/kernel.rb
|
79
|
+
homepage: https://fixrb.dev/
|
198
80
|
licenses:
|
199
81
|
- MIT
|
200
|
-
metadata:
|
201
|
-
|
82
|
+
metadata:
|
83
|
+
bug_tracker_uri: https://github.com/fixrb/fix/issues
|
84
|
+
changelog_uri: https://github.com/fixrb/fix/blob/main/CHANGELOG.md
|
85
|
+
documentation_uri: https://rubydoc.info/gems/fix
|
86
|
+
homepage_uri: https://fixrb.dev
|
87
|
+
source_code_uri: https://github.com/fixrb/fix
|
88
|
+
rubygems_mfa_required: 'true'
|
89
|
+
post_install_message:
|
202
90
|
rdoc_options: []
|
203
91
|
require_paths:
|
204
92
|
- lib
|
@@ -206,15 +94,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
206
94
|
requirements:
|
207
95
|
- - ">="
|
208
96
|
- !ruby/object:Gem::Version
|
209
|
-
version:
|
97
|
+
version: 3.1.0
|
210
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
211
99
|
requirements:
|
212
100
|
- - ">="
|
213
101
|
- !ruby/object:Gem::Version
|
214
102
|
version: '0'
|
215
103
|
requirements: []
|
216
|
-
rubygems_version: 3.
|
217
|
-
signing_key:
|
104
|
+
rubygems_version: 3.3.27
|
105
|
+
signing_key:
|
218
106
|
specification_version: 4
|
219
|
-
summary:
|
107
|
+
summary: Happy Path to Ruby Testing
|
220
108
|
test_files: []
|
data/.gitignore
DELETED
data/.rubocop.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
inherit_from: .rubocop_todo.yml
|
data/.rubocop_todo.yml
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
# This configuration was generated by
|
2
|
-
# `rubocop --auto-gen-config`
|
3
|
-
# on 2019-10-09 00:10:57 +0200 using RuboCop version 0.75.0.
|
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: 14
|
10
|
-
Style/MixinUsage:
|
11
|
-
Exclude:
|
12
|
-
- 'test/examples/duck/test_app.rb'
|
13
|
-
- 'test/examples/empty/test_app.rb'
|
14
|
-
- 'test/examples/isolation/test_app_with_isolation_1.rb'
|
15
|
-
- 'test/examples/isolation/test_app_with_isolation_2.rb'
|
16
|
-
- 'test/examples/isolation/test_app_with_isolation_3.rb'
|
17
|
-
- 'test/examples/isolation/test_app_with_isolation_4.rb'
|
18
|
-
- 'test/examples/isolation/test_app_with_isolation_5.rb'
|
19
|
-
- 'test/examples/isolation/test_app_without_isolation_1.rb'
|
20
|
-
- 'test/examples/isolation/test_app_without_isolation_2.rb'
|
21
|
-
- 'test/examples/isolation/test_app_without_isolation_3.rb'
|
22
|
-
- 'test/examples/let/test_let.rb'
|
23
|
-
- 'test/examples/operation/test_app_1.rb'
|
24
|
-
- 'test/examples/operation/test_app_2.rb'
|
25
|
-
- 'test/test_exit_status.rb'
|
data/.travis.yml
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
sudo: false
|
3
|
-
cache: bundler
|
4
|
-
before_install:
|
5
|
-
- gem install bundler
|
6
|
-
script:
|
7
|
-
- bundle exec rubocop
|
8
|
-
- bundle exec rake test
|
9
|
-
rvm:
|
10
|
-
- 2.3.8
|
11
|
-
- 2.4.5
|
12
|
-
- 2.5.3
|
13
|
-
- 2.6.3
|
14
|
-
- ruby-head
|
15
|
-
- jruby-head
|
16
|
-
- rbx-3
|
17
|
-
matrix:
|
18
|
-
allow_failures:
|
19
|
-
- rvm: ruby-head
|
20
|
-
- rvm: jruby-head
|
21
|
-
- rvm: rbx-3
|
22
|
-
notifications:
|
23
|
-
webhooks:
|
24
|
-
urls:
|
25
|
-
- https://webhooks.gitter.im/e/a44b19cc5cf6db25fa87
|
26
|
-
on_success: change
|
27
|
-
on_failure: always
|
28
|
-
on_start: never
|
data/.yardopts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
- README.md
|
data/CODE_OF_CONDUCT.md
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
# Contributor Code of Conduct
|
2
|
-
|
3
|
-
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4
|
-
|
5
|
-
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
|
6
|
-
|
7
|
-
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
8
|
-
|
9
|
-
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
10
|
-
|
11
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
12
|
-
|
13
|
-
This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/Gemfile
DELETED
data/Rakefile
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'bundler/gem_tasks'
|
4
|
-
require 'rake/testtask'
|
5
|
-
require 'rubocop/rake_task'
|
6
|
-
|
7
|
-
RuboCop::RakeTask.new
|
8
|
-
|
9
|
-
Rake::TestTask.new do |t|
|
10
|
-
t.verbose = true
|
11
|
-
t.warning = true
|
12
|
-
t.pattern = File.join('test', '**', 'test_*.rb')
|
13
|
-
end
|
14
|
-
|
15
|
-
namespace :test do
|
16
|
-
task :coverage do
|
17
|
-
ENV['COVERAGE'] = 'true'
|
18
|
-
Rake::Task['test'].invoke
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
task(:doc_stats) { ruby '-S yard stats' }
|
23
|
-
task default: %i[test doc_stats rubocop]
|
data/VERSION.semver
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.18.2
|
data/bin/console
DELETED
data/bin/setup
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
f07e9c106cca645ba0df7a5aee870d07c41879410c2768bfb66c64e930d2b671dab08ded95d94db3f6652a93037eac5009a6b7de980b7a054aed8872fca851fe
|
@@ -1 +0,0 @@
|
|
1
|
-
fa1c66381b7d94687f9562af58230a7d6039adea59a4cad0eb8c04691d620b9f1105e796f311b884f9bdb5d9eda585834be1cafe69d8540141424bfa08df68f3
|
@@ -1 +0,0 @@
|
|
1
|
-
3ad80f61582fed9e76a0724fd5fff6138b849865a99a1ac6622ec8c29e67ee4eaae4727b97d53fd534a822c82830c57a77ba35aafaf09bff08e6e0385a8864d6
|
@@ -1 +0,0 @@
|
|
1
|
-
f5442fc31ceda7b936fbf29cff21b657dcf65c206cb1af1937453580401dfe62598a88701162a7835470961ddf5fa82ef1bfdd83ca9e3581947cf1505e82f3e1
|
@@ -1 +0,0 @@
|
|
1
|
-
3205bd172dc4bdbc7ab6f213420e43389278b1138f6cf34a595a227432a00e080513edbed75d4fd6f8387796e403344fa69b05134ca1b917a588012d61e57b52
|
@@ -1 +0,0 @@
|
|
1
|
-
c7c3e73eafdbeecc61073bd643dc7eb6e5f9686fe5e3f4bc4e23889de3dcf3598f3d4b88e813cb5023e06ef4f44c5437f1f80351459668ef8403d3248d27468e
|
@@ -1 +0,0 @@
|
|
1
|
-
b400e64d3b3b8006b6e37459ff5608001bf42d087432e2acae1f28bc56b383ecb97c6dd76c0d24bd4c0f4cc14be59d88121009501b74a8a09a26d3e4a42d7950
|
@@ -1 +0,0 @@
|
|
1
|
-
3867c77b30709a95156d9910e5be5e87ebdfa2d535c46d776aa0be149e398b660654544d478cdb8353d2ae77c5b258e9db3ef17e7b9326b56d5e5880b7be654b
|
@@ -1 +0,0 @@
|
|
1
|
-
d2bead1bb52e8ba7d03c68bb668f8c064080be66025eea22465f71cbb38f37fda2bd15e4f53ee014b2b665c9a65e5065b3b27c2b351fa17cea7cad3c1799bc3d
|
@@ -1 +0,0 @@
|
|
1
|
-
966ba13292877a34c883227f8dfe7018f7e2e0f8ac543a1b8e4749540143065ddafed82e283ee5e887c3a84e621d9e362b4ffa6d8aa5621bd3ff69e5305ca250
|
@@ -1 +0,0 @@
|
|
1
|
-
fc5d67a1e3da5d4be5c3adcd2df86b464300fd3d832430392ccc3aba6331be04fa0d827b55a6ea634910c4a46b40c336c713155a0ca5d0d9cbef663643f1bd59
|
@@ -1 +0,0 @@
|
|
1
|
-
578f4552e1e18fe8e4e8e720718901115ff8f9178f421b694c221299223eab26a2465692f4a5d7a2e03df7a212bcbba5cc2d25f5cb87577d6fe99004cd5152f7
|
@@ -1 +0,0 @@
|
|
1
|
-
99234a8fbebfeddfbc4d7665ab10b2d2f340f1f10faff21702da4040afb1e3f56041b2fe00d67b16fa0515a768de4767e6bc1fc38d0cb5d3cfcb41163593836f
|
@@ -1 +0,0 @@
|
|
1
|
-
7a17bcad2a2f195dad9435ea619728b22dbd21624c6b314a1b7901da7e2156184457ceec8871179e882a6bec9900aa625bbc253264c3df48f2fb8539fc512fa8
|
@@ -1 +0,0 @@
|
|
1
|
-
f9c633106487423399e219dc1cdea499e77dc6a9474705002924c38ce01241dbc2fbd95bb84016bcf313e7702a2d2a460b14fabcb36f08ee0c613298203cbd60
|
@@ -1 +0,0 @@
|
|
1
|
-
896c42559e7d4533e6a947f9b612e8e27f3a8531eeeee4927582cca7dfe2c11303edf3b3fed881a76129a8664235f5b58018bf16dd94b463558041dbeb4f71fe
|
@@ -1 +0,0 @@
|
|
1
|
-
3742d543a5be6586aff377abb4c97e7d9b2d6fcb8d46dce907d139c3d16a7b98ece77a4fa4acd27c5fc5bca67cd7bdfa988f9f2dd351968586de47bad8c5f4ba
|
@@ -1 +0,0 @@
|
|
1
|
-
ab08823c4799b87b57645665dd628b5bcd4cf4dccf1f10358b240ef4d23af065cc86154f25290a4e5886268a32fda9e3bce75051ba7d8a362fe0c09be6b00928
|
@@ -1 +0,0 @@
|
|
1
|
-
7f74ff80ef63a93a9baa25a7ece0b596cdb1e0f4a974580728d6f2f95ea8d7ceabd875e0f635e8ddd46b964ab48e0247ae7e9705001f6068e312ec0d8feed4c7
|
@@ -1 +0,0 @@
|
|
1
|
-
70de02a182976fa1ce086f1d64ce6e96e729a48ea93346a855d3ffdba869cce51501c6ece4f5be74dc1ddf10b85b75c3f772d05fe4e0894c1ac1cf3d36c80200
|
@@ -1 +0,0 @@
|
|
1
|
-
d492e9516ca90eda87fb0b35bc616faa251f1aaf16de21237d85e7b55471242290f31134b0b4f9eedf85c17d112b22ee9c44aaf73cb35513b0a85b3bbd3091d1
|
@@ -1 +0,0 @@
|
|
1
|
-
d36afc6b400b8112517de4c7b40d30047b595918128ac9ef75d5cd248adc8cfd6b0b3f06a71b5fe4541d45050ebbee3d8ae3fc372fd9c13d4666de2c01492044
|
@@ -1 +0,0 @@
|
|
1
|
-
7505c311763e68d85ea5272485ef103b3406bec7f63195e454586d11b4188b630448a33bd2edc97319ff497f96daa1b67fc8a1848be88cb9ea0c5a089b51bdc4
|
@@ -1 +0,0 @@
|
|
1
|
-
e75b7472e74e27649ab7605bf8cbd5621765798d07796a3d80da3440f3e9f60f5d99049cfe4811a2576d462716ff20509297b0e6b91a5baedd3414ffa43962d3
|
@@ -1 +0,0 @@
|
|
1
|
-
7c99d0d42ad0031835be2c90bf9451f27e7ee23ad75b2ff8b4ac5ded644b273d5f8af6f78c2d0ff836995d91c1f459a18de867dd6df9e4ae966ffe8012a0db20
|
@@ -1 +0,0 @@
|
|
1
|
-
e9d2df3cb5054a2e9e03e9805980d4b8081b8c25d9fac7596bc7c59f3d337d4a69bce2880b3f204eb29dbf2c2b4e6ae8d3b311bde15da49f4c415fa67bef8ef3
|
@@ -1 +0,0 @@
|
|
1
|
-
9e1ba1c6efb495ac5452611baf00dc144208c16fa54bcee1fa605bbb6e894e269de716d9b8a51d51e394f45ae85c4efa5fe9cebec433004c9c40ddb0658b024d
|
@@ -1 +0,0 @@
|
|
1
|
-
8351459bf70306c8ef0bba5d415d74e5f1fa7cfd73b70ba4ac0508989b04f70ce24e2923db1723ddd1fdad38ec2e6ac481df5a4af0adc55dc29e62ae19ed84cb
|