table-for 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Rakefile +5 -42
  2. data/VERSION +1 -1
  3. metadata +11 -38
  4. data/Gemfile +0 -8
data/Rakefile CHANGED
@@ -1,46 +1,9 @@
1
- begin
2
- # Rspec 1.3.0
3
- require 'spec/rake/spectask'
4
-
5
- desc 'Default: run specs'
6
- task :default => :spec
7
- Spec::Rake::SpecTask.new do |t|
8
- t.spec_files = FileList["spec/**/*_spec.rb"]
9
- end
1
+ require 'rspec/core/rake_task'
10
2
 
11
- Spec::Rake::SpecTask.new('rcov') do |t|
12
- t.spec_files = FileList["spec/**/*_spec.rb"]
13
- t.rcov = true
14
- t.rcov_opts = ['--exclude', 'spec']
15
- end
16
-
17
- rescue LoadError
18
- # Rspec 2.0
19
- require 'rspec/core/rake_task'
3
+ RSpec::Core::RakeTask.new('spec')
20
4
 
21
- desc 'Default: run specs'
22
- task :default => :spec
23
- Rspec::Core::RakeTask.new do |t|
24
- t.pattern = "spec/**/*_spec.rb"
25
- end
26
-
27
- Rspec::Core::RakeTask.new('rcov') do |t|
28
- t.pattern = "spec/**/*_spec.rb"
29
- t.rcov = true
30
- t.rcov_opts = ['--exclude', 'spec']
31
- end
32
-
33
- rescue LoadError
34
- puts "Rspec not available. Install it with: gem install rspec"
35
- end
36
-
37
- namespace 'rails2.3' do
38
- task :spec do
39
- gemfile = File.join(File.dirname(__FILE__), 'lib', 'has_relationship', 'compatibility', 'Gemfile')
40
- ENV['BUNDLE_GEMFILE'] = gemfile
41
- Rake::Task['spec'].invoke
42
- end
43
- end
5
+ # If you want to make this the default task
6
+ task :default => :spec
44
7
 
45
8
  begin
46
9
  require 'jeweler'
@@ -51,7 +14,7 @@ begin
51
14
  gemspec.email = "hunterae@gmail.com"
52
15
  gemspec.homepage = "http://github.com/hunterae/table-for"
53
16
  gemspec.authors = ["Andrew Hunter"]
54
- gemspec.files = FileList["[A-Z]*", "{lib,spec,app,rails}/**/*"] - FileList["**/*.log"]
17
+ gemspec.files = FileList["[A-Z]*", "{lib,spec,app,rails}/**/*"] - FileList["**/*.log", "Gemfile", "Gemfile.lock"]
55
18
  end
56
19
  Jeweler::GemcutterTasks.new
57
20
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.11
1
+ 0.0.12
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: table-for
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 7
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 11
10
- version: 0.0.11
9
+ - 12
10
+ version: 0.0.12
11
11
  platform: ruby
12
12
  authors:
13
13
  - Andrew Hunter
@@ -21,7 +21,7 @@ dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  prerelease: false
23
23
  type: :runtime
24
- name: rails
24
+ name: table-for
25
25
  version_requirements: &id001 !ruby/object:Gem::Requirement
26
26
  none: false
27
27
  requirements:
@@ -35,21 +35,23 @@ dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  prerelease: false
37
37
  type: :runtime
38
- name: rspec
38
+ name: rails
39
39
  version_requirements: &id002 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
- - - ">="
42
+ - - ~>
43
43
  - !ruby/object:Gem::Version
44
- hash: 3
44
+ hash: 7
45
45
  segments:
46
+ - 3
46
47
  - 0
47
- version: "0"
48
+ - 0
49
+ version: 3.0.0
48
50
  requirement: *id002
49
51
  - !ruby/object:Gem::Dependency
50
52
  prerelease: false
51
53
  type: :runtime
52
- name: jeweler
54
+ name: building-blocks
53
55
  version_requirements: &id003 !ruby/object:Gem::Requirement
54
56
  none: false
55
57
  requirements:
@@ -60,34 +62,6 @@ dependencies:
60
62
  - 0
61
63
  version: "0"
62
64
  requirement: *id003
63
- - !ruby/object:Gem::Dependency
64
- prerelease: false
65
- type: :runtime
66
- name: rcov
67
- version_requirements: &id004 !ruby/object:Gem::Requirement
68
- none: false
69
- requirements:
70
- - - ">="
71
- - !ruby/object:Gem::Version
72
- hash: 3
73
- segments:
74
- - 0
75
- version: "0"
76
- requirement: *id004
77
- - !ruby/object:Gem::Dependency
78
- prerelease: false
79
- type: :runtime
80
- name: building-blocks
81
- version_requirements: &id005 !ruby/object:Gem::Requirement
82
- none: false
83
- requirements:
84
- - - ">="
85
- - !ruby/object:Gem::Version
86
- hash: 3
87
- segments:
88
- - 0
89
- version: "0"
90
- requirement: *id005
91
65
  description: ""
92
66
  email: hunterae@gmail.com
93
67
  executables: []
@@ -97,7 +71,6 @@ extensions: []
97
71
  extra_rdoc_files:
98
72
  - README.rdoc
99
73
  files:
100
- - Gemfile
101
74
  - README.rdoc
102
75
  - Rakefile
103
76
  - VERSION
data/Gemfile DELETED
@@ -1,8 +0,0 @@
1
- source :rubygems
2
-
3
- # Rails 3.0
4
- gem 'rails'
5
- gem 'rspec'
6
- gem 'jeweler'
7
- gem 'rcov'
8
- gem 'building-blocks'