waitest 0.1.2 → 0.1.7
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 +4 -4
- data/.rubocop.yml +53 -0
- data/.rubocop_todo.yml +26 -0
- data/.versionrc.js +20 -0
- data/CHANGELOG.md +33 -0
- data/lib/waitest/version.rb +1 -1
- data/package.json +5 -0
- data/waitest.gemspec +38 -0
- metadata +22 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a2c96ad6794c7eb781cc356b3bdb9a31b7c0e7eb95d6c17a798a0f2720014eb9
|
|
4
|
+
data.tar.gz: 4d766387284c2446a11191fdcd0d701c059610194aec3030f682df1e5d4ced6d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3eb0c4c119c0fdb435a1f6f5b2eef9e74f77008ff93da4657b8178500c4fb543a63ff5ca1bb20752f876c5f6fb8446cc07819cfe3a7397c59a1c811a23717f1
|
|
7
|
+
data.tar.gz: b32725650234fce22af22dea6177e830d63aa19fd22836c26f49702f30824c78cdb360b59ec9bbe3b40880dcbe111a08ef2a807d89124bf4ed8a5a0f159dc36b
|
data/.rubocop.yml
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
inherit_from: .rubocop_todo.yml
|
|
2
|
+
|
|
3
|
+
require:
|
|
4
|
+
- rubocop-rails
|
|
5
|
+
- rubocop-rspec
|
|
6
|
+
- rubocop-factory_bot
|
|
7
|
+
|
|
8
|
+
AllCops:
|
|
9
|
+
NewCops: enable
|
|
10
|
+
Exclude:
|
|
11
|
+
- "spec/support/**/*"
|
|
12
|
+
- "spec/schema.rb"
|
|
13
|
+
- "spec/db/migrate/*"
|
|
14
|
+
- "spec/rails_helper.rb"
|
|
15
|
+
- "spec/spec_helper.rb"
|
|
16
|
+
- "db/schema.rb"
|
|
17
|
+
- "db/migrate/*"
|
|
18
|
+
- "config/**/*"
|
|
19
|
+
- "bin/*"
|
|
20
|
+
- "Gemfile"
|
|
21
|
+
- "Gemfile.lock"
|
|
22
|
+
- "Rakefile"
|
|
23
|
+
- "config.ru"
|
|
24
|
+
- "vendor/bundle/**/*"
|
|
25
|
+
- "lib/tasks/**/*"
|
|
26
|
+
|
|
27
|
+
Style/FrozenStringLiteralComment:
|
|
28
|
+
Enabled: false
|
|
29
|
+
|
|
30
|
+
Style/StringLiterals:
|
|
31
|
+
Enabled: false
|
|
32
|
+
|
|
33
|
+
RSpec/EmptyExampleGroup:
|
|
34
|
+
Enabled: false
|
|
35
|
+
|
|
36
|
+
Style/Documentation:
|
|
37
|
+
Enabled: false
|
|
38
|
+
|
|
39
|
+
Rails/UniqueValidationWithoutIndex:
|
|
40
|
+
Enabled: false
|
|
41
|
+
|
|
42
|
+
RSpec/ExampleLength:
|
|
43
|
+
Enabled: false
|
|
44
|
+
|
|
45
|
+
# Max memoized
|
|
46
|
+
RSpec/MultipleMemoizedHelpers:
|
|
47
|
+
Max: 10
|
|
48
|
+
|
|
49
|
+
RSpec/MultipleExpectations:
|
|
50
|
+
Enabled: false
|
|
51
|
+
|
|
52
|
+
RSpec/NestedGroups:
|
|
53
|
+
Enabled: false
|
data/.rubocop_todo.yml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# This configuration was generated by
|
|
2
|
+
# `rubocop --auto-gen-config`
|
|
3
|
+
# on 2023-09-07 02:46:08 UTC using RuboCop version 1.56.2.
|
|
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
|
+
RSpec/MultipleExpectations:
|
|
11
|
+
Max: 2
|
|
12
|
+
|
|
13
|
+
# Offense count: 1
|
|
14
|
+
# Configuration parameters: Include.
|
|
15
|
+
# Include: app/models/**/*.rb
|
|
16
|
+
Rails/UniqueValidationWithoutIndex:
|
|
17
|
+
Exclude:
|
|
18
|
+
- 'app/models/pos_device.rb'
|
|
19
|
+
|
|
20
|
+
# Offense count: 3
|
|
21
|
+
# Configuration parameters: AllowedConstants.
|
|
22
|
+
Style/Documentation:
|
|
23
|
+
Exclude:
|
|
24
|
+
- 'app/mailers/application_mailer.rb'
|
|
25
|
+
- 'app/models/application_record.rb'
|
|
26
|
+
- 'app/models/pos_device.rb'
|
data/.versionrc.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const version_rb = {
|
|
2
|
+
filename: "lib/waitest/version.rb",
|
|
3
|
+
updater: {
|
|
4
|
+
readVersion: function (contents) {
|
|
5
|
+
const match = contents.match(/^\s*VERSION = ["'](.+)["']$/m);
|
|
6
|
+
return match[1];
|
|
7
|
+
},
|
|
8
|
+
writeVersion: function (contents, version) {
|
|
9
|
+
const currentVersion = this.readVersion(contents);
|
|
10
|
+
// this isn't the most reliable, but meh
|
|
11
|
+
return contents.replace(currentVersion, version);
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
module.exports = {
|
|
17
|
+
bumpFiles: [version_rb],
|
|
18
|
+
packageFiles: [version_rb],
|
|
19
|
+
preset: "angular",
|
|
20
|
+
};
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
|
+
|
|
5
|
+
## [0.1.7](https://github.com/WailanTirajoh/waitest-gem/compare/v0.1.6...v0.1.7) (2023-11-07)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [0.1.6](https://github.com/WailanTirajoh/waitest-gem/compare/v0.1.5...v0.1.6) (2023-11-07)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## [0.1.5](https://github.com/WailanTirajoh/waitest-gem/compare/v0.1.4...v0.1.5) (2023-11-07)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## 0.1.4 (2023-11-07)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## [0.1.3](https://github.com/WailanTirajoh/waitest-gem/compare/v1.0.3...v0.1.3) (2023-11-07)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [1.0.3](https://github.com/WailanTirajoh/waitest-gem/compare/v1.0.2...v1.0.3) (2023-11-07)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [1.0.2](https://github.com/WailanTirajoh/waitest-gem/compare/v1.0.1...v1.0.2) (2023-11-07)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## 1.0.1 (2023-11-07)
|
data/lib/waitest/version.rb
CHANGED
data/package.json
ADDED
data/waitest.gemspec
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require_relative "lib/waitest/version"
|
|
4
|
+
|
|
5
|
+
Gem::Specification.new do |spec|
|
|
6
|
+
spec.name = "waitest"
|
|
7
|
+
spec.version = Waitest::VERSION
|
|
8
|
+
spec.authors = ["Wailan Tirajoh"]
|
|
9
|
+
spec.email = ["wailantirajoh@gmail.com"]
|
|
10
|
+
|
|
11
|
+
spec.summary = "Testing."
|
|
12
|
+
spec.description = "Testing."
|
|
13
|
+
spec.required_ruby_version = ">= 3.2.0"
|
|
14
|
+
|
|
15
|
+
# spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
|
|
16
|
+
|
|
17
|
+
# spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
|
|
18
|
+
# spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
|
|
19
|
+
|
|
20
|
+
# Specify which files should be added to the gem when it is released.
|
|
21
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
22
|
+
spec.files = Dir.chdir(__dir__) do
|
|
23
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
|
24
|
+
(File.expand_path(f) == __FILE__) ||
|
|
25
|
+
f.start_with?(*%w[bin/ test/ spec/ features/ .git .circleci appveyor Gemfile])
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
spec.bindir = "exe"
|
|
29
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
|
30
|
+
spec.require_paths = ["lib"]
|
|
31
|
+
|
|
32
|
+
# Uncomment to register a new dependency of your gem
|
|
33
|
+
# spec.add_dependency "example-gem", "~> 1.0"
|
|
34
|
+
spec.add_development_dependency 'gem-release'
|
|
35
|
+
|
|
36
|
+
# For more information and examples about making a new gem, check out our
|
|
37
|
+
# guide at: https://bundler.io/guides/creating_gem.html
|
|
38
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: waitest
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Wailan Tirajoh
|
|
@@ -9,7 +9,21 @@ autorequire:
|
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 2023-11-07 00:00:00.000000000 Z
|
|
12
|
-
dependencies:
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: gem-release
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0'
|
|
20
|
+
type: :development
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '0'
|
|
13
27
|
description: Testing.
|
|
14
28
|
email:
|
|
15
29
|
- wailantirajoh@gmail.com
|
|
@@ -17,11 +31,17 @@ executables: []
|
|
|
17
31
|
extensions: []
|
|
18
32
|
extra_rdoc_files: []
|
|
19
33
|
files:
|
|
34
|
+
- ".rubocop.yml"
|
|
35
|
+
- ".rubocop_todo.yml"
|
|
36
|
+
- ".versionrc.js"
|
|
37
|
+
- CHANGELOG.md
|
|
20
38
|
- README.md
|
|
21
39
|
- Rakefile
|
|
22
40
|
- lib/waitest.rb
|
|
23
41
|
- lib/waitest/version.rb
|
|
42
|
+
- package.json
|
|
24
43
|
- sig/waitest.rbs
|
|
44
|
+
- waitest.gemspec
|
|
25
45
|
homepage:
|
|
26
46
|
licenses: []
|
|
27
47
|
metadata: {}
|