rspec-scaffold 2.0.0.beta1 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +1 -0
- data/.ruby-version +1 -1
- data/.travis.yml +2 -5
- data/CHANGELOG.md +7 -0
- data/README.md +2 -2
- data/Rakefile +1 -0
- data/lib/rspec/scaffold/version.rb +1 -1
- data/lib/rspec/scaffold.rb +0 -1
- data/rspec-scaffold.gemspec +13 -15
- metadata +24 -52
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1658fdfae2ab9403598c65919fd9362e113857515a83b167097cc3912e54f043
|
4
|
+
data.tar.gz: e56f52047732eead9d28a27032816da657c449cddf116ebcf925d885c88919b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 806b17a2798eeba38e55d42b6965002f804a063aba6941111988e75069761c63e0266b11fe7fcba89db53dff09fbec83de50baccbb4cb997a4f6b22e459ab9c9
|
7
|
+
data.tar.gz: 685c6dc1d9d1a865ba4d95ac1afa5bae2a50987ec12476c19bf39a4c680b8626effcd7f09cfe6c763322dbc3baf1edfd26f4359c76dae59ad7d906efd3610b8d
|
data/.gitignore
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-2.
|
1
|
+
ruby-2.7.8
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
6
6
|
|
7
|
+
## [2.0.1] - 2023-06-24
|
8
|
+
- Drop `highline` dependency since it's not used anymore
|
9
|
+
|
10
|
+
## [2.0.0] - 2023-06-24
|
11
|
+
- Update this repo to work with ruby 2.7.8 (ryan throwing frozen error)
|
12
|
+
- Release 2.0 finally so that readme matches default gem download
|
13
|
+
|
7
14
|
## [2.0.0.beta1] - 2017-05-12
|
8
15
|
### Added
|
9
16
|
- Convenience methods `RSpec::Scaffold.testify_file` and `RSpec::Scaffold.testify_text` which allow making scaffolds from within code.
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# RSpec Scaffold [![
|
1
|
+
# RSpec Scaffold [![Gem Version](https://badge.fury.io/rb/rspec-scaffold.svg)](https://badge.fury.io/rb/rspec-scaffold)
|
2
2
|
|
3
3
|
Generates RSpec scaffolding for existing code.
|
4
4
|
Cleverly infers spec location from source file location.
|
@@ -11,7 +11,7 @@ Requires Ruby >= 1.9.3
|
|
11
11
|
__1. update gemfile and bundle__
|
12
12
|
|
13
13
|
```ruby
|
14
|
-
gem 'rspec-scaffold', '~> 2.0.0
|
14
|
+
gem 'rspec-scaffold', '~> 2.0.0', require: false
|
15
15
|
```
|
16
16
|
|
17
17
|
__2. see if it works__
|
data/Rakefile
CHANGED
data/lib/rspec/scaffold.rb
CHANGED
data/rspec-scaffold.gemspec
CHANGED
@@ -4,14 +4,14 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'rspec/scaffold/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name
|
8
|
-
spec.version
|
9
|
-
spec.authors
|
10
|
-
spec.email
|
7
|
+
spec.name = "rspec-scaffold"
|
8
|
+
spec.version = RSpec::Scaffold::VERSION
|
9
|
+
spec.authors = ["Ryan Buckley"]
|
10
|
+
spec.email = ["arebuckley@gmail.com"]
|
11
11
|
|
12
|
-
spec.summary
|
13
|
-
spec.description
|
14
|
-
spec.homepage
|
12
|
+
spec.summary = %q{Generates RSpec scaffolding for existing code}
|
13
|
+
spec.description = %q{Generates test files based on your codes logic, setting up the initialization args and nested context blocks}
|
14
|
+
spec.homepage = "https://github.com/ridiculous/rspec-scaffold"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
17
|
spec.bindir = 'exe'
|
@@ -21,14 +21,12 @@ Gem::Specification.new do |spec|
|
|
21
21
|
|
22
22
|
spec.required_ruby_version = '>= 2.0.0'
|
23
23
|
|
24
|
-
spec.add_dependency '
|
25
|
-
spec.add_dependency '
|
26
|
-
spec.add_dependency 'ryan', '~> 1.1.0'
|
24
|
+
spec.add_dependency 'luks' # , '~> 1.6'
|
25
|
+
spec.add_dependency 'ryan', '~> 1.2.1'
|
27
26
|
|
28
|
-
spec.add_development_dependency "bundler", "~>
|
29
|
-
spec.add_development_dependency "rake", "~>
|
30
|
-
spec.add_development_dependency "rspec", ">= 3.2", "<
|
31
|
-
spec.add_development_dependency "pry", "~> 0.10.4"
|
32
|
-
spec.add_development_dependency "simplecov", "~> 0.13.0"
|
27
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
28
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
29
|
+
spec.add_development_dependency "rspec", ">= 3.2", "< 5"
|
33
30
|
spec.add_development_dependency "fakefs", "~> 0.11.0" # fakes filesystem, useful for testing file outputs.
|
31
|
+
spec.add_development_dependency "rake-release", "~> 1.3.0"
|
34
32
|
end
|
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-scaffold
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Buckley
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: highline
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.6'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.6'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: luks
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,42 +30,42 @@ dependencies:
|
|
44
30
|
requirements:
|
45
31
|
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.1
|
33
|
+
version: 1.2.1
|
48
34
|
type: :runtime
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.1
|
40
|
+
version: 1.2.1
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: bundler
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
58
44
|
requirements:
|
59
45
|
- - "~>"
|
60
46
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
47
|
+
version: '2.0'
|
62
48
|
type: :development
|
63
49
|
prerelease: false
|
64
50
|
version_requirements: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
66
52
|
- - "~>"
|
67
53
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
54
|
+
version: '2.0'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: rake
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
59
|
- - "~>"
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
61
|
+
version: '13.0'
|
76
62
|
type: :development
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
66
|
- - "~>"
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
68
|
+
version: '13.0'
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: rspec
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -89,7 +75,7 @@ dependencies:
|
|
89
75
|
version: '3.2'
|
90
76
|
- - "<"
|
91
77
|
- !ruby/object:Gem::Version
|
92
|
-
version: '
|
78
|
+
version: '5'
|
93
79
|
type: :development
|
94
80
|
prerelease: false
|
95
81
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -99,50 +85,37 @@ dependencies:
|
|
99
85
|
version: '3.2'
|
100
86
|
- - "<"
|
101
87
|
- !ruby/object:Gem::Version
|
102
|
-
version: '
|
88
|
+
version: '5'
|
103
89
|
- !ruby/object:Gem::Dependency
|
104
|
-
name:
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - "~>"
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: 0.10.4
|
110
|
-
type: :development
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - "~>"
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: 0.10.4
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: simplecov
|
90
|
+
name: fakefs
|
119
91
|
requirement: !ruby/object:Gem::Requirement
|
120
92
|
requirements:
|
121
93
|
- - "~>"
|
122
94
|
- !ruby/object:Gem::Version
|
123
|
-
version: 0.
|
95
|
+
version: 0.11.0
|
124
96
|
type: :development
|
125
97
|
prerelease: false
|
126
98
|
version_requirements: !ruby/object:Gem::Requirement
|
127
99
|
requirements:
|
128
100
|
- - "~>"
|
129
101
|
- !ruby/object:Gem::Version
|
130
|
-
version: 0.
|
102
|
+
version: 0.11.0
|
131
103
|
- !ruby/object:Gem::Dependency
|
132
|
-
name:
|
104
|
+
name: rake-release
|
133
105
|
requirement: !ruby/object:Gem::Requirement
|
134
106
|
requirements:
|
135
107
|
- - "~>"
|
136
108
|
- !ruby/object:Gem::Version
|
137
|
-
version:
|
109
|
+
version: 1.3.0
|
138
110
|
type: :development
|
139
111
|
prerelease: false
|
140
112
|
version_requirements: !ruby/object:Gem::Requirement
|
141
113
|
requirements:
|
142
114
|
- - "~>"
|
143
115
|
- !ruby/object:Gem::Version
|
144
|
-
version:
|
145
|
-
description: Generates
|
116
|
+
version: 1.3.0
|
117
|
+
description: Generates test files based on your codes logic, setting up the initialization
|
118
|
+
args and nested context blocks
|
146
119
|
email:
|
147
120
|
- arebuckley@gmail.com
|
148
121
|
executables:
|
@@ -178,7 +151,7 @@ homepage: https://github.com/ridiculous/rspec-scaffold
|
|
178
151
|
licenses:
|
179
152
|
- MIT
|
180
153
|
metadata: {}
|
181
|
-
post_install_message:
|
154
|
+
post_install_message:
|
182
155
|
rdoc_options: []
|
183
156
|
require_paths:
|
184
157
|
- lib
|
@@ -189,13 +162,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
189
162
|
version: 2.0.0
|
190
163
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
191
164
|
requirements:
|
192
|
-
- - "
|
165
|
+
- - ">="
|
193
166
|
- !ruby/object:Gem::Version
|
194
|
-
version:
|
167
|
+
version: '0'
|
195
168
|
requirements: []
|
196
|
-
|
197
|
-
|
198
|
-
signing_key:
|
169
|
+
rubygems_version: 3.4.14
|
170
|
+
signing_key:
|
199
171
|
specification_version: 4
|
200
172
|
summary: Generates RSpec scaffolding for existing code
|
201
173
|
test_files: []
|