code-spec 0.2.9 → 0.2.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Rakefile +5 -3
  2. data/VERSION +1 -1
  3. data/code-spec.gemspec +78 -81
  4. metadata +55 -86
  5. data/.gitignore +0 -21
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ require 'psych'
2
+
1
3
  begin
2
4
  require 'jeweler'
3
5
  Jeweler::Tasks.new do |gem|
@@ -7,10 +9,10 @@ begin
7
9
  gem.email = "kmandrup@gmail.com"
8
10
  gem.homepage = "http://github.com/kristianmandrup/code-spec"
9
11
  gem.authors = ["Kristian Mandrup"]
10
- gem.add_development_dependency "rspec", ">= 2.0.0"
12
+ gem.add_development_dependency "rspec", ">= 2.4.1"
11
13
  gem.add_dependency "require_all", "~> 1.2.0"
12
- gem.add_dependency "sugar-high", "~> 0.3.0"
13
- gem.add_dependency "activesupport", ">= 3.0"
14
+ gem.add_dependency "sugar-high", ">= 0.4.0"
15
+ gem.add_dependency "activesupport", ">= 3.0.4"
14
16
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
15
17
  end
16
18
  Jeweler::GemcutterTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.9
1
+ 0.2.11
data/code-spec.gemspec CHANGED
@@ -1,116 +1,113 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{code-spec}
8
- s.version = "0.2.9"
8
+ s.version = "0.2.11"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Kristian Mandrup"]
12
- s.date = %q{2010-10-22}
11
+ s.authors = [%q{Kristian Mandrup}]
12
+ s.date = %q{2011-05-19}
13
13
  s.description = %q{Code file RSpec 2 matchers that make it easy to spec Ruby code files, fx updated or generated by a Thor generator}
14
14
  s.email = %q{kmandrup@gmail.com}
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE",
17
- "README.markdown"
17
+ "README.markdown"
18
18
  ]
19
19
  s.files = [
20
20
  ".document",
21
- ".gitignore",
22
- ".rspec",
23
- "LICENSE",
24
- "README.markdown",
25
- "Rakefile",
26
- "VERSION",
27
- "code-spec.gemspec",
28
- "lib/code-spec.rb",
29
- "lib/code_spec/content_helpers.rb",
30
- "lib/code_spec/core_ext.rb",
31
- "lib/code_spec/matchers/content_matcher.rb",
32
- "lib/code_spec/matchers/have_block.rb",
33
- "lib/code_spec/matchers/have_call.rb",
34
- "lib/code_spec/matchers/have_calls.rb",
35
- "lib/code_spec/matchers/have_class_module.rb",
36
- "lib/code_spec/matchers/have_class_self.rb",
37
- "lib/code_spec/matchers/have_comment.rb",
38
- "lib/code_spec/matchers/have_content.rb",
39
- "lib/code_spec/matchers/have_method.rb",
40
- "lib/code_spec/matchers/have_region.rb",
41
- "lib/code_spec/matchers/have_subclass.rb",
42
- "lib/code_spec/matchers/include_module.rb",
43
- "lib/code_spec/matchers/inherit_from.rb",
44
- "lib/code_spec/matchers/match_lines.rb",
45
- "lib/code_spec/matchers/multi/have_classes_modules.rb",
46
- "lib/code_spec/matchers/multi/have_methods.rb",
47
- "lib/code_spec/matchers/multi/have_subclasses.rb",
48
- "spec/code-spec/fixtures/logfile.log",
49
- "spec/code-spec/matchers/class_self_spec.rb",
50
- "spec/code-spec/matchers/have_block_spec.rb",
51
- "spec/code-spec/matchers/have_call_args.rb",
52
- "spec/code-spec/matchers/have_call_spec.rb",
53
- "spec/code-spec/matchers/have_calls_spec.rb",
54
- "spec/code-spec/matchers/have_class_spec.rb",
55
- "spec/code-spec/matchers/have_method_spec.rb",
56
- "spec/code-spec/matchers/have_module_spec.rb",
57
- "spec/code-spec/matchers/have_region_spec.rb",
58
- "spec/code-spec/matchers/have_subclass_spec.rb",
59
- "spec/code-spec/matchers/include_module_spec.rb",
60
- "spec/code-spec/matchers/inherit_from_spec.rb",
61
- "spec/code-spec/matchers/match_content_spec.rb",
62
- "spec/code-spec/matchers/multi/have_classes_spec.rb",
63
- "spec/code-spec/matchers/multi/have_methods_spec.rb",
64
- "spec/code-spec/matchers/multi/have_modules_spec.rb",
65
- "spec/code-spec/matchers/multi/have_subclasses_spec.rb",
66
- "spec/spec_helper.rb"
21
+ ".rspec",
22
+ "LICENSE",
23
+ "README.markdown",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "code-spec.gemspec",
27
+ "lib/code-spec.rb",
28
+ "lib/code_spec/content_helpers.rb",
29
+ "lib/code_spec/core_ext.rb",
30
+ "lib/code_spec/matchers/content_matcher.rb",
31
+ "lib/code_spec/matchers/have_block.rb",
32
+ "lib/code_spec/matchers/have_call.rb",
33
+ "lib/code_spec/matchers/have_calls.rb",
34
+ "lib/code_spec/matchers/have_class_module.rb",
35
+ "lib/code_spec/matchers/have_class_self.rb",
36
+ "lib/code_spec/matchers/have_comment.rb",
37
+ "lib/code_spec/matchers/have_content.rb",
38
+ "lib/code_spec/matchers/have_method.rb",
39
+ "lib/code_spec/matchers/have_region.rb",
40
+ "lib/code_spec/matchers/have_subclass.rb",
41
+ "lib/code_spec/matchers/include_module.rb",
42
+ "lib/code_spec/matchers/inherit_from.rb",
43
+ "lib/code_spec/matchers/match_lines.rb",
44
+ "lib/code_spec/matchers/multi/have_classes_modules.rb",
45
+ "lib/code_spec/matchers/multi/have_methods.rb",
46
+ "lib/code_spec/matchers/multi/have_subclasses.rb",
47
+ "spec/code-spec/fixtures/logfile.log",
48
+ "spec/code-spec/matchers/class_self_spec.rb",
49
+ "spec/code-spec/matchers/have_block_spec.rb",
50
+ "spec/code-spec/matchers/have_call_args.rb",
51
+ "spec/code-spec/matchers/have_call_spec.rb",
52
+ "spec/code-spec/matchers/have_calls_spec.rb",
53
+ "spec/code-spec/matchers/have_class_spec.rb",
54
+ "spec/code-spec/matchers/have_method_spec.rb",
55
+ "spec/code-spec/matchers/have_module_spec.rb",
56
+ "spec/code-spec/matchers/have_region_spec.rb",
57
+ "spec/code-spec/matchers/have_subclass_spec.rb",
58
+ "spec/code-spec/matchers/include_module_spec.rb",
59
+ "spec/code-spec/matchers/inherit_from_spec.rb",
60
+ "spec/code-spec/matchers/match_content_spec.rb",
61
+ "spec/code-spec/matchers/multi/have_classes_spec.rb",
62
+ "spec/code-spec/matchers/multi/have_methods_spec.rb",
63
+ "spec/code-spec/matchers/multi/have_modules_spec.rb",
64
+ "spec/code-spec/matchers/multi/have_subclasses_spec.rb",
65
+ "spec/spec_helper.rb"
67
66
  ]
68
67
  s.homepage = %q{http://github.com/kristianmandrup/code-spec}
69
- s.rdoc_options = ["--charset=UTF-8"]
70
- s.require_paths = ["lib"]
71
- s.rubygems_version = %q{1.3.7}
68
+ s.require_paths = [%q{lib}]
69
+ s.rubygems_version = %q{1.8.0}
72
70
  s.summary = %q{Code file RSpec 2 matchers}
73
71
  s.test_files = [
74
72
  "spec/code-spec/matchers/class_self_spec.rb",
75
- "spec/code-spec/matchers/have_block_spec.rb",
76
- "spec/code-spec/matchers/have_call_args.rb",
77
- "spec/code-spec/matchers/have_call_spec.rb",
78
- "spec/code-spec/matchers/have_calls_spec.rb",
79
- "spec/code-spec/matchers/have_class_spec.rb",
80
- "spec/code-spec/matchers/have_method_spec.rb",
81
- "spec/code-spec/matchers/have_module_spec.rb",
82
- "spec/code-spec/matchers/have_region_spec.rb",
83
- "spec/code-spec/matchers/have_subclass_spec.rb",
84
- "spec/code-spec/matchers/include_module_spec.rb",
85
- "spec/code-spec/matchers/inherit_from_spec.rb",
86
- "spec/code-spec/matchers/match_content_spec.rb",
87
- "spec/code-spec/matchers/multi/have_classes_spec.rb",
88
- "spec/code-spec/matchers/multi/have_methods_spec.rb",
89
- "spec/code-spec/matchers/multi/have_modules_spec.rb",
90
- "spec/code-spec/matchers/multi/have_subclasses_spec.rb",
91
- "spec/spec_helper.rb"
73
+ "spec/code-spec/matchers/have_block_spec.rb",
74
+ "spec/code-spec/matchers/have_call_args.rb",
75
+ "spec/code-spec/matchers/have_call_spec.rb",
76
+ "spec/code-spec/matchers/have_calls_spec.rb",
77
+ "spec/code-spec/matchers/have_class_spec.rb",
78
+ "spec/code-spec/matchers/have_method_spec.rb",
79
+ "spec/code-spec/matchers/have_module_spec.rb",
80
+ "spec/code-spec/matchers/have_region_spec.rb",
81
+ "spec/code-spec/matchers/have_subclass_spec.rb",
82
+ "spec/code-spec/matchers/include_module_spec.rb",
83
+ "spec/code-spec/matchers/inherit_from_spec.rb",
84
+ "spec/code-spec/matchers/match_content_spec.rb",
85
+ "spec/code-spec/matchers/multi/have_classes_spec.rb",
86
+ "spec/code-spec/matchers/multi/have_methods_spec.rb",
87
+ "spec/code-spec/matchers/multi/have_modules_spec.rb",
88
+ "spec/code-spec/matchers/multi/have_subclasses_spec.rb",
89
+ "spec/spec_helper.rb"
92
90
  ]
93
91
 
94
92
  if s.respond_to? :specification_version then
95
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
96
93
  s.specification_version = 3
97
94
 
98
95
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
99
- s.add_development_dependency(%q<rspec>, [">= 2.0.0"])
96
+ s.add_development_dependency(%q<rspec>, [">= 2.4.1"])
100
97
  s.add_runtime_dependency(%q<require_all>, ["~> 1.2.0"])
101
- s.add_runtime_dependency(%q<sugar-high>, ["~> 0.3.0"])
102
- s.add_runtime_dependency(%q<activesupport>, [">= 3.0"])
98
+ s.add_runtime_dependency(%q<sugar-high>, [">= 0.4.0"])
99
+ s.add_runtime_dependency(%q<activesupport>, [">= 3.0.4"])
103
100
  else
104
- s.add_dependency(%q<rspec>, [">= 2.0.0"])
101
+ s.add_dependency(%q<rspec>, [">= 2.4.1"])
105
102
  s.add_dependency(%q<require_all>, ["~> 1.2.0"])
106
- s.add_dependency(%q<sugar-high>, ["~> 0.3.0"])
107
- s.add_dependency(%q<activesupport>, [">= 3.0"])
103
+ s.add_dependency(%q<sugar-high>, [">= 0.4.0"])
104
+ s.add_dependency(%q<activesupport>, [">= 3.0.4"])
108
105
  end
109
106
  else
110
- s.add_dependency(%q<rspec>, [">= 2.0.0"])
107
+ s.add_dependency(%q<rspec>, [">= 2.4.1"])
111
108
  s.add_dependency(%q<require_all>, ["~> 1.2.0"])
112
- s.add_dependency(%q<sugar-high>, ["~> 0.3.0"])
113
- s.add_dependency(%q<activesupport>, [">= 3.0"])
109
+ s.add_dependency(%q<sugar-high>, [">= 0.4.0"])
110
+ s.add_dependency(%q<activesupport>, [">= 3.0.4"])
114
111
  end
115
112
  end
116
113
 
metadata CHANGED
@@ -1,93 +1,70 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: code-spec
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 2
8
- - 9
9
- version: 0.2.9
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.11
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Kristian Mandrup
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2010-10-22 00:00:00 +02:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2011-05-19 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: rspec
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &2156500560 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- segments:
29
- - 2
30
- - 0
31
- - 0
32
- version: 2.0.0
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 2.4.1
33
22
  type: :development
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: require_all
37
23
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *2156500560
25
+ - !ruby/object:Gem::Dependency
26
+ name: require_all
27
+ requirement: &2156499540 !ruby/object:Gem::Requirement
39
28
  none: false
40
- requirements:
29
+ requirements:
41
30
  - - ~>
42
- - !ruby/object:Gem::Version
43
- segments:
44
- - 1
45
- - 2
46
- - 0
31
+ - !ruby/object:Gem::Version
47
32
  version: 1.2.0
48
33
  type: :runtime
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
51
- name: sugar-high
52
34
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *2156499540
36
+ - !ruby/object:Gem::Dependency
37
+ name: sugar-high
38
+ requirement: &2156497900 !ruby/object:Gem::Requirement
54
39
  none: false
55
- requirements:
56
- - - ~>
57
- - !ruby/object:Gem::Version
58
- segments:
59
- - 0
60
- - 3
61
- - 0
62
- version: 0.3.0
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: 0.4.0
63
44
  type: :runtime
64
- version_requirements: *id003
65
- - !ruby/object:Gem::Dependency
66
- name: activesupport
67
45
  prerelease: false
68
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *2156497900
47
+ - !ruby/object:Gem::Dependency
48
+ name: activesupport
49
+ requirement: &2156496740 !ruby/object:Gem::Requirement
69
50
  none: false
70
- requirements:
71
- - - ">="
72
- - !ruby/object:Gem::Version
73
- segments:
74
- - 3
75
- - 0
76
- version: "3.0"
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: 3.0.4
77
55
  type: :runtime
78
- version_requirements: *id004
79
- description: Code file RSpec 2 matchers that make it easy to spec Ruby code files, fx updated or generated by a Thor generator
56
+ prerelease: false
57
+ version_requirements: *2156496740
58
+ description: Code file RSpec 2 matchers that make it easy to spec Ruby code files,
59
+ fx updated or generated by a Thor generator
80
60
  email: kmandrup@gmail.com
81
61
  executables: []
82
-
83
62
  extensions: []
84
-
85
- extra_rdoc_files:
63
+ extra_rdoc_files:
86
64
  - LICENSE
87
65
  - README.markdown
88
- files:
66
+ files:
89
67
  - .document
90
- - .gitignore
91
68
  - .rspec
92
69
  - LICENSE
93
70
  - README.markdown
@@ -133,39 +110,31 @@ files:
133
110
  - spec/code-spec/matchers/multi/have_modules_spec.rb
134
111
  - spec/code-spec/matchers/multi/have_subclasses_spec.rb
135
112
  - spec/spec_helper.rb
136
- has_rdoc: true
137
113
  homepage: http://github.com/kristianmandrup/code-spec
138
114
  licenses: []
139
-
140
115
  post_install_message:
141
- rdoc_options:
142
- - --charset=UTF-8
143
- require_paths:
116
+ rdoc_options: []
117
+ require_paths:
144
118
  - lib
145
- required_ruby_version: !ruby/object:Gem::Requirement
119
+ required_ruby_version: !ruby/object:Gem::Requirement
146
120
  none: false
147
- requirements:
148
- - - ">="
149
- - !ruby/object:Gem::Version
150
- segments:
151
- - 0
152
- version: "0"
153
- required_rubygems_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ! '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ required_rubygems_version: !ruby/object:Gem::Requirement
154
126
  none: false
155
- requirements:
156
- - - ">="
157
- - !ruby/object:Gem::Version
158
- segments:
159
- - 0
160
- version: "0"
127
+ requirements:
128
+ - - ! '>='
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
161
131
  requirements: []
162
-
163
132
  rubyforge_project:
164
- rubygems_version: 1.3.7
133
+ rubygems_version: 1.8.0
165
134
  signing_key:
166
135
  specification_version: 3
167
136
  summary: Code file RSpec 2 matchers
168
- test_files:
137
+ test_files:
169
138
  - spec/code-spec/matchers/class_self_spec.rb
170
139
  - spec/code-spec/matchers/have_block_spec.rb
171
140
  - spec/code-spec/matchers/have_call_args.rb
data/.gitignore DELETED
@@ -1,21 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC