fluent_fixtures 0.8.1 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +3 -3
- data.tar.gz.sig +0 -0
- data/History.md +19 -0
- data/LICENSE.txt +1 -1
- data/Manifest.txt +0 -1
- data/README.md +15 -8
- data/Rakefile +5 -93
- data/lib/fluent_fixtures.rb +4 -4
- data/lib/fluent_fixtures/dsl.rb +1 -1
- data/spec/fluent_fixtures/collection_spec.rb +1 -1
- data/spec/fluent_fixtures/dsl_spec.rb +2 -2
- data/spec/fluent_fixtures/factory_spec.rb +2 -2
- data/spec/fluent_fixtures_spec.rb +1 -1
- data/spec/spec_helper.rb +10 -3
- metadata +46 -127
- metadata.gz.sig +0 -0
- data/ChangeLog +0 -308
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eee92bfee49cce7ea83ea5d38280616573319442d803d1fe427510974abd80f9
|
4
|
+
data.tar.gz: cc0c25b2f87b7033b01fdd1c47b83915046f5c782d155c2a91a452491c68c195
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42d8f738f4c4bafdd1a750c3229faee3cb68493a2392420004f09c3f795ebda4e0a54552d358e0d93442af6c52971a2d47a6a79507617a1f17fa3242e1c6b5b6
|
7
|
+
data.tar.gz: 56f682e25e373a04d5426471a3b5c8dea7fc50376f56c9a6a63e44c155955497fe3ecb6d404989769b7f68e1f71f8bcf4b1811dddabc8aaf99f7c450a16a37c1
|
checksums.yaml.gz.sig
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
YU�i�w���eO�h���Y�)D�qL|��h��B��(��R��_��2�=�;�?7�|�YZ�b�v5V:�q��p�Fj+
|
2
|
+
Lߗ�<M4OVV�I���Mf|M]����]�45\|=wZ��!�2�:Ӊ"�6AB�0���J����8%
|
3
|
+
����u��(��|.uMǃ�wģ6�7z��mE@�V�����S�y� ��z�s�g�p.����yP�8tw�^>��=�7$U��O84G�=Ɠ��C�'&��Ҋ�U&�,|�lh�A����Z�Q�Y:�b�0iji�w _yŇtK���V��W�ΰ�zg=7�X3J��xq�aR������q7}�`�/�����
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.md
CHANGED
@@ -1,3 +1,22 @@
|
|
1
|
+
# Release History for fluent_fixtures
|
2
|
+
|
3
|
+
---
|
4
|
+
|
5
|
+
## v0.9.0 [2020-11-02] Michael Granger <ged@FaerieMUD.org>
|
6
|
+
|
7
|
+
Improvements:
|
8
|
+
|
9
|
+
- De-hoeify
|
10
|
+
- Update the Sequel example's bundle
|
11
|
+
- Bump Faker version to latest, fix usage
|
12
|
+
- Update for Ruby 2.7
|
13
|
+
- Update project links (bitbucket -> sr.ht)
|
14
|
+
|
15
|
+
Bugfixes:
|
16
|
+
|
17
|
+
- Fix passing keywords as trailing hash
|
18
|
+
|
19
|
+
|
1
20
|
## v0.8.1 [2018-11-20] Michael Granger <ged@FaerieMUD.org>
|
2
21
|
|
3
22
|
Bugfixes:
|
data/LICENSE.txt
CHANGED
data/Manifest.txt
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,10 @@
|
|
1
1
|
# fluent_fixtures
|
2
2
|
|
3
3
|
home
|
4
|
-
:
|
4
|
+
: https://hg.sr.ht/~ged/fluent_fixtures
|
5
|
+
|
6
|
+
code
|
7
|
+
: https://hg.sr.ht/~ged/fluent_fixtures/browse
|
5
8
|
|
6
9
|
github
|
7
10
|
: https://github.com/ged/fluent_fixtures
|
@@ -20,6 +23,7 @@ To see a walkthrough of how you might set your own fixtures up, check out the [T
|
|
20
23
|
|
21
24
|
If you're already on your way and just want some API docs, [we got those, too](FluentFixtures.html).
|
22
25
|
|
26
|
+
|
23
27
|
## Prerequisites
|
24
28
|
|
25
29
|
* Ruby
|
@@ -33,20 +37,23 @@ If you're already on your way and just want some API docs, [we got those, too](F
|
|
33
37
|
## Contributing
|
34
38
|
|
35
39
|
You can check out the current development source with Mercurial via its
|
36
|
-
[project page][
|
37
|
-
mirror][github].
|
40
|
+
[project page][sr.ht]. Or if you prefer Git, via [its Github mirror][github].
|
38
41
|
|
39
42
|
After checking out the source, run:
|
40
43
|
|
41
|
-
$ rake
|
44
|
+
$ rake setup
|
45
|
+
|
46
|
+
This task will install dependencies, and do any other necessary setup for development.
|
47
|
+
|
48
|
+
|
49
|
+
## Author(s)
|
42
50
|
|
43
|
-
|
44
|
-
and generate the API documentation.
|
51
|
+
* Michael Granger <ged@faeriemud.org>
|
45
52
|
|
46
53
|
|
47
54
|
## License
|
48
55
|
|
49
|
-
Copyright (c) 2016, Michael Granger
|
56
|
+
Copyright (c) 2016-2020, Michael Granger
|
50
57
|
All rights reserved.
|
51
58
|
|
52
59
|
Redistribution and use in source and binary forms, with or without
|
@@ -75,6 +82,6 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
75
82
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
76
83
|
|
77
84
|
|
78
|
-
[
|
85
|
+
[sr.ht]: https://hg.sr.ht/~ged/fluent_fixtures
|
79
86
|
[github]: https://github.com/ged/fluent_fixtures
|
80
87
|
|
data/Rakefile
CHANGED
@@ -1,97 +1,9 @@
|
|
1
|
-
|
1
|
+
# -*- ruby -*-
|
2
|
+
# frozen_string_literal: true
|
2
3
|
|
3
|
-
|
4
|
-
require 'hoe'
|
5
|
-
rescue LoadError
|
6
|
-
abort "This Rakefile requires hoe (gem install hoe)"
|
7
|
-
end
|
8
|
-
|
9
|
-
GEMSPEC = 'fluent_fixtures.gemspec'
|
10
|
-
|
11
|
-
|
12
|
-
Hoe.plugin :mercurial
|
13
|
-
Hoe.plugin :signing
|
14
|
-
Hoe.plugin :deveiate
|
15
|
-
|
16
|
-
Hoe.plugins.delete :rubyforge
|
17
|
-
|
18
|
-
hoespec = Hoe.spec 'fluent_fixtures' do |spec|
|
19
|
-
spec.readme_file = 'README.md'
|
20
|
-
spec.history_file = 'History.md'
|
21
|
-
spec.extra_rdoc_files = FileList[ '*.rdoc', '*.md' ]
|
22
|
-
spec.license 'BSD-3-Clause'
|
23
|
-
spec.urls = {
|
24
|
-
home: 'http://deveiate.org/projects/fluent_fixtures',
|
25
|
-
code: 'http://bitbucket.org/ged/fluent_fixtures',
|
26
|
-
docs: 'http://deveiate.org/code/fluent_fixtures',
|
27
|
-
github: 'http://github.com/ged/fluent_fixtures',
|
28
|
-
}
|
29
|
-
|
30
|
-
spec.developer 'Michael Granger', 'ged@FaerieMUD.org'
|
31
|
-
|
32
|
-
spec.dependency 'loggability', '~> 0.11'
|
33
|
-
spec.dependency 'inflecto', '~> 0.0'
|
34
|
-
|
35
|
-
spec.dependency 'faker', '~> 1.6', :developer
|
36
|
-
spec.dependency 'hoe-deveiate', '~> 0.3', :developer
|
37
|
-
spec.dependency 'simplecov', '~> 0.12', :developer
|
38
|
-
spec.dependency 'rdoc-generator-fivefish', '~> 0.1', :developer
|
39
|
-
|
40
|
-
spec.require_ruby_version( '>=2.2.0' )
|
41
|
-
spec.hg_sign_tags = true if spec.respond_to?( :hg_sign_tags= )
|
42
|
-
spec.check_history_on_release = true if spec.respond_to?( :check_history_on_release= )
|
43
|
-
|
44
|
-
self.rdoc_locations << "deveiate:/usr/local/www/public/code/#{remote_rdoc_dir}"
|
45
|
-
end
|
4
|
+
require 'rake/deveiate'
|
46
5
|
|
47
6
|
|
48
|
-
|
49
|
-
|
50
|
-
# Run the tests before checking in
|
51
|
-
task 'hg:precheckin' => [ :check_history, :check_manifest, :gemspec, :spec ]
|
52
|
-
|
53
|
-
task :test => :spec
|
54
|
-
|
55
|
-
# Rebuild the ChangeLog immediately before release
|
56
|
-
task :prerelease => 'ChangeLog'
|
57
|
-
CLOBBER.include( 'ChangeLog' )
|
58
|
-
|
59
|
-
desc "Build a coverage report"
|
60
|
-
task :coverage do
|
61
|
-
ENV["COVERAGE"] = 'yes'
|
62
|
-
Rake::Task[:spec].invoke
|
63
|
-
end
|
64
|
-
CLOBBER.include( 'coverage' )
|
65
|
-
|
66
|
-
|
67
|
-
# Use the fivefish formatter for docs generated from development checkout
|
68
|
-
if File.directory?( '.hg' )
|
69
|
-
require 'rdoc/task'
|
70
|
-
|
71
|
-
Rake::Task[ 'docs' ].clear
|
72
|
-
RDoc::Task.new( 'docs' ) do |rdoc|
|
73
|
-
rdoc.main = "README.md"
|
74
|
-
rdoc.markup = 'markdown'
|
75
|
-
rdoc.rdoc_files.include( "*.md", "ChangeLog", "lib/**/*.rb" )
|
76
|
-
rdoc.generator = :fivefish
|
77
|
-
rdoc.title = 'fluent_fixtures'
|
78
|
-
rdoc.rdoc_dir = 'doc'
|
79
|
-
end
|
80
|
-
end
|
81
|
-
|
82
|
-
task :gemspec => GEMSPEC
|
83
|
-
file GEMSPEC => __FILE__
|
84
|
-
task GEMSPEC do |task|
|
85
|
-
spec = $hoespec.spec
|
86
|
-
spec.files.delete( '.gemtest' )
|
87
|
-
spec.signing_key = nil
|
88
|
-
spec.cert_chain = ['certs/ged.pem']
|
89
|
-
spec.version = "#{spec.version}.pre.#{Time.now.strftime("%Y%m%d%H%M%S")}"
|
90
|
-
puts "Spec version is set to: %s" % [ spec.version ]
|
91
|
-
File.open( task.name, 'w' ) do |fh|
|
92
|
-
fh.write( spec.to_ruby )
|
93
|
-
end
|
7
|
+
Rake::DevEiate.setup( 'fluent_fixtures' ) do |project|
|
8
|
+
project.publish_to = 'deveiate:/usr/local/www/public/code'
|
94
9
|
end
|
95
|
-
|
96
|
-
CLOBBER.include( GEMSPEC.to_s )
|
97
|
-
|
data/lib/fluent_fixtures.rb
CHANGED
@@ -24,7 +24,7 @@ module FluentFixtures
|
|
24
24
|
|
25
25
|
|
26
26
|
# Package version
|
27
|
-
VERSION = '0.
|
27
|
+
VERSION = '0.9.0'
|
28
28
|
|
29
29
|
# Version control revision
|
30
30
|
REVISION = %q$Revision$
|
@@ -34,9 +34,9 @@ module FluentFixtures
|
|
34
34
|
log_as :fluent_fixtures
|
35
35
|
|
36
36
|
|
37
|
-
|
38
|
-
|
39
|
-
|
37
|
+
autoload :Collection, 'fluent_fixtures/collection'
|
38
|
+
autoload :DSL, 'fluent_fixtures/dsl'
|
39
|
+
autoload :Factory, 'fluent_fixtures/factory'
|
40
40
|
|
41
41
|
end # module FluentFixtures
|
42
42
|
|
data/lib/fluent_fixtures/dsl.rb
CHANGED
@@ -6,7 +6,7 @@ require 'fluent_fixtures/dsl'
|
|
6
6
|
require 'faker'
|
7
7
|
|
8
8
|
|
9
|
-
describe FluentFixtures::DSL do
|
9
|
+
RSpec.describe FluentFixtures::DSL do
|
10
10
|
|
11
11
|
let( :collection ) { Module.new {extend FluentFixtures::Collection} }
|
12
12
|
|
@@ -41,7 +41,7 @@ describe FluentFixtures::DSL do
|
|
41
41
|
mod.base( :fixture ) do
|
42
42
|
self.name ||= Faker::Name.name
|
43
43
|
self.login ||= Faker::Internet.user_name
|
44
|
-
self.email ||= Faker::Internet.email( self.login )
|
44
|
+
self.email ||= Faker::Internet.email( name: self.login )
|
45
45
|
end
|
46
46
|
mod
|
47
47
|
end
|
@@ -6,7 +6,7 @@ require 'faker'
|
|
6
6
|
require 'fluent_fixtures/factory'
|
7
7
|
|
8
8
|
|
9
|
-
describe FluentFixtures::Factory do
|
9
|
+
RSpec.describe FluentFixtures::Factory do
|
10
10
|
|
11
11
|
let( :collection ) { Module.new {extend FluentFixtures::Collection} }
|
12
12
|
|
@@ -52,7 +52,7 @@ describe FluentFixtures::Factory do
|
|
52
52
|
mod.base( :fixture ) do
|
53
53
|
self.name ||= Faker::Name.name
|
54
54
|
self.login ||= Faker::Internet.user_name
|
55
|
-
self.email ||= Faker::Internet.email( self.login )
|
55
|
+
self.email ||= Faker::Internet.email( name: self.login )
|
56
56
|
end
|
57
57
|
mod
|
58
58
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -10,13 +10,20 @@ require 'loggability/spechelpers'
|
|
10
10
|
|
11
11
|
### Mock with RSpec
|
12
12
|
RSpec.configure do |config|
|
13
|
-
config.run_all_when_everything_filtered = true
|
14
|
-
config.filter_run :focus
|
15
|
-
config.order = 'random'
|
16
13
|
config.mock_with( :rspec ) do |mock|
|
17
14
|
mock.syntax = :expect
|
18
15
|
end
|
19
16
|
|
17
|
+
config.disable_monkey_patching!
|
18
|
+
config.example_status_persistence_file_path = "spec/.status"
|
19
|
+
config.filter_run :focus
|
20
|
+
config.filter_run_when_matching :focus
|
21
|
+
config.order = :random
|
22
|
+
config.profile_examples = 5
|
23
|
+
config.run_all_when_everything_filtered = true
|
24
|
+
config.shared_context_metadata_behavior = :apply_to_host_groups
|
25
|
+
config.warnings = true
|
26
|
+
|
20
27
|
config.include( Loggability::SpecHelpers )
|
21
28
|
end
|
22
29
|
|
metadata
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent_fixtures
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Granger
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MIID+DCCAmCgAwIBAgIBAjANBgkqhkiG9w0BAQsFADAiMSAwHgYDVQQDDBdnZWQv
|
14
|
+
REM9RmFlcmllTVVEL0RDPW9yZzAeFw0xOTEyMjQyMDE5NTFaFw0yMDEyMjMyMDE5
|
15
|
+
NTFaMCIxIDAeBgNVBAMMF2dlZC9EQz1GYWVyaWVNVUQvREM9b3JnMIIBojANBgkq
|
16
16
|
hkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAvyVhkRzvlEs0fe7145BYLfN6njX9ih5H
|
17
17
|
L60U0p0euIurpv84op9CNKF9tx+1WKwyQvQP7qFGuZxkSUuWcP/sFhDXL1lWUuIl
|
18
18
|
M4uHbGCRmOshDrF4dgnBeOvkHr1fIhPlJm5FO+Vew8tSQmlDsosxLUx+VB7DrVFO
|
@@ -21,35 +21,34 @@ cert_chain:
|
|
21
21
|
vQ66lts4alKC69TE5cuKasWBm+16A4aEe3XdZBRNmtOu/g81gvwA7fkJHKllJuaI
|
22
22
|
dXzdHqq+zbGZVSQ7pRYHYomD0IiDe1DbIouFnPWmagaBnGHwXkDT2bKKP+s2v21m
|
23
23
|
ozilJg4aar2okb/RA6VS87o+d7g6LpDDMMQjH4G9OPnJENLdhu8KnPw/ivSVvQw7
|
24
|
-
N2I4L/ZOIe2DIVuYH7aLHfjZDQv/
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
JnC4lpJfCP6aCXa5h2XAQfPSH636cQap
|
24
|
+
N2I4L/ZOIe2DIVuYH7aLHfjZDQv/mNgpAgMBAAGjOTA3MAkGA1UdEwQCMAAwCwYD
|
25
|
+
VR0PBAQDAgSwMB0GA1UdDgQWBBRyjf55EbrHagiRLqt5YAd3yb8k4DANBgkqhkiG
|
26
|
+
9w0BAQsFAAOCAYEAifxlz7x0EfT3fjhM520ZEIrWa+tLMuLKNefkY18u8tZnx4EX
|
27
|
+
Xxwh3tna3fvNfrOrdY5leIj1dbv4FTRg+gIBnIxAySqvpGvI/Axg5EdYbwninCLL
|
28
|
+
LAKCmRo+5QwaPMYN2zdHIjGrp8jg1neCo5zy6tVvyTv0DMI6FLrydVJYduMMDFSy
|
29
|
+
gQKR1rVOcCJtnBnLCF9+kKEUKohAHOmGsE7OBZFnjMIpH5yUDUVJKByv0gIipFt0
|
30
|
+
1T6zff6oVU0w8WBiNKR381+6sF3wIZVnVY0XeJg6hNL+YecE8ILxLhHTmtT/BO0S
|
31
|
+
3xPze9uXDR+iD6HYl8KU5QEg/dXFPhfQb512vVkTJDZvMcwu6PxDUjHFChLjAji/
|
32
|
+
AZXjg1C5E9znTkeUR8ieU9F1MOKoiH57a5lYSTI8Ga8PpsNXTxNeXc16Ob26CqrJ
|
33
|
+
83uuAYSy65yXDGXXPVBeKPVnYrqp91pqpS5Nh7wfuiCrE8lgU8PATh7K4BV1UhAT
|
34
|
+
0MHbAT42wTYkfUj3
|
36
35
|
-----END CERTIFICATE-----
|
37
|
-
date:
|
36
|
+
date: 2020-11-02 00:00:00.000000000 Z
|
38
37
|
dependencies:
|
39
38
|
- !ruby/object:Gem::Dependency
|
40
|
-
name:
|
39
|
+
name: faker
|
41
40
|
requirement: !ruby/object:Gem::Requirement
|
42
41
|
requirements:
|
43
42
|
- - "~>"
|
44
43
|
- !ruby/object:Gem::Version
|
45
|
-
version: '
|
44
|
+
version: '2.14'
|
46
45
|
type: :runtime
|
47
46
|
prerelease: false
|
48
47
|
version_requirements: !ruby/object:Gem::Requirement
|
49
48
|
requirements:
|
50
49
|
- - "~>"
|
51
50
|
- !ruby/object:Gem::Version
|
52
|
-
version: '
|
51
|
+
version: '2.14'
|
53
52
|
- !ruby/object:Gem::Dependency
|
54
53
|
name: inflecto
|
55
54
|
requirement: !ruby/object:Gem::Requirement
|
@@ -65,140 +64,58 @@ dependencies:
|
|
65
64
|
- !ruby/object:Gem::Version
|
66
65
|
version: '0.0'
|
67
66
|
- !ruby/object:Gem::Dependency
|
68
|
-
name:
|
69
|
-
requirement: !ruby/object:Gem::Requirement
|
70
|
-
requirements:
|
71
|
-
- - "~>"
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
version: '1.4'
|
74
|
-
type: :development
|
75
|
-
prerelease: false
|
76
|
-
version_requirements: !ruby/object:Gem::Requirement
|
77
|
-
requirements:
|
78
|
-
- - "~>"
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: '1.4'
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
|
-
name: hoe-deveiate
|
83
|
-
requirement: !ruby/object:Gem::Requirement
|
84
|
-
requirements:
|
85
|
-
- - "~>"
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
version: '0.9'
|
88
|
-
type: :development
|
89
|
-
prerelease: false
|
90
|
-
version_requirements: !ruby/object:Gem::Requirement
|
91
|
-
requirements:
|
92
|
-
- - "~>"
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
version: '0.9'
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
name: hoe-highline
|
97
|
-
requirement: !ruby/object:Gem::Requirement
|
98
|
-
requirements:
|
99
|
-
- - "~>"
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version: '0.2'
|
102
|
-
type: :development
|
103
|
-
prerelease: false
|
104
|
-
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
requirements:
|
106
|
-
- - "~>"
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
version: '0.2'
|
109
|
-
- !ruby/object:Gem::Dependency
|
110
|
-
name: faker
|
67
|
+
name: loggability
|
111
68
|
requirement: !ruby/object:Gem::Requirement
|
112
69
|
requirements:
|
113
70
|
- - "~>"
|
114
71
|
- !ruby/object:Gem::Version
|
115
|
-
version: '
|
116
|
-
type: :
|
72
|
+
version: '0.17'
|
73
|
+
type: :runtime
|
117
74
|
prerelease: false
|
118
75
|
version_requirements: !ruby/object:Gem::Requirement
|
119
76
|
requirements:
|
120
77
|
- - "~>"
|
121
78
|
- !ruby/object:Gem::Version
|
122
|
-
version: '
|
79
|
+
version: '0.17'
|
123
80
|
- !ruby/object:Gem::Dependency
|
124
|
-
name:
|
81
|
+
name: rake-deveiate
|
125
82
|
requirement: !ruby/object:Gem::Requirement
|
126
83
|
requirements:
|
127
84
|
- - "~>"
|
128
85
|
- !ruby/object:Gem::Version
|
129
|
-
version: '0.
|
86
|
+
version: '0.15'
|
130
87
|
type: :development
|
131
88
|
prerelease: false
|
132
89
|
version_requirements: !ruby/object:Gem::Requirement
|
133
90
|
requirements:
|
134
91
|
- - "~>"
|
135
92
|
- !ruby/object:Gem::Version
|
136
|
-
version: '0.
|
93
|
+
version: '0.15'
|
137
94
|
- !ruby/object:Gem::Dependency
|
138
95
|
name: rdoc-generator-fivefish
|
139
96
|
requirement: !ruby/object:Gem::Requirement
|
140
97
|
requirements:
|
141
98
|
- - "~>"
|
142
99
|
- !ruby/object:Gem::Version
|
143
|
-
version: '0.
|
144
|
-
type: :development
|
145
|
-
prerelease: false
|
146
|
-
version_requirements: !ruby/object:Gem::Requirement
|
147
|
-
requirements:
|
148
|
-
- - "~>"
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
version: '0.1'
|
151
|
-
- !ruby/object:Gem::Dependency
|
152
|
-
name: rdoc
|
153
|
-
requirement: !ruby/object:Gem::Requirement
|
154
|
-
requirements:
|
155
|
-
- - "~>"
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
version: '4.0'
|
158
|
-
type: :development
|
159
|
-
prerelease: false
|
160
|
-
version_requirements: !ruby/object:Gem::Requirement
|
161
|
-
requirements:
|
162
|
-
- - "~>"
|
163
|
-
- !ruby/object:Gem::Version
|
164
|
-
version: '4.0'
|
165
|
-
- !ruby/object:Gem::Dependency
|
166
|
-
name: hoe
|
167
|
-
requirement: !ruby/object:Gem::Requirement
|
168
|
-
requirements:
|
169
|
-
- - "~>"
|
170
|
-
- !ruby/object:Gem::Version
|
171
|
-
version: '3.16'
|
100
|
+
version: '0.4'
|
172
101
|
type: :development
|
173
102
|
prerelease: false
|
174
103
|
version_requirements: !ruby/object:Gem::Requirement
|
175
104
|
requirements:
|
176
105
|
- - "~>"
|
177
106
|
- !ruby/object:Gem::Version
|
178
|
-
version: '
|
179
|
-
description:
|
180
|
-
|
181
|
-
|
182
|
-
It allows testers to describe test data via composition rather than setting up fragile monolithic datasets.
|
183
|
-
|
184
|
-
To see a walkthrough of how you might set your own fixtures up, check out the [The Setup](TheSetup_md.html).
|
185
|
-
|
186
|
-
If you're already on your way and just want some API docs, [we got those, too](FluentFixtures.html).
|
107
|
+
version: '0.4'
|
108
|
+
description: FluentFixtures is a toolkit for building testing objects with a fluent
|
109
|
+
interface.
|
187
110
|
email:
|
188
|
-
- ged@
|
111
|
+
- ged@faeriemud.org
|
189
112
|
executables: []
|
190
113
|
extensions: []
|
191
|
-
extra_rdoc_files:
|
192
|
-
- History.md
|
193
|
-
- LICENSE.txt
|
194
|
-
- Manifest.txt
|
195
|
-
- README.md
|
196
|
-
- TheSetup.md
|
114
|
+
extra_rdoc_files: []
|
197
115
|
files:
|
198
116
|
- ".document"
|
199
117
|
- ".rdoc_options"
|
200
118
|
- ".simplecov"
|
201
|
-
- ChangeLog
|
202
119
|
- History.md
|
203
120
|
- LICENSE.txt
|
204
121
|
- Manifest.txt
|
@@ -214,30 +131,32 @@ files:
|
|
214
131
|
- spec/fluent_fixtures/factory_spec.rb
|
215
132
|
- spec/fluent_fixtures_spec.rb
|
216
133
|
- spec/spec_helper.rb
|
217
|
-
homepage:
|
134
|
+
homepage: https://hg.sr.ht/~ged/fluent_fixtures
|
218
135
|
licenses:
|
219
136
|
- BSD-3-Clause
|
220
|
-
metadata:
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
137
|
+
metadata:
|
138
|
+
homepage_uri: https://hg.sr.ht/~ged/fluent_fixtures
|
139
|
+
documentation_uri: http://deveiate.org/code/fluent_fixtures
|
140
|
+
changelog_uri: http://deveiate.org/code/fluent_fixtures/History_md.html
|
141
|
+
source_uri: https://hg.sr.ht/~ged/fluent_fixtures/browse
|
142
|
+
bug_tracker_uri: https://todo.sr.ht/~ged/fluent_fixtures/browse
|
143
|
+
post_install_message:
|
144
|
+
rdoc_options: []
|
225
145
|
require_paths:
|
226
146
|
- lib
|
227
147
|
required_ruby_version: !ruby/object:Gem::Requirement
|
228
148
|
requirements:
|
229
149
|
- - ">="
|
230
150
|
- !ruby/object:Gem::Version
|
231
|
-
version:
|
151
|
+
version: '0'
|
232
152
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
233
153
|
requirements:
|
234
154
|
- - ">="
|
235
155
|
- !ruby/object:Gem::Version
|
236
156
|
version: '0'
|
237
157
|
requirements: []
|
238
|
-
|
239
|
-
|
240
|
-
signing_key:
|
158
|
+
rubygems_version: 3.1.2
|
159
|
+
signing_key:
|
241
160
|
specification_version: 4
|
242
|
-
summary: FluentFixtures is a toolkit for building testing objects with a fluent interface
|
161
|
+
summary: FluentFixtures is a toolkit for building testing objects with a fluent interface.
|
243
162
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|
data/ChangeLog
DELETED
@@ -1,308 +0,0 @@
|
|
1
|
-
2018-08-28 Michael Granger <ged@FaerieMUD.org>
|
2
|
-
|
3
|
-
@ * .hgtags:
|
4
|
-
| Added tag v0.8.0 for changeset 9c6d8910356b
|
5
|
-
| [5692ac6f4c8b] [tip]
|
6
|
-
|
|
7
|
-
o * .hgsigs:
|
8
|
-
| Added signature for changeset 3f30d963e0b9
|
9
|
-
| [9c6d8910356b] [v0.8.0]
|
10
|
-
|
|
11
|
-
o * History.md, lib/fluent_fixtures.rb:
|
12
|
-
| Bump the minor version, update history.
|
13
|
-
| [3f30d963e0b9]
|
14
|
-
|
|
15
|
-
o * TheSetup.md, lib/fluent_fixtures/dsl.rb,
|
16
|
-
| spec/fluent_fixtures/dsl_spec.rb:
|
17
|
-
| Add syntax for adding decorators to already-existing fixtures
|
18
|
-
| [2f66ef00d3ea]
|
19
|
-
|
|
20
|
-
2018-06-12 Michael Granger <ged@FaerieMUD.org>
|
21
|
-
|
22
|
-
o * .hgtags:
|
23
|
-
| Added tag v0.7.0 for changeset 7d764d4d36fc
|
24
|
-
| [2d4efd972e05]
|
25
|
-
|
|
26
|
-
o * .hgsigs:
|
27
|
-
| Added signature for changeset fd705f7880a5
|
28
|
-
| [7d764d4d36fc] [v0.7.0]
|
29
|
-
|
|
30
|
-
o * History.md, lib/fluent_fixtures.rb:
|
31
|
-
| Bump the minor version, update history.
|
32
|
-
| [fd705f7880a5]
|
33
|
-
|
|
34
|
-
o * fluent_fixtures.gemspec, lib/fluent_fixtures/dsl.rb,
|
35
|
-
| lib/fluent_fixtures/factory.rb,
|
36
|
-
| spec/fluent_fixtures/factory_spec.rb:
|
37
|
-
| Raise a more-informative error when invoking a non-existent fixture.
|
38
|
-
| [b56c1d0126ca]
|
39
|
-
|
|
40
|
-
o * .ruby-version, examples/nodb/lib/acme/fixtures/users.rb,
|
41
|
-
| lib/fluent_fixtures/dsl.rb, lib/fluent_fixtures/factory.rb,
|
42
|
-
| spec/fluent_fixtures/dsl_spec.rb,
|
43
|
-
| spec/fluent_fixtures/factory_spec.rb:
|
44
|
-
| Add composed decorators
|
45
|
-
| [5a9635f0e734]
|
46
|
-
|
|
47
|
-
2017-10-30 Michael Granger <ged@FaerieMUD.org>
|
48
|
-
|
49
|
-
o * README.md:
|
50
|
-
| Remove the (now retired) project link
|
51
|
-
| [145d33914658]
|
52
|
-
|
|
53
|
-
o * .ruby-version:
|
54
|
-
| Bump ruby version to 2.4
|
55
|
-
| [7aba5ecd78b7]
|
56
|
-
|
|
57
|
-
o * .hgtags:
|
58
|
-
| Added tag v0.6.1 for changeset 26a51ed462e4
|
59
|
-
| [91ab791a3775]
|
60
|
-
|
|
61
|
-
o * .hgsigs:
|
62
|
-
| Added signature for changeset a7a6e88dd27a
|
63
|
-
| [26a51ed462e4] [v0.6.1]
|
64
|
-
|
|
65
|
-
o * History.md, lib/fluent_fixtures.rb:
|
66
|
-
| Bump the patch version, update history.
|
67
|
-
| [a7a6e88dd27a]
|
68
|
-
|
|
69
|
-
o * lib/fluent_fixtures/dsl.rb, spec/fluent_fixtures/dsl_spec.rb:
|
70
|
-
| Fix a bug with decorator aliasing
|
71
|
-
| [660937258342]
|
72
|
-
|
|
73
|
-
o * lib/fluent_fixtures/dsl.rb:
|
74
|
-
| Style consistency fixes
|
75
|
-
| [834df1ab36a0]
|
76
|
-
|
|
77
|
-
o * certs/ged.pem:
|
78
|
-
| Update my gem-signing cert
|
79
|
-
| [49ee3a922275]
|
80
|
-
|
|
81
|
-
2017-06-26 Michael Granger <ged@FaerieMUD.org>
|
82
|
-
|
83
|
-
o * .hgtags:
|
84
|
-
| Added tag v0.6.0 for changeset 3a609403c94a
|
85
|
-
| [3d4cf477828e]
|
86
|
-
|
|
87
|
-
o * .hgsigs:
|
88
|
-
| Added signature for changeset 3d6408efbde6
|
89
|
-
| [3a609403c94a] [v0.6.0]
|
90
|
-
|
|
91
|
-
o * History.md, lib/fluent_fixtures.rb:
|
92
|
-
| Bump the minor version, update history.
|
93
|
-
| [3d6408efbde6]
|
94
|
-
|
|
95
|
-
o * lib/fluent_fixtures/factory.rb,
|
96
|
-
| spec/fluent_fixtures/factory_spec.rb:
|
97
|
-
| Add support for mutator blocks to factory generators.
|
98
|
-
| [068568028a13]
|
99
|
-
|
|
100
|
-
o * README.md, lib/fluent_fixtures.rb,
|
101
|
-
| lib/fluent_fixtures/collection.rb:
|
102
|
-
| Start work on better docs
|
103
|
-
| [9f00baf84bb2]
|
104
|
-
|
|
105
|
-
2017-05-15 Michael Granger <ged@FaerieMUD.org>
|
106
|
-
|
107
|
-
o * .hgtags:
|
108
|
-
| Added tag v0.5.0 for changeset a6a7c1070f6d
|
109
|
-
| [b8576e389b5e]
|
110
|
-
|
|
111
|
-
o * .hgsigs:
|
112
|
-
| Added signature for changeset ed67198925b5
|
113
|
-
| [a6a7c1070f6d] [v0.5.0]
|
114
|
-
|
|
115
|
-
o * History.md, lib/fluent_fixtures.rb:
|
116
|
-
| Bump the minor version, update history.
|
117
|
-
| [ed67198925b5]
|
118
|
-
|
|
119
|
-
2017-05-12 Michael Granger <ged@FaerieMUD.org>
|
120
|
-
|
121
|
-
o * lib/fluent_fixtures/collection.rb, lib/fluent_fixtures/dsl.rb,
|
122
|
-
| lib/fluent_fixtures/factory.rb,
|
123
|
-
| spec/fluent_fixtures/collection_spec.rb,
|
124
|
-
| spec/fluent_fixtures/dsl_spec.rb,
|
125
|
-
| spec/fluent_fixtures/factory_spec.rb:
|
126
|
-
| Add a `presave` option for decorators that need a saved instance.
|
127
|
-
| [d4160c6c04e0]
|
128
|
-
|
|
129
|
-
2016-12-13 Michael Granger <ged@FaerieMUD.org>
|
130
|
-
|
131
|
-
o * .hgtags:
|
132
|
-
| Added tag v0.4.0 for changeset c40d3bf82a13
|
133
|
-
| [f2a8c07ad5c0]
|
134
|
-
|
|
135
|
-
o * .hgsigs:
|
136
|
-
| Added signature for changeset 08f17f26d0cb
|
137
|
-
| [c40d3bf82a13] [v0.4.0]
|
138
|
-
|
|
139
|
-
o * History.md, lib/fluent_fixtures.rb:
|
140
|
-
| Bumping the minor version, update history.
|
141
|
-
| [08f17f26d0cb]
|
142
|
-
|
|
143
|
-
o * fluent_fixtures.gemspec, lib/fluent_fixtures/dsl.rb,
|
144
|
-
| spec/fluent_fixtures/dsl_spec.rb:
|
145
|
-
| Added syntactic sugar for loading dependent fixtures.
|
146
|
-
| [76eda4f07dab]
|
147
|
-
|
|
148
|
-
o * .gems, Rakefile:
|
149
|
-
| Update simplecov dependency
|
150
|
-
| [323862c0cf01]
|
151
|
-
|
|
152
|
-
2016-11-26 Michael Granger <ged@FaerieMUD.org>
|
153
|
-
|
154
|
-
o * .hgtags:
|
155
|
-
| Added tag v0.3.0 for changeset e544333544cd
|
156
|
-
| [85277035e13e] [github/master]
|
157
|
-
|
|
158
|
-
o * .hgsigs:
|
159
|
-
| Added signature for changeset 5b362f519048
|
160
|
-
| [e544333544cd] [v0.3.0]
|
161
|
-
|
|
162
|
-
o * History.md, lib/fluent_fixtures.rb:
|
163
|
-
| Bump the minor version, update history.
|
164
|
-
| [5b362f519048]
|
165
|
-
|
|
166
|
-
o * lib/fluent_fixtures/factory.rb,
|
167
|
-
| spec/fluent_fixtures/factory_spec.rb:
|
168
|
-
| Make the factory Enumerable and add a #generator method.
|
169
|
-
| [4726dd9edf86]
|
170
|
-
|
|
171
|
-
2016-10-28 Michael Granger <ged@FaerieMUD.org>
|
172
|
-
|
173
|
-
o * .hgtags:
|
174
|
-
| Added tag v0.2.0 for changeset f79d1cd08ad6
|
175
|
-
| [5b146c864a81]
|
176
|
-
|
|
177
|
-
o * .hgsigs:
|
178
|
-
| Added signature for changeset bde330b02946
|
179
|
-
| [f79d1cd08ad6] [v0.2.0]
|
180
|
-
|
|
181
|
-
o * History.md, lib/fluent_fixtures.rb:
|
182
|
-
| Bump the minor version, update history.
|
183
|
-
| [bde330b02946]
|
184
|
-
|
|
185
|
-
o * lib/fluent_fixtures/factory.rb,
|
186
|
-
| spec/fluent_fixtures/factory_spec.rb:
|
187
|
-
| Fix the way #create and #instance handle their arguments.
|
188
|
-
| [94fff76f0a8e]
|
189
|
-
|
|
190
|
-
o * .hgignore:
|
191
|
-
| Ignore the pkg/ directory
|
192
|
-
| [f4e96804d322]
|
193
|
-
|
|
194
|
-
o * examples/sequel_model/acme_fixtures.rb:
|
195
|
-
| Make some examples read a bit more clearly
|
196
|
-
| [78c923459cc5]
|
197
|
-
|
|
198
|
-
o * .hgtags:
|
199
|
-
| Added tag v0.1.0 for changeset 0b4ecbd00a8f
|
200
|
-
| [9cfa00bbea21]
|
201
|
-
|
|
202
|
-
o * .hgsigs:
|
203
|
-
| Added signature for changeset c6eb79628953
|
204
|
-
| [0b4ecbd00a8f] [v0.1.0]
|
205
|
-
|
|
206
|
-
o * History.md, lib/fluent_fixtures.rb:
|
207
|
-
| Bump the minor version, update history.
|
208
|
-
| [c6eb79628953]
|
209
|
-
|
|
210
|
-
o * .gems, Manifest.txt, lib/fluent_fixtures/dsl.rb,
|
211
|
-
| lib/fluent_fixtures/factory.rb,
|
212
|
-
| spec/fluent_fixtures/collection_spec.rb,
|
213
|
-
| spec/fluent_fixtures/dsl_spec.rb,
|
214
|
-
| spec/fluent_fixtures/factory_spec.rb:
|
215
|
-
| Add an after-save hook and a declaration for it.
|
216
|
-
| [45426c7cbfd8]
|
217
|
-
|
|
218
|
-
o * certs/ged.pem:
|
219
|
-
| Update gem cert to the latest one
|
220
|
-
| [f3b80f1dca30]
|
221
|
-
|
|
222
|
-
o * GettingStarted.md, README.md, TheSetup.md:
|
223
|
-
| Add some more documentation work
|
224
|
-
| [9428d297d024]
|
225
|
-
|
|
226
|
-
2016-10-20 Michael Granger <ged@FaerieMUD.org>
|
227
|
-
|
228
|
-
o * examples/acme_fixtures.rb, examples/lib/acme.rb,
|
229
|
-
| examples/lib/acme/base.rb, examples/lib/acme/fixtures.rb,
|
230
|
-
| examples/lib/acme/fixtures/groups.rb,
|
231
|
-
| examples/lib/acme/fixtures/users.rb, examples/lib/acme/group.rb,
|
232
|
-
| examples/lib/acme/user.rb, examples/nodb/acme_fixtures.rb,
|
233
|
-
| examples/nodb/lib/acme.rb, examples/nodb/lib/acme/base.rb,
|
234
|
-
| examples/nodb/lib/acme/fixtures.rb,
|
235
|
-
| examples/nodb/lib/acme/fixtures/groups.rb,
|
236
|
-
| examples/nodb/lib/acme/fixtures/users.rb,
|
237
|
-
| examples/nodb/lib/acme/group.rb, examples/nodb/lib/acme/user.rb,
|
238
|
-
| examples/sequel_model/.pryrc, examples/sequel_model/Gemfile,
|
239
|
-
| examples/sequel_model/Gemfile.lock,
|
240
|
-
| examples/sequel_model/acme_fixtures.rb,
|
241
|
-
| examples/sequel_model/lib/acme.rb,
|
242
|
-
| examples/sequel_model/lib/acme/customer.rb,
|
243
|
-
| examples/sequel_model/lib/acme/fixtures.rb,
|
244
|
-
| examples/sequel_model/lib/acme/fixtures/customers.rb,
|
245
|
-
| examples/sequel_model/lib/acme/fixtures/order_items.rb,
|
246
|
-
| examples/sequel_model/lib/acme/fixtures/orders.rb,
|
247
|
-
| examples/sequel_model/lib/acme/order.rb,
|
248
|
-
| examples/sequel_model/lib/acme/order_item.rb,
|
249
|
-
| examples/sequel_model/migrations/1_schema.rb:
|
250
|
-
| Split examples into per-backend directories
|
251
|
-
| [49d76036d758]
|
252
|
-
|
|
253
|
-
2016-06-01 Michael Granger <ged@FaerieMUD.org>
|
254
|
-
|
255
|
-
o * .hgtags:
|
256
|
-
| Added tag v0.0.2 for changeset f13e6d1aa624
|
257
|
-
| [9c56821be4a9]
|
258
|
-
|
|
259
|
-
o * .hgsigs:
|
260
|
-
| Added signature for changeset e500071dd9c0
|
261
|
-
| [f13e6d1aa624] [v0.0.2]
|
262
|
-
|
|
263
|
-
o * History.md, lib/fluent_fixtures.rb:
|
264
|
-
| Bump the patch version, update history.
|
265
|
-
| [e500071dd9c0]
|
266
|
-
|
|
267
|
-
o * Rakefile, fluent_fixtures.gemspec:
|
268
|
-
| Remove the release failsafe from the Rakefile
|
269
|
-
| [61698db3838e]
|
270
|
-
|
|
271
|
-
o * .hgtags:
|
272
|
-
| Added tag v0.0.1 for changeset cd547b1e30a8
|
273
|
-
| [e26dbd686588]
|
274
|
-
|
|
275
|
-
o * .hgsigs:
|
276
|
-
| Added signature for changeset 588b8ccc042c
|
277
|
-
| [cd547b1e30a8] [v0.0.1]
|
278
|
-
|
|
279
|
-
o * History.md:
|
280
|
-
| Update history
|
281
|
-
| [588b8ccc042c]
|
282
|
-
|
|
283
|
-
o * .hgignore, .hoerc, ChangeLog, Manifest.txt, fluent_fixtures.gemspec,
|
284
|
-
| lib/fluent_fixtures/dsl.rb, lib/fluent_fixtures/factory.rb:
|
285
|
-
| Clean up the manifest a bit.
|
286
|
-
| [41b90ff8e6d0]
|
287
|
-
|
|
288
|
-
o * .editorconfig, .hgignore, ChangeLog, GettingStarted.md, README.md,
|
289
|
-
| Rakefile, examples/acme_fixtures.rb, examples/lib/acme.rb,
|
290
|
-
| examples/lib/acme/base.rb, examples/lib/acme/fixtures.rb,
|
291
|
-
| examples/lib/acme/fixtures/groups.rb,
|
292
|
-
| examples/lib/acme/fixtures/users.rb, examples/lib/acme/group.rb,
|
293
|
-
| examples/lib/acme/user.rb:
|
294
|
-
| Add the start of examples and a "Getting Started" guide
|
295
|
-
| [2230db2a4a5a]
|
296
|
-
|
|
297
|
-
o * .document, .editorconfig, .gems, .gitignore, .hgignore, .pryrc,
|
298
|
-
.rdoc_options, .ruby-gemset, .ruby-version, .simplecov, Gemfile,
|
299
|
-
History.md, LICENSE.txt, Manifest.txt, README.md, Rakefile,
|
300
|
-
certs/ged.pem, fluent_fixtures.gemspec, lib/fluent_fixtures.rb,
|
301
|
-
lib/fluent_fixtures/collection.rb, lib/fluent_fixtures/dsl.rb,
|
302
|
-
lib/fluent_fixtures/factory.rb,
|
303
|
-
spec/fluent_fixtures/collection_spec.rb,
|
304
|
-
spec/fluent_fixtures/dsl_spec.rb,
|
305
|
-
spec/fluent_fixtures/factory_spec.rb, spec/fluent_fixtures_spec.rb,
|
306
|
-
spec/spec_helper.rb:
|
307
|
-
Initial import
|
308
|
-
[76c036a3676b]
|