rspec-let_fallback 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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 1b87a47a257f01dc1724fda918d57124f6ddaabd7c3a8e49c3872b1db8c9ce50
4
+ data.tar.gz: 5cd3704a08ce4fa404dcc8ed5ddec77d0608664bd5c36bde89667c384e822b3a
5
+ SHA512:
6
+ metadata.gz: 76dfb085610aa26ade97eeb4b67e970222827238973fa2afb96dcafe54cb4a633fe40ed341925b98e264f538b1bac9d3bc1746d28b7e61195eaedd48f883bb56
7
+ data.tar.gz: 935abe459b0a97742d1565c1dd23da714c1006abd562df0751c456159aa23bc3f20452314d15c74f87d0b1d0ce399c8139841bb7758f8d6de8b082ebbdbb7a62
@@ -0,0 +1,9 @@
1
+ root = true
2
+
3
+ [*]
4
+ indent_style = space
5
+ indent_size = 2
6
+ end_of_line = lf
7
+ charset = utf-8
8
+ trim_trailing_whitespace = true
9
+ insert_final_newline = true
@@ -0,0 +1,28 @@
1
+ name: Ruby Gem
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ jobs:
8
+ build:
9
+ name: Build + Publish
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Set up Ruby 2.6
15
+ uses: actions/setup-ruby@v1
16
+ with:
17
+ version: 2.6.x
18
+
19
+ - name: Publish to RubyGems
20
+ run: |
21
+ mkdir -p $HOME/.gem
22
+ touch $HOME/.gem/credentials
23
+ chmod 0600 $HOME/.gem/credentials
24
+ printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
25
+ gem build *.gemspec
26
+ gem push *.gem
27
+ env:
28
+ GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
@@ -0,0 +1,30 @@
1
+ name: Ruby
2
+
3
+ on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
+ branches: [ master ]
8
+
9
+ jobs:
10
+ test:
11
+
12
+ runs-on: ubuntu-latest
13
+
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - name: Set up Ruby
17
+ uses: ruby/setup-ruby@v1
18
+ with:
19
+ ruby-version: 2.6
20
+
21
+ - name: Install dependencies
22
+ run: bundle install
23
+
24
+ - name: Run tests and send coverage
25
+ run: bundle exec rspec
26
+ env:
27
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
28
+
29
+ - name: Run tests agains multiple rspec-core versions
30
+ run: bundle exec appraisal install && bundle exec appraisal rspec
@@ -0,0 +1,18 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
12
+
13
+ # Idea IntelliJ
14
+ .idea
15
+ rspec-let_fallback.iml
16
+
17
+ # Appraisal
18
+ gemfiles/*.gemfile.lock
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,9 @@
1
+ require:
2
+ - rubocop-airbnb
3
+ - rubocop-rspec
4
+
5
+ Airbnb/ConstAssignedInWrongFile:
6
+ Enabled: false
7
+
8
+ Airbnb/ClassOrModuleDeclaredInWrongFile:
9
+ Enabled: false
@@ -0,0 +1,15 @@
1
+ appraise "rspec-core-3.0" do
2
+ gem "rspec-core", "3.0.0"
3
+ end
4
+
5
+ appraise "rspec-core-3.5" do
6
+ gem "rspec-core", "3.0.0"
7
+ end
8
+
9
+ appraise "rspec-core-3.9" do
10
+ gem "rspec-core", "3.9.0"
11
+ end
12
+
13
+ appraise "rspec-core-newest" do
14
+ gem "rspec-core", ">= 3.9.0"
15
+ end
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at whitemerry@outlook.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [https://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: https://contributor-covenant.org
74
+ [version]: https://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in rspec-let_fallback.gemspec
4
+ gemspec
5
+
6
+ gem "rake", "~> 12.0"
7
+ gem "rspec", "~> 3.0"
@@ -0,0 +1,82 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ rspec-let_fallback (0.1.0)
5
+ rspec-core (~> 3.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ appraisal (2.3.0)
11
+ bundler
12
+ rake
13
+ thor (>= 0.14.0)
14
+ ast (2.4.1)
15
+ codecov (0.2.12)
16
+ json
17
+ simplecov
18
+ diff-lcs (1.4.4)
19
+ docile (1.3.2)
20
+ jaro_winkler (1.5.4)
21
+ json (2.3.1)
22
+ parallel (1.19.2)
23
+ parser (2.7.2.0)
24
+ ast (~> 2.4.1)
25
+ rack (2.2.3)
26
+ rainbow (3.0.0)
27
+ rake (12.3.3)
28
+ rspec (3.9.0)
29
+ rspec-core (~> 3.9.0)
30
+ rspec-expectations (~> 3.9.0)
31
+ rspec-mocks (~> 3.9.0)
32
+ rspec-core (3.9.3)
33
+ rspec-support (~> 3.9.3)
34
+ rspec-expectations (3.9.2)
35
+ diff-lcs (>= 1.2.0, < 2.0)
36
+ rspec-support (~> 3.9.0)
37
+ rspec-mocks (3.9.1)
38
+ diff-lcs (>= 1.2.0, < 2.0)
39
+ rspec-support (~> 3.9.0)
40
+ rspec-support (3.9.3)
41
+ rubocop (0.76.0)
42
+ jaro_winkler (~> 1.5.1)
43
+ parallel (~> 1.10)
44
+ parser (>= 2.6)
45
+ rainbow (>= 2.2.2, < 4.0)
46
+ ruby-progressbar (~> 1.7)
47
+ unicode-display_width (>= 1.4.0, < 1.7)
48
+ rubocop-airbnb (3.0.2)
49
+ rubocop (~> 0.76.0)
50
+ rubocop-performance (~> 1.5.0)
51
+ rubocop-rails (~> 2.3.2)
52
+ rubocop-rspec (~> 1.30.0)
53
+ rubocop-performance (1.5.2)
54
+ rubocop (>= 0.71.0)
55
+ rubocop-rails (2.3.2)
56
+ rack (>= 1.1)
57
+ rubocop (>= 0.72.0)
58
+ rubocop-rspec (1.30.1)
59
+ rubocop (>= 0.60.0)
60
+ ruby-progressbar (1.10.1)
61
+ simplecov (0.19.0)
62
+ docile (~> 1.1)
63
+ simplecov-html (~> 0.11)
64
+ simplecov-html (0.12.3)
65
+ thor (1.0.1)
66
+ unicode-display_width (1.6.1)
67
+
68
+ PLATFORMS
69
+ ruby
70
+ x86_64-linux
71
+
72
+ DEPENDENCIES
73
+ appraisal
74
+ codecov
75
+ rake (~> 12.0)
76
+ rspec (~> 3.0)
77
+ rspec-let_fallback!
78
+ rubocop-airbnb
79
+ rubocop-rspec
80
+
81
+ BUNDLED WITH
82
+ 2.1.4
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 whitemerry
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.
@@ -0,0 +1,91 @@
1
+ # RSpec::LetFallback
2
+
3
+ RSpec extension gem that allows to read let with fallback (if not defined yet in example group).
4
+
5
+ [![Gem Version](https://badge.fury.io/rb/rspec-let_fallback.svg)](https://badge.fury.io/rb/rspec-let_fallback)
6
+ [![codecov](https://codecov.io/gh/siepomaga/rspec-let_fallback/branch/master/graph/badge.svg)](https://codecov.io/gh/siepomaga/rspec-let_fallback)
7
+ [![ruby](https://github.com/siepomaga/rspec-let_fallback/workflows/Ruby/badge.svg)](https://github.com/siepomaga/rspec-let_fallback/actions)
8
+
9
+ ## Installation
10
+
11
+ Add this line to your application's Gemfile:
12
+
13
+ ```ruby
14
+ gem 'rspec-let_fallback'
15
+ ```
16
+
17
+ And then execute:
18
+
19
+ $ bundle install
20
+
21
+ Or install it yourself as:
22
+
23
+ $ gem install rspec-let_fallback
24
+
25
+ After installation add the following configuration to `spec/spec_helper.rb`.
26
+ ```ruby
27
+ RSpec.configure do |config|
28
+ config.include RSpec::LetFallback::Methods
29
+ end
30
+ ```
31
+
32
+ And You are ready to go!
33
+ ## Usage
34
+
35
+ Use the `let?` method to access variables, both, already defined, or their fallback values.
36
+
37
+ `let?` accepts two parameters, first is the desired variable name, and second one is the fallback value.
38
+ ```ruby
39
+ let(:some_object) do
40
+ {
41
+ first_field: let?(:defined_one, 1),
42
+ second_field: let?(:defined_two, "string"),
43
+ }
44
+ end
45
+
46
+ # Fallback values
47
+ it { expect(some_object).to eq({ first_field: 1, second_field: "string" }) }
48
+
49
+ # Overriding first field
50
+ context "with defined_one" do
51
+ let(:defined_one) { 103 }
52
+
53
+ it { expect(some_object).to eq({ first_field: 103, second_field: "string" }) }
54
+ end
55
+
56
+ # Overriding second field
57
+ context "with defined_two" do
58
+ let(:defined_two) { true }
59
+
60
+ it { expect(some_object).to eq({ first_field: 1, second_field: true }) }
61
+ end
62
+ ```
63
+
64
+ You can use `let?` inside `example group` elements, for example inside `let`, `let!` and `subject` blocks.
65
+ As a single value or as values in hash as shown in example.
66
+
67
+ ## Development
68
+
69
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `bundle exec rake spec` to run the tests.
70
+ You can also run `bin/console` for an interactive prompt that will allow you to experiment.
71
+ For Apprisal tests (against multiple `rspec-core` versions) run `bundle exec appraisal install` and then `bundle exec appraisal rspec`.
72
+
73
+ To install this gem onto your local machine, run `bundle exec rake install`.
74
+ To release a new version, update the version number in `version.rb`, and then prepare pull request on github.
75
+
76
+ ## Contributing
77
+
78
+ Bug reports and pull requests are welcome on GitHub at https://github.com/siepomaga/rspec-let_fallback. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/siepomaga/rspec-let_fallback/blob/master/CODE_OF_CONDUCT.md).
79
+
80
+
81
+ ## License
82
+
83
+ The gem is available as open source under the terms of the [MIT License](https://github.com/siepomaga/rspec-let_fallback/blob/master/LICENSE.txt).
84
+
85
+ ## Code of Conduct
86
+
87
+ Everyone interacting in the RSpec::LetFallback project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/siepomaga/rspec-let_fallback/blob/master/CODE_OF_CONDUCT.md).
88
+
89
+ ## Contributors
90
+
91
+ [whitemerry](https://github.com/whitemerry) and [krismichalski](https://github.com/krismichalski)
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "rspec/let_fallback"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_RETRY: "1"
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rake", "~> 12.0"
6
+ gem "rspec", "~> 3.0"
7
+ gem "rspec-core", "3.0.0"
8
+
9
+ gemspec path: "../"
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rake", "~> 12.0"
6
+ gem "rspec", "~> 3.0"
7
+ gem "rspec-core", "3.0.0"
8
+
9
+ gemspec path: "../"
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rake", "~> 12.0"
6
+ gem "rspec", "~> 3.0"
7
+ gem "rspec-core", "3.9.0"
8
+
9
+ gemspec path: "../"
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rake", "~> 12.0"
6
+ gem "rspec", "~> 3.0"
7
+ gem "rspec-core", ">= 3.9.0"
8
+
9
+ gemspec path: "../"
@@ -0,0 +1,9 @@
1
+ require "rspec/let_fallback/version"
2
+ require "rspec/let_fallback/methods"
3
+
4
+ module RSpec
5
+ module LetFallback
6
+ class Error < StandardError; end
7
+ # Your code goes here...
8
+ end
9
+ end
@@ -0,0 +1,13 @@
1
+ module RSpec
2
+ module LetFallback
3
+ module Methods
4
+ def let?(name, fallback)
5
+ our_module = RSpec::Core::MemoizedHelpers.module_for(self.class)
6
+
7
+ return fallback unless our_module.instance_methods(false).include?(name)
8
+
9
+ our_module.instance_method(name).bind(self).call
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,7 @@
1
+ module RSpec
2
+ module LetFallback
3
+ module Version
4
+ STRING = "0.1.0".freeze
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,40 @@
1
+ require_relative "lib/rspec/let_fallback/version"
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "rspec-let_fallback"
5
+ spec.version = RSpec::LetFallback::Version::STRING
6
+ spec.authors = %w[whitemerry krismichalski]
7
+ spec.email = %w[whitemerry@outlook.com kristopher.michalski@gmail.com]
8
+
9
+ spec.summary = %q{RSpec let fallback - let?(:name, "fallback value")}
10
+ spec.description = "RSpec extension gem that allows to read let " \
11
+ "with fallback (if not defined yet in example group)."
12
+ spec.homepage = "https://github.com/siepomaga/rspec-let_fallback"
13
+ spec.license = "MIT"
14
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
15
+
16
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
17
+
18
+ spec.metadata["homepage_uri"] = spec.homepage
19
+ spec.metadata["source_code_uri"] = spec.homepage
20
+ spec.metadata["changelog_uri"] = "https://github.com/siepomaga/rspec-let_fallback/releases"
21
+
22
+ # Dependencies
23
+ spec.add_dependency "rspec-core", "~> 3.0"
24
+
25
+ # Dev Dependencies
26
+ spec.add_development_dependency "appraisal"
27
+ spec.add_development_dependency "codecov"
28
+ spec.add_development_dependency "rspec"
29
+ spec.add_development_dependency "rubocop-airbnb"
30
+ spec.add_development_dependency "rubocop-rspec"
31
+
32
+ # Specify which files should be added to the gem when it is released.
33
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
34
+ spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do
35
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
36
+ end
37
+ spec.bindir = "exe"
38
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
39
+ spec.require_paths = ["lib"]
40
+ end
metadata ADDED
@@ -0,0 +1,158 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rspec-let_fallback
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - whitemerry
8
+ - krismichalski
9
+ autorequire:
10
+ bindir: exe
11
+ cert_chain: []
12
+ date: 2020-10-15 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rspec-core
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '3.0'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '3.0'
28
+ - !ruby/object:Gem::Dependency
29
+ name: appraisal
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: codecov
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: rspec
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: rubocop-airbnb
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ - !ruby/object:Gem::Dependency
85
+ name: rubocop-rspec
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ description: RSpec extension gem that allows to read let with fallback (if not defined
99
+ yet in example group).
100
+ email:
101
+ - whitemerry@outlook.com
102
+ - kristopher.michalski@gmail.com
103
+ executables: []
104
+ extensions: []
105
+ extra_rdoc_files: []
106
+ files:
107
+ - ".editorconfig"
108
+ - ".github/workflows/gem-push.yml"
109
+ - ".github/workflows/ruby.yml"
110
+ - ".gitignore"
111
+ - ".rspec"
112
+ - ".rubocop.yml"
113
+ - Appraisals
114
+ - CODE_OF_CONDUCT.md
115
+ - Gemfile
116
+ - Gemfile.lock
117
+ - LICENSE.txt
118
+ - README.md
119
+ - Rakefile
120
+ - bin/console
121
+ - bin/setup
122
+ - gemfiles/.bundle/config
123
+ - gemfiles/rspec_core_3.0.gemfile
124
+ - gemfiles/rspec_core_3.5.gemfile
125
+ - gemfiles/rspec_core_3.9.gemfile
126
+ - gemfiles/rspec_core_newest.gemfile
127
+ - lib/rspec/let_fallback.rb
128
+ - lib/rspec/let_fallback/methods.rb
129
+ - lib/rspec/let_fallback/version.rb
130
+ - rspec-let_fallback.gemspec
131
+ homepage: https://github.com/siepomaga/rspec-let_fallback
132
+ licenses:
133
+ - MIT
134
+ metadata:
135
+ allowed_push_host: https://rubygems.org
136
+ homepage_uri: https://github.com/siepomaga/rspec-let_fallback
137
+ source_code_uri: https://github.com/siepomaga/rspec-let_fallback
138
+ changelog_uri: https://github.com/siepomaga/rspec-let_fallback/releases
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.3.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.1.2
155
+ signing_key:
156
+ specification_version: 4
157
+ summary: RSpec let fallback - let?(:name, "fallback value")
158
+ test_files: []