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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 34d9d7992c8e4bcb920d0b65a79e03e6abbc3c91d700dc04078ce44528f871d2
4
- data.tar.gz: 9fd18c2bc11f0f139718e6f03200a08e5c4d44dfa7b7ce68824d9594bec3c3f6
3
+ metadata.gz: f9ad2d67d3e8c1b22dffacb4e9694a8349f758c69ecee7534e8f7258fd713508
4
+ data.tar.gz: 786e0e0bb55c86506a6728685fad0a448481d8b8cf95da8f54a0cd5795e08714
5
5
  SHA512:
6
- metadata.gz: 29927122dcafce132d9b6513ef29d1b431e4adbe1182f5c671d65a25dfbf0ca3e1843e74a3f39b0b98caa7ee1893da35927bd551e720a481b29cc0dee8d8144d
7
- data.tar.gz: e6a079d7ff7b4b2fede7ff86d40f058f6c32ddfbf3bb1deb863d989a2b7f929ec9b0e3b524bb3e8e2625649902816b805ac83eaa82e80f5450ca884a244a32bd
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
- [![Build Status](https://semaphoreci.com/api/v1/shiroyasha/factory_girl_instruments/branches/master/badge.svg)](https://semaphoreci.com/shiroyasha/factory_girl_instruments)
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", "~> 4.5"
25
+ spec.add_dependency "factory_bot", ">= 4"
26
26
  spec.add_dependency "activerecord", ">= 4.0"
27
27
 
28
- spec.add_development_dependency "bundler", "~> 1.12"
29
- spec.add_development_dependency "rake", "~> 10.0"
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
@@ -1,3 +1,3 @@
1
1
  module FactoryBotInstruments
2
- VERSION = "1.0.1"
2
+ VERSION = "1.2.0"
3
3
  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.1
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: 2020-02-25 00:00:00.000000000 Z
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.5'
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.5'
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: '1.12'
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: '1.12'
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: '10.0'
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: '10.0'
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.0.6
138
+ rubygems_version: 3.4.7
138
139
  signing_key:
139
140
  specification_version: 4
140
141
  summary: Instruments for Factory Bot