should_clean 0.0.1 → 0.0.2

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.
data/README.md CHANGED
@@ -1,24 +1,26 @@
1
1
  # ShouldClean
2
2
 
3
- TODO: Write a gem description
3
+ Clean "should" from test libraries. Example:
4
4
 
5
- ## Installation
5
+ it "should do something"
6
6
 
7
- Add this line to your application's Gemfile:
7
+ is replaced with:
8
8
 
9
- gem 'should_clean'
9
+ it "does something"
10
10
 
11
- And then execute:
11
+ ## Installation
12
12
 
13
- $ bundle
13
+ gem install should_clean
14
14
 
15
- Or install it yourself as:
15
+ ## Usage
16
16
 
17
- $ gem install should_clean
17
+ Search and replace in a directory:
18
18
 
19
- ## Usage
19
+ should_clean -d DIRECTORY
20
+
21
+ Run in simulator mode (it just prints the changes to the screen)
20
22
 
21
- TODO: Write usage instructions here
23
+ should_clean -d DIRECTORY -s
22
24
 
23
25
  ## Contributing
24
26
 
@@ -1,3 +1,3 @@
1
1
  module ShouldClean
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/should_clean.gemspec CHANGED
@@ -4,8 +4,8 @@ require File.expand_path('../lib/should_clean/version', __FILE__)
4
4
  Gem::Specification.new do |gem|
5
5
  gem.authors = ["Sachin Ranchod", "Dalibor Nasevic"]
6
6
  gem.email = ["sachin.ranchod@gmail.com", "dalibor.nasevic@gmail.com"]
7
- gem.description = %q{Clean should from test libraries}
8
- gem.summary = %q{It changes "it should do" to "it does"}
7
+ gem.description = %q{Utility to remove unneeded shoulds from your RSpec test descriptions - 'it "should do something"' becomes 'it "does something"'}
8
+ gem.summary = %q{It changes "it should do" to "it does" in your RSpec files}
9
9
  gem.homepage = ""
10
10
 
11
11
  gem.files = `git ls-files`.split($\)
metadata CHANGED
@@ -1,42 +1,46 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: should_clean
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.1
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 2
9
+ version: 0.0.2
6
10
  platform: ruby
7
- authors:
11
+ authors:
8
12
  - Sachin Ranchod
9
13
  - Dalibor Nasevic
10
14
  autorequire:
11
15
  bindir: bin
12
16
  cert_chain: []
13
- date: 2012-09-04 00:00:00.000000000 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2012-09-06 00:00:00 +02:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
16
22
  name: rspec
17
- requirement: !ruby/object:Gem::Requirement
18
- none: false
19
- requirements:
20
- - - ! '>='
21
- - !ruby/object:Gem::Version
22
- version: '0'
23
- type: :development
24
23
  prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
- requirements:
28
- - - ! '>='
29
- - !ruby/object:Gem::Version
30
- version: '0'
31
- description: Clean should from test libraries
32
- email:
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 0
30
+ version: "0"
31
+ type: :development
32
+ version_requirements: *id001
33
+ description: Utility to remove unneeded shoulds from your RSpec test descriptions - 'it "should do something"' becomes 'it "does something"'
34
+ email:
33
35
  - sachin.ranchod@gmail.com
34
36
  - dalibor.nasevic@gmail.com
35
- executables:
37
+ executables:
36
38
  - should_clean
37
39
  extensions: []
40
+
38
41
  extra_rdoc_files: []
39
- files:
42
+
43
+ files:
40
44
  - .gitignore
41
45
  - .rspec
42
46
  - Gemfile
@@ -68,31 +72,37 @@ files:
68
72
  - spec/should_clean/simulator_spec.rb
69
73
  - spec/should_clean_spec.rb
70
74
  - spec/spec_helper.rb
71
- homepage: ''
75
+ has_rdoc: true
76
+ homepage: ""
72
77
  licenses: []
78
+
73
79
  post_install_message:
74
80
  rdoc_options: []
75
- require_paths:
81
+
82
+ require_paths:
76
83
  - lib
77
- required_ruby_version: !ruby/object:Gem::Requirement
78
- none: false
79
- requirements:
80
- - - ! '>='
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- required_rubygems_version: !ruby/object:Gem::Requirement
84
- none: false
85
- requirements:
86
- - - ! '>='
87
- - !ruby/object:Gem::Version
88
- version: '0'
84
+ required_ruby_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ segments:
89
+ - 0
90
+ version: "0"
91
+ required_rubygems_version: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ segments:
96
+ - 0
97
+ version: "0"
89
98
  requirements: []
99
+
90
100
  rubyforge_project:
91
- rubygems_version: 1.8.23
101
+ rubygems_version: 1.3.6
92
102
  signing_key:
93
103
  specification_version: 3
94
- summary: It changes "it should do" to "it does"
95
- test_files:
104
+ summary: It changes "it should do" to "it does" in your RSpec files
105
+ test_files:
96
106
  - spec/fixtures/broken_spec.txt
97
107
  - spec/fixtures/example_correct_spec.txt
98
108
  - spec/fixtures/example_spec.txt