rspec-kickstarter 0.1.2 → 0.1.3

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.
@@ -3,6 +3,7 @@
3
3
  require 'rdoc'
4
4
  require 'rdoc/parser/ruby'
5
5
  require 'rdoc/options'
6
+ require 'rdoc/generator'
6
7
  require 'rdoc/stats'
7
8
  require 'rspec_kickstarter'
8
9
 
@@ -29,15 +30,15 @@ class RSpecKickstarter::Generator
29
30
  # Append to the existing spec or skip
30
31
 
31
32
  existing_spec = File.read(spec_path)
32
- racking_methods = c.method_list
33
+ lacking_methods = c.method_list
33
34
  .select { |m| m.visibility == :public }
34
35
  .reject { |m| existing_spec.match(m.name) }
35
36
 
36
- if racking_methods.empty?
37
+ if lacking_methods.empty?
37
38
  puts "#{spec_path} skipped."
38
39
  else
39
40
  additional_spec = <<SPEC
40
- #{racking_methods.map { |method|
41
+ #{lacking_methods.map { |method|
41
42
  <<EACH_SPEC
42
43
  # TODO auto-generated
43
44
  describe '#{method.name}' do
@@ -1,3 +1,3 @@
1
1
  module RSpecKickstarter
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-kickstarter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-01 00:00:00.000000000 Z
12
+ date: 2013-06-11 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: rspec-kickstarter supports you writing tests for existing code.
15
15
  email:
@@ -44,7 +44,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
44
44
  version: '0'
45
45
  requirements: []
46
46
  rubyforge_project:
47
- rubygems_version: 1.8.24
47
+ rubygems_version: 1.8.23
48
48
  signing_key:
49
49
  specification_version: 3
50
50
  summary: rspec-kickstarter supports you writing tests for existing code.