fake-file 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 6b7b448123e7fe5a65fcbf7e689eaeb2255708426b99621a9e21bf8ae5d282aa
4
+ data.tar.gz: 2f64b655bc4e2493ca58d60c42e0127bb2b55495ed40c9a87e86fa59112bbf2c
5
+ SHA512:
6
+ metadata.gz: d3746c1b811fc32b239f680147de523d1677c4d63840cdef066d52df33fd0fa551ac097976c700c94713ed6c574ad510d74ebaf4d10268aff944a44bb57ad319
7
+ data.tar.gz: d992bcca3827eda9165be59135703a56f08e95b3d4cc8ee199bc3feb9d4d485432bd043932f93ce2b5576324d3a33ba6cbdd72d95a0ca38cd3e8ab961d1de61f
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/CHANGELOG.md ADDED
@@ -0,0 +1,18 @@
1
+ ## [Unreleased]
2
+
3
+ ### Added
4
+
5
+ - Extensible generator architecture (`Strategy + Registry`) with dedicated generators for `pdf`, `docx`, and `xlsx`
6
+ - Shared `BaseGenerator` for reusable tempfile creation logic
7
+ - New facade API: `FakeFile.generate`, `FakeFile.pdf`, `FakeFile.docx`, `FakeFile.xlsx`
8
+
9
+ ### Changed
10
+
11
+ - Replaced `htmltoword` with `docxify` for DOCX generation
12
+ - Replaced `axlsx` with `caxlsx` for modern Ruby compatibility
13
+ - Dropped legacy `FakeFile::Document.*` API support
14
+ - Updated specs to cover facade API and unsupported format behavior
15
+
16
+ ## [0.1.0] - 2022-06-29
17
+
18
+ - Initial release
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders 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, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at mischa.blaster@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in fake-file.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
9
+
10
+ gem "rspec", "~> 3.0"
data/Gemfile.lock ADDED
@@ -0,0 +1,83 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ fake-file (0.1.0)
5
+ caxlsx
6
+ docxify
7
+ faker
8
+ matrix
9
+ prawn-html
10
+
11
+ GEM
12
+ remote: https://rubygems.org/
13
+ specs:
14
+ ansi (1.5.0)
15
+ ast (2.4.2)
16
+ caxlsx (4.2.0)
17
+ htmlentities (~> 4.3, >= 4.3.4)
18
+ marcel (~> 1.0)
19
+ nokogiri (~> 1.10, >= 1.10.4)
20
+ rubyzip (>= 1.3.0, < 3)
21
+ coderay (1.1.3)
22
+ concurrent-ruby (1.3.6)
23
+ diff-lcs (1.5.0)
24
+ docxify (0.1.7)
25
+ image_size (~> 3.0)
26
+ rubyzip (~> 2.3)
27
+ faker (3.6.0)
28
+ i18n (>= 1.8.11, < 2)
29
+ htmlentities (4.4.2)
30
+ i18n (1.14.8)
31
+ concurrent-ruby (~> 1.0)
32
+ image_size (3.4.0)
33
+ marcel (1.0.2)
34
+ matrix (0.4.3)
35
+ method_source (1.0.0)
36
+ nokogiri (1.19.0-x86_64-linux-gnu)
37
+ racc (~> 1.4)
38
+ oga (3.3)
39
+ ast
40
+ ruby-ll (~> 2.1)
41
+ pdf-core (0.9.0)
42
+ prawn (2.4.0)
43
+ pdf-core (~> 0.9.0)
44
+ ttfunk (~> 1.7)
45
+ prawn-html (0.7.0)
46
+ oga (~> 3.3)
47
+ prawn (~> 2.4)
48
+ pry (0.14.1)
49
+ coderay (~> 1.1)
50
+ method_source (~> 1.0)
51
+ racc (1.8.1)
52
+ rake (13.0.6)
53
+ rspec (3.11.0)
54
+ rspec-core (~> 3.11.0)
55
+ rspec-expectations (~> 3.11.0)
56
+ rspec-mocks (~> 3.11.0)
57
+ rspec-core (3.11.0)
58
+ rspec-support (~> 3.11.0)
59
+ rspec-expectations (3.11.0)
60
+ diff-lcs (>= 1.2.0, < 2.0)
61
+ rspec-support (~> 3.11.0)
62
+ rspec-mocks (3.11.1)
63
+ diff-lcs (>= 1.2.0, < 2.0)
64
+ rspec-support (~> 3.11.0)
65
+ rspec-support (3.11.0)
66
+ ruby-ll (2.1.2)
67
+ ansi
68
+ ast
69
+ rubyzip (2.3.2)
70
+ ttfunk (1.7.0)
71
+
72
+ PLATFORMS
73
+ x86_64-linux
74
+
75
+ DEPENDENCIES
76
+ fake-file!
77
+ marcel
78
+ pry
79
+ rake (~> 13.0)
80
+ rspec (~> 3.0)
81
+
82
+ BUNDLED WITH
83
+ 2.7.2
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 VasylenchukMischa
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,156 @@
1
+ # fake-file
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/fake-file.svg)](https://rubygems.org/gems/fake-file)
4
+ [![CI](https://github.com/mdotvasylenchuk/fake-file/actions/workflows/main.yml/badge.svg)](https://github.com/mdotvasylenchuk/fake-file/actions/workflows/main.yml)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
+
7
+ `fake-file` is a Ruby gem for generating temporary fake files for tests.
8
+
9
+ It helps when you need to attach a file to a model (ActiveStorage, Shrine, CarrierWave, etc.) without storing fixture files in `spec/files`.
10
+
11
+ Currently supported formats:
12
+
13
+ - `pdf`
14
+ - `docx`
15
+ - `xlsx`
16
+
17
+ ## Installation
18
+
19
+ Add to your app's Gemfile:
20
+
21
+ ```ruby
22
+ gem "fake-file"
23
+ ```
24
+
25
+ Then run:
26
+
27
+ ```bash
28
+ bundle install
29
+ ```
30
+
31
+ Or install manually:
32
+
33
+ ```bash
34
+ gem install fake-file
35
+ ```
36
+
37
+ ## Quick Start
38
+
39
+ ```ruby
40
+ require "fake-file"
41
+
42
+ pdf_file = FakeFile.pdf
43
+ docx_file = FakeFile.docx
44
+ xlsx_file = FakeFile.xlsx
45
+ ```
46
+
47
+ Each method returns a `Tempfile` object ready to use in tests.
48
+
49
+ ## API
50
+
51
+ ### Facade methods
52
+
53
+ ```ruby
54
+ FakeFile.pdf(options = {})
55
+ FakeFile.docx(options = {})
56
+ FakeFile.xlsx(options = {})
57
+ ```
58
+
59
+ ### Generic generator
60
+
61
+ ```ruby
62
+ FakeFile.generate(:pdf)
63
+ FakeFile.generate(:docx)
64
+ FakeFile.generate(:xlsx)
65
+ ```
66
+
67
+ ## Usage in tests
68
+
69
+ ### ActiveStorage example
70
+
71
+ ```ruby
72
+ it "attaches generated pdf" do
73
+ file = FakeFile.pdf
74
+
75
+ record.file.attach(
76
+ io: file,
77
+ filename: "sample.pdf",
78
+ content_type: "application/pdf"
79
+ )
80
+
81
+ expect(record.file).to be_attached
82
+ end
83
+ ```
84
+
85
+ ### Verify MIME type
86
+
87
+ ```ruby
88
+ require "marcel"
89
+
90
+ expect(Marcel::MimeType.for(FakeFile.docx))
91
+ .to eq("application/vnd.openxmlformats-officedocument.wordprocessingml.document")
92
+ ```
93
+
94
+ ## Architecture
95
+
96
+ The gem is built with an extensible architecture:
97
+
98
+ - **Strategy**: each format has its own generator class
99
+ - **Registry/Factory**: central format-to-generator mapping
100
+ - **Base Generator**: shared tempfile-building logic
101
+
102
+ Current internal structure:
103
+
104
+ - `FakeFile::Registry`
105
+ - `FakeFile::Generators::BaseGenerator`
106
+ - `FakeFile::Generators::PdfGenerator`
107
+ - `FakeFile::Generators::DocxGenerator` (uses [`docxify`](https://github.com/foundercatalyst/docxify))
108
+ - `FakeFile::Generators::XlsxGenerator`
109
+
110
+ ## Adding a new format
111
+
112
+ 1. Create a new generator class in `lib/fake-file/generators/`.
113
+ 2. Inherit from `BaseGenerator` and implement `#generate`.
114
+ 3. Register it in `lib/fake-file.rb`:
115
+
116
+ ```ruby
117
+ Registry.register(:txt, Generators::TxtGenerator.new)
118
+ ```
119
+
120
+ After that, it becomes available via:
121
+
122
+ ```ruby
123
+ FakeFile.generate(:txt)
124
+ ```
125
+
126
+ ## Development
127
+
128
+ Install dependencies:
129
+
130
+ ```bash
131
+ bundle install
132
+ ```
133
+
134
+ Run specs:
135
+
136
+ ```bash
137
+ ruby -S bundle exec rspec
138
+ ```
139
+
140
+ Open console:
141
+
142
+ ```bash
143
+ bin/console
144
+ ```
145
+
146
+ ## Contributing
147
+
148
+ Issues and pull requests are welcome:
149
+
150
+ - https://github.com/mdotvasylenchuk/fake-file
151
+
152
+ Please follow [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md).
153
+
154
+ ## License
155
+
156
+ The gem is distributed under the MIT license. See [LICENSE.txt](LICENSE.txt).
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task default: :spec
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "securerandom"
4
+ require "tempfile"
5
+
6
+ module FakeFile
7
+ module Generators
8
+ class BaseGenerator
9
+ def generate(_options = {})
10
+ raise NotImplementedError, "#{self.class} must implement #generate"
11
+ end
12
+
13
+ private
14
+
15
+ def build_tempfile(data, extension, encoding: "ASCII-8BIT")
16
+ generated_file = Tempfile.new([SecureRandom.uuid, extension], encoding: encoding)
17
+ generated_file.write(data)
18
+ generated_file.rewind
19
+ generated_file
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "faker"
4
+ require "docxify"
5
+ require_relative "base_generator"
6
+
7
+ module FakeFile
8
+ module Generators
9
+ class DocxGenerator < BaseGenerator
10
+ def generate(_options = {})
11
+ docx = DocXify::Document.new
12
+ docx.default_styling(color: "#000000")
13
+ docx.add_paragraph(Faker::Book.title)
14
+ docx.add_paragraph(Faker::Lorem.paragraph)
15
+ build_tempfile(docx.render, ".docx")
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "faker"
4
+ require "prawn-html"
5
+ require_relative "base_generator"
6
+
7
+ module FakeFile
8
+ module Generators
9
+ class PdfGenerator < BaseGenerator
10
+ def generate(_options = {})
11
+ pdf = Prawn::Document.new
12
+ html = "<h1>#{Faker::Book.title}</h1><p>#{Faker::Lorem.paragraph}</p>"
13
+ PrawnHtml.append_html(pdf, html)
14
+ build_tempfile(pdf.render, ".pdf")
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "faker"
4
+ require "caxlsx"
5
+ require_relative "base_generator"
6
+
7
+ module FakeFile
8
+ module Generators
9
+ class XlsxGenerator < BaseGenerator
10
+ def generate(_options = {})
11
+ package = Axlsx::Package.new
12
+
13
+ package.workbook.add_worksheet(name: "Fake data") do |sheet|
14
+ sheet.add_row(["Title", "Value"])
15
+ 3.times do
16
+ sheet.add_row([Faker::Book.title, rand(1..100)])
17
+ end
18
+ end
19
+
20
+ build_tempfile(package.to_stream.read, ".xlsx")
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ module FakeFile
4
+ class Registry
5
+ class UnsupportedFormatError < StandardError; end
6
+
7
+ class << self
8
+ def register(format, generator)
9
+ generators[normalize(format)] = generator
10
+ end
11
+
12
+ def fetch(format)
13
+ generators.fetch(normalize(format)) do
14
+ raise UnsupportedFormatError, "Unsupported format: #{format.inspect}"
15
+ end
16
+ end
17
+
18
+ private
19
+
20
+ def normalize(format)
21
+ format.to_s.downcase.to_sym
22
+ end
23
+
24
+ def generators
25
+ @generators ||= {}
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module FakeFile
4
+ VERSION = "0.1.0"
5
+ end
data/lib/fake-file.rb ADDED
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "fake-file/version"
4
+ require_relative "fake-file/registry"
5
+ require_relative "fake-file/generators/pdf_generator"
6
+ require_relative "fake-file/generators/docx_generator"
7
+ require_relative "fake-file/generators/xlsx_generator"
8
+
9
+ module FakeFile
10
+ class << self
11
+ def generate(format, options = {})
12
+ Registry.fetch(format).generate(options)
13
+ end
14
+
15
+ def pdf(options = {})
16
+ generate(:pdf, options)
17
+ end
18
+
19
+ def docx(options = {})
20
+ generate(:docx, options)
21
+ end
22
+
23
+ def xlsx(options = {})
24
+ generate(:xlsx, options)
25
+ end
26
+ end
27
+
28
+ Registry.register(:pdf, Generators::PdfGenerator.new)
29
+ Registry.register(:docx, Generators::DocxGenerator.new)
30
+ Registry.register(:xlsx, Generators::XlsxGenerator.new)
31
+ end
metadata ADDED
@@ -0,0 +1,158 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fake-file
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - VasylenchukMischa
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2026-02-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: prawn-html
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: docxify
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: caxlsx
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: faker
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: matrix
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: marcel
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: gem used different libraries to create fake file as fast as these libraries
112
+ work
113
+ email:
114
+ - mischa.blaster@gmail.com
115
+ executables: []
116
+ extensions: []
117
+ extra_rdoc_files: []
118
+ files:
119
+ - ".rspec"
120
+ - CHANGELOG.md
121
+ - CODE_OF_CONDUCT.md
122
+ - Gemfile
123
+ - Gemfile.lock
124
+ - LICENSE.txt
125
+ - README.md
126
+ - Rakefile
127
+ - lib/fake-file.rb
128
+ - lib/fake-file/generators/base_generator.rb
129
+ - lib/fake-file/generators/docx_generator.rb
130
+ - lib/fake-file/generators/pdf_generator.rb
131
+ - lib/fake-file/generators/xlsx_generator.rb
132
+ - lib/fake-file/registry.rb
133
+ - lib/fake-file/version.rb
134
+ homepage: https://github.com/VasylenchukMischa/fake-file
135
+ licenses:
136
+ - MIT
137
+ metadata:
138
+ homepage_uri: https://github.com/VasylenchukMischa/fake-file
139
+ post_install_message:
140
+ rdoc_options: []
141
+ require_paths:
142
+ - lib
143
+ required_ruby_version: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
147
+ version: 2.6.0
148
+ required_rubygems_version: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ requirements: []
154
+ rubygems_version: 3.5.3
155
+ signing_key:
156
+ specification_version: 4
157
+ summary: a ruby library to create fake files
158
+ test_files: []