migration-spec 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -7,10 +7,12 @@ begin
7
7
  gem.email = "kmandrup@gmail.com"
8
8
  gem.homepage = "http://github.com/kristianmandrup/migration-spec"
9
9
  gem.authors = ["Kristian Mandrup"]
10
- gem.add_dependency "rspec", ">= 2.0.0.beta.19"
11
- gem.add_dependency "require_all", ">= 1.1.0"
12
- gem.add_dependency 'rails3_assist', ">= 0.2.2"
13
- gem.add_dependency 'rails-app-spec', ">= 0.2.2"
10
+ gem.add_development_dependency "rspec", "~> 2.0.0.beta.22"
11
+
12
+ gem.add_dependency "rspec", "~> 2.0.0.beta.22"
13
+ gem.add_dependency "require_all", "~> 1.2.0"
14
+ gem.add_dependency 'rails3_assist', "~> 0.2.10"
15
+ gem.add_dependency 'rails-app-spec', "~> 0.2.14"
14
16
 
15
17
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
16
18
  end
@@ -19,28 +21,3 @@ rescue LoadError
19
21
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
20
22
  end
21
23
 
22
- # require 'spec/rake/spectask'
23
- # Spec::Rake::SpecTask.new(:spec) do |spec|
24
- # spec.libs << 'lib' << 'spec'
25
- # spec.spec_files = FileList['spec/**/*_spec.rb']
26
- # end
27
- #
28
- # Spec::Rake::SpecTask.new(:rcov) do |spec|
29
- # spec.libs << 'lib' << 'spec'
30
- # spec.pattern = 'spec/**/*_spec.rb'
31
- # spec.rcov = true
32
- # end
33
- #
34
- # task :spec => :check_dependencies
35
- #
36
- # task :default => :spec
37
- #
38
- # require 'rake/rdoctask'
39
- # Rake::RDocTask.new do |rdoc|
40
- # version = File.exist?('VERSION') ? File.read('VERSION') : ""
41
- #
42
- # rdoc.rdoc_dir = 'rdoc'
43
- # rdoc.title = "migration-spec #{version}"
44
- # rdoc.rdoc_files.include('README*')
45
- # rdoc.rdoc_files.include('lib/**/*.rb')
46
- # end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -1,4 +1,4 @@
1
- require 'rspec'
1
+ require 'rspec/core'
2
2
  require 'require_all'
3
3
  require 'rails-app-spec'
4
4
  require 'active_support/inflector'
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{migration-spec}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kristian Mandrup"]
12
- s.date = %q{2010-09-11}
12
+ s.date = %q{2010-09-25}
13
13
  s.description = %q{Migration RSpec 2 matchers to spec migration files, fx as generated by a Thor generator}
14
14
  s.email = %q{kmandrup@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -71,21 +71,24 @@ Gem::Specification.new do |s|
71
71
  s.specification_version = 3
72
72
 
73
73
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
74
- s.add_runtime_dependency(%q<rspec>, [">= 2.0.0.beta.19"])
75
- s.add_runtime_dependency(%q<require_all>, [">= 1.1.0"])
76
- s.add_runtime_dependency(%q<rails3_assist>, [">= 0.2.2"])
77
- s.add_runtime_dependency(%q<rails-app-spec>, [">= 0.2.2"])
74
+ s.add_development_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
75
+ s.add_runtime_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
76
+ s.add_runtime_dependency(%q<require_all>, ["~> 1.2.0"])
77
+ s.add_runtime_dependency(%q<rails3_assist>, ["~> 0.2.10"])
78
+ s.add_runtime_dependency(%q<rails-app-spec>, ["~> 0.2.14"])
78
79
  else
79
- s.add_dependency(%q<rspec>, [">= 2.0.0.beta.19"])
80
- s.add_dependency(%q<require_all>, [">= 1.1.0"])
81
- s.add_dependency(%q<rails3_assist>, [">= 0.2.2"])
82
- s.add_dependency(%q<rails-app-spec>, [">= 0.2.2"])
80
+ s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
81
+ s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
82
+ s.add_dependency(%q<require_all>, ["~> 1.2.0"])
83
+ s.add_dependency(%q<rails3_assist>, ["~> 0.2.10"])
84
+ s.add_dependency(%q<rails-app-spec>, ["~> 0.2.14"])
83
85
  end
84
86
  else
85
- s.add_dependency(%q<rspec>, [">= 2.0.0.beta.19"])
86
- s.add_dependency(%q<require_all>, [">= 1.1.0"])
87
- s.add_dependency(%q<rails3_assist>, [">= 0.2.2"])
88
- s.add_dependency(%q<rails-app-spec>, [">= 0.2.2"])
87
+ s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
88
+ s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
89
+ s.add_dependency(%q<require_all>, ["~> 1.2.0"])
90
+ s.add_dependency(%q<rails3_assist>, ["~> 0.2.10"])
91
+ s.add_dependency(%q<rails-app-spec>, ["~> 0.2.14"])
89
92
  end
90
93
  end
91
94
 
data/spec/spec_helper.rb CHANGED
@@ -1,5 +1,4 @@
1
- require 'rspec'
2
- require 'rspec/autorun'
1
+ require 'rspec/core'
3
2
  require 'migration-spec'
4
3
 
5
4
  # RSpec::Generator.configure do |config|
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Kristian Mandrup
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-09-11 00:00:00 +02:00
17
+ date: 2010-09-25 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -23,62 +23,79 @@ dependencies:
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
24
  none: false
25
25
  requirements:
26
- - - ">="
26
+ - - ~>
27
27
  - !ruby/object:Gem::Version
28
28
  segments:
29
29
  - 2
30
30
  - 0
31
31
  - 0
32
32
  - beta
33
- - 19
34
- version: 2.0.0.beta.19
35
- type: :runtime
33
+ - 22
34
+ version: 2.0.0.beta.22
35
+ type: :development
36
36
  version_requirements: *id001
37
37
  - !ruby/object:Gem::Dependency
38
- name: require_all
38
+ name: rspec
39
39
  prerelease: false
40
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ">="
43
+ - - ~>
44
44
  - !ruby/object:Gem::Version
45
45
  segments:
46
- - 1
47
- - 1
46
+ - 2
47
+ - 0
48
48
  - 0
49
- version: 1.1.0
49
+ - beta
50
+ - 22
51
+ version: 2.0.0.beta.22
50
52
  type: :runtime
51
53
  version_requirements: *id002
52
54
  - !ruby/object:Gem::Dependency
53
- name: rails3_assist
55
+ name: require_all
54
56
  prerelease: false
55
57
  requirement: &id003 !ruby/object:Gem::Requirement
56
58
  none: false
57
59
  requirements:
58
- - - ">="
60
+ - - ~>
59
61
  - !ruby/object:Gem::Version
60
62
  segments:
61
- - 0
62
- - 2
63
+ - 1
63
64
  - 2
64
- version: 0.2.2
65
+ - 0
66
+ version: 1.2.0
65
67
  type: :runtime
66
68
  version_requirements: *id003
67
69
  - !ruby/object:Gem::Dependency
68
- name: rails-app-spec
70
+ name: rails3_assist
69
71
  prerelease: false
70
72
  requirement: &id004 !ruby/object:Gem::Requirement
71
73
  none: false
72
74
  requirements:
73
- - - ">="
75
+ - - ~>
74
76
  - !ruby/object:Gem::Version
75
77
  segments:
76
78
  - 0
77
79
  - 2
78
- - 2
79
- version: 0.2.2
80
+ - 10
81
+ version: 0.2.10
80
82
  type: :runtime
81
83
  version_requirements: *id004
84
+ - !ruby/object:Gem::Dependency
85
+ name: rails-app-spec
86
+ prerelease: false
87
+ requirement: &id005 !ruby/object:Gem::Requirement
88
+ none: false
89
+ requirements:
90
+ - - ~>
91
+ - !ruby/object:Gem::Version
92
+ segments:
93
+ - 0
94
+ - 2
95
+ - 14
96
+ version: 0.2.14
97
+ type: :runtime
98
+ version_requirements: *id005
82
99
  description: Migration RSpec 2 matchers to spec migration files, fx as generated by a Thor generator
83
100
  email: kmandrup@gmail.com
84
101
  executables: []