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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f05f5d2cb52269e49bd64ac995962240bcea44fa
4
- data.tar.gz: d1a5ef14f5cfa6c4ae05c06d0152bde1b4b92a99
2
+ SHA256:
3
+ metadata.gz: 1658fdfae2ab9403598c65919fd9362e113857515a83b167097cc3912e54f043
4
+ data.tar.gz: e56f52047732eead9d28a27032816da657c449cddf116ebcf925d885c88919b0
5
5
  SHA512:
6
- metadata.gz: 01e90b853c0797e877430108ac79cb6f9d32e06df07335a63abbb844c6e49d3ffebc416eb1260c0ff2f74d8b00344c1822f6efc137d17a74fcbb951c5564b58e
7
- data.tar.gz: b8b2d7a25dedd8113c3adeee9182e4fe73fb4f8d622fdc15cd03913ab564cdb962ed8c3aef2acc449eb97bc53f839f9835c61d49c715521b8c8689e323480a47
6
+ metadata.gz: 806b17a2798eeba38e55d42b6965002f804a063aba6941111988e75069761c63e0266b11fe7fcba89db53dff09fbec83de50baccbb4cb997a4f6b22e459ab9c9
7
+ data.tar.gz: 685c6dc1d9d1a865ba4d95ac1afa5bae2a50987ec12476c19bf39a4c680b8626effcd7f09cfe6c763322dbc3baf1edfd26f4359c76dae59ad7d906efd3610b8d
data/.gitignore CHANGED
@@ -9,3 +9,4 @@
9
9
  /tmp/
10
10
  *.gem
11
11
  .byebug_history
12
+ .idea
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.2.2
1
+ ruby-2.7.8
data/.travis.yml CHANGED
@@ -1,7 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.10
4
- - 2.2.6
5
- - 2.3.4
6
- - 2.4.0
7
- before_install: gem install bundler -v 1.10.4
3
+ - 2.7.8
4
+ before_install: gem install bundler
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 [![Build Status](https://travis-ci.org/ridiculous/rspec-scaffold.svg)](https://travis-ci.org/ridiculous/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.beta1', require: false
14
+ gem 'rspec-scaffold', '~> 2.0.0', require: false
15
15
  ```
16
16
 
17
17
  __2. see if it works__
data/Rakefile CHANGED
@@ -1,3 +1,4 @@
1
+ require 'rake/release'
1
2
  require 'rspec/core/rake_task'
2
3
 
3
4
  RSpec::Core::RakeTask.new(:spec) do |config|
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module Scaffold
3
- VERSION = "2.0.0.beta1".freeze
3
+ VERSION = "2.0.1".freeze
4
4
  end
5
5
  end
@@ -3,7 +3,6 @@ require "delegate"
3
3
  #require "rspec"
4
4
  require "ryan"
5
5
  require "luks"
6
- require 'pry'
7
6
 
8
7
  module RSpec
9
8
  module Scaffold
@@ -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 = "rspec-scaffold"
8
- spec.version = RSpec::Scaffold::VERSION
9
- spec.authors = ["Ryan Buckley"]
10
- spec.email = ["arebuckley@gmail.com"]
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 = %q{Generates RSpec scaffolding for existing code}
13
- spec.description = %q{Generates RSpec scaffolding for conditions and ivar assignments}
14
- spec.homepage = "https://github.com/ridiculous/rspec-scaffold"
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 'highline', '~> 1.6'
25
- spec.add_dependency 'luks'# , '~> 1.6'
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", "~> 1.10"
29
- spec.add_development_dependency "rake", "~> 10.0"
30
- spec.add_development_dependency "rspec", ">= 3.2", "< 4"
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.0.beta1
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: 2017-05-12 00:00:00.000000000 Z
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.0
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.0
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: '1.10'
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: '1.10'
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: '10.0'
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: '10.0'
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: '4'
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: '4'
88
+ version: '5'
103
89
  - !ruby/object:Gem::Dependency
104
- name: pry
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.13.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.13.0
102
+ version: 0.11.0
131
103
  - !ruby/object:Gem::Dependency
132
- name: fakefs
104
+ name: rake-release
133
105
  requirement: !ruby/object:Gem::Requirement
134
106
  requirements:
135
107
  - - "~>"
136
108
  - !ruby/object:Gem::Version
137
- version: 0.11.0
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: 0.11.0
145
- description: Generates RSpec scaffolding for conditions and ivar assignments
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: 1.3.1
167
+ version: '0'
195
168
  requirements: []
196
- rubyforge_project:
197
- rubygems_version: 2.4.8
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: []