factory_bot_instruments 1.0.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.semaphore/semaphore.yml +17 -0
- data/README.md +1 -2
- data/factory_bot_instruments.gemspec +3 -3
- data/lib/factory_bot_instruments/version.rb +1 -1
- data/lib/factory_bot_instruments.rb +1 -1
- metadata +12 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9ad2d67d3e8c1b22dffacb4e9694a8349f758c69ecee7534e8f7258fd713508
|
4
|
+
data.tar.gz: 786e0e0bb55c86506a6728685fad0a448481d8b8cf95da8f54a0cd5795e08714
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d519bff8147156aaef6ce854dd9c1bbf4096c0fd6f5d7be280c6d022a91a7ee8c42695880befb4304b44775fe314ee3d889aa61eaa46bafd1b28456a8247ef7c
|
7
|
+
data.tar.gz: ba56676beb1b51ac8b5075d738cd424fb1e23c9ba186e9540eb3d39709b8ba2495089ab0d39a2a78ad0083f3b41ecb12da79dc61189625f522e63fa25880519a
|
@@ -0,0 +1,17 @@
|
|
1
|
+
version: v1.0
|
2
|
+
name: Ruby
|
3
|
+
agent:
|
4
|
+
machine:
|
5
|
+
type: e1-standard-2
|
6
|
+
os_image: ubuntu2004
|
7
|
+
blocks:
|
8
|
+
- name: bundle exec rspec
|
9
|
+
task:
|
10
|
+
jobs:
|
11
|
+
- name: rspec
|
12
|
+
commands:
|
13
|
+
- checkout
|
14
|
+
- sem-version ruby 3.2.0
|
15
|
+
- 'gem install bundler:1.17.3'
|
16
|
+
- bundle install
|
17
|
+
- bundle exec rspec
|
data/README.md
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# Factory Bot Instruments
|
2
2
|
|
3
|
-
[![
|
4
|
-
[![Gem Version](https://badge.fury.io/rb/factory_girl_instruments.svg)](https://badge.fury.io/rb/factory_girl_instruments)
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/factory_bot_instruments.svg)](https://badge.fury.io/rb/factory_bot_instruments)
|
5
4
|
|
6
5
|
Instruments for benchmarking, tracing, and debugging
|
7
6
|
[Factory Bot](https://github.com/thoughtbot/factory_bot) models.
|
@@ -22,11 +22,11 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
23
|
spec.require_paths = ["lib"]
|
24
24
|
|
25
|
-
spec.add_dependency "factory_bot", "
|
25
|
+
spec.add_dependency "factory_bot", ">= 4"
|
26
26
|
spec.add_dependency "activerecord", ">= 4.0"
|
27
27
|
|
28
|
-
spec.add_development_dependency "bundler", "~>
|
29
|
-
spec.add_development_dependency "rake", "~>
|
28
|
+
spec.add_development_dependency "bundler", "~> 2.4"
|
29
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
30
30
|
spec.add_development_dependency "rspec", "~> 3.0"
|
31
31
|
spec.add_development_dependency "sqlite3"
|
32
32
|
end
|
@@ -14,7 +14,7 @@ module FactoryBotInstruments
|
|
14
14
|
def self.benchmark_report(options = {})
|
15
15
|
options = { :progress => true }.merge(options)
|
16
16
|
|
17
|
-
FactoryBot.benchmark_all(options).each do |benchmark|
|
17
|
+
FactoryBot.benchmark_all(**options).each do |benchmark|
|
18
18
|
puts benchmark
|
19
19
|
end
|
20
20
|
end
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: factory_bot_instruments
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Šarčević
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: factory_bot
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '4
|
19
|
+
version: '4'
|
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: '4
|
26
|
+
version: '4'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activerecord
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,28 +44,28 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '2.4'
|
48
48
|
type: :development
|
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: '
|
54
|
+
version: '2.4'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '13.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '13.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -103,6 +103,7 @@ extra_rdoc_files: []
|
|
103
103
|
files:
|
104
104
|
- ".gitignore"
|
105
105
|
- ".rspec"
|
106
|
+
- ".semaphore/semaphore.yml"
|
106
107
|
- CODE_OF_CONDUCT.md
|
107
108
|
- Gemfile
|
108
109
|
- LICENSE.txt
|
@@ -134,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
135
|
- !ruby/object:Gem::Version
|
135
136
|
version: '0'
|
136
137
|
requirements: []
|
137
|
-
rubygems_version: 3.
|
138
|
+
rubygems_version: 3.4.7
|
138
139
|
signing_key:
|
139
140
|
specification_version: 4
|
140
141
|
summary: Instruments for Factory Bot
|