table-for 3.0.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,9 @@
1
+ 3.1.0
2
+ * Since templating was moved from blocks into its own gem with_template, TableFor::Base now extends WithTemplate::Base instead of Blocks::Base.
3
+
4
+ 3.0.0
5
+ * TODO
6
+
1
7
  2.2.0 (August 16, 2013)
2
8
  * Upgraded to blocks 2.2.0 and modified calls to evaluated_proc and evaluated_procs to call_if_proc and call_each_hash_value_if_proc
3
9
 
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  source "http://rubygems.org"
2
2
 
3
3
  gem 'rails', ">= 3.0.0"
4
- gem 'blocks', "~> 2.3.0"
4
+ gem 'with_template', "~> 0.0.1"
5
5
 
6
6
  group :development do
7
7
  gem "rspec-rails", ">= 2.0.0.beta.20"
@@ -29,7 +29,7 @@ GEM
29
29
  i18n (= 0.6.1)
30
30
  multi_json (~> 1.0)
31
31
  arel (3.0.2)
32
- blocks (2.3.0)
32
+ blocks (2.4.0)
33
33
  call_with_params
34
34
  rails (>= 3.0.0)
35
35
  builder (3.0.4)
@@ -121,13 +121,15 @@ GEM
121
121
  with_model (0.2.6)
122
122
  activerecord (>= 2.3.5, < 4.0.0)
123
123
  rspec (< 3)
124
+ with_template (0.0.1)
125
+ blocks (~> 2.4.0)
126
+ rails (>= 3.0.0)
124
127
  xml-simple (1.1.1)
125
128
 
126
129
  PLATFORMS
127
130
  ruby
128
131
 
129
132
  DEPENDENCIES
130
- blocks (~> 2.3.0)
131
133
  bundler (~> 1.3.5)
132
134
  debugger
133
135
  jeweler (~> 1.8.4)
@@ -137,4 +139,5 @@ DEPENDENCIES
137
139
  sqlite3
138
140
  supermodel (= 0.1.4)
139
141
  with_model (= 0.2.6)
142
+ with_template (~> 0.0.1)
140
143
  xml-simple (= 1.1.1)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.0
1
+ 3.1.0
@@ -1,7 +1,7 @@
1
1
  require 'blocks'
2
2
 
3
3
  module TableFor
4
- class Base < Blocks::Base
4
+ class Base < WithTemplate::Base
5
5
  include TableFor::HelperMethods::InstanceMethods
6
6
 
7
7
  alias columns queued_blocks
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "table-for"
8
- s.version = "3.0.0"
8
+ s.version = "3.1.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andrew Hunter"]
12
- s.date = "2013-08-28"
12
+ s.date = "2013-09-05"
13
13
  s.description = "table-for is a table builder for an array of objects, easily allowing overriding of how any aspect of the table is generated"
14
14
  s.email = "hunterae@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -52,7 +52,7 @@ Gem::Specification.new do |s|
52
52
 
53
53
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
54
54
  s.add_runtime_dependency(%q<rails>, [">= 3.0.0"])
55
- s.add_runtime_dependency(%q<blocks>, ["~> 2.3.0"])
55
+ s.add_runtime_dependency(%q<with_template>, ["~> 0.0.1"])
56
56
  s.add_development_dependency(%q<rspec-rails>, [">= 2.0.0.beta.20"])
57
57
  s.add_development_dependency(%q<mocha>, ["= 0.10.3"])
58
58
  s.add_development_dependency(%q<xml-simple>, ["= 1.1.1"])
@@ -64,7 +64,7 @@ Gem::Specification.new do |s|
64
64
  s.add_development_dependency(%q<debugger>, [">= 0"])
65
65
  else
66
66
  s.add_dependency(%q<rails>, [">= 3.0.0"])
67
- s.add_dependency(%q<blocks>, ["~> 2.3.0"])
67
+ s.add_dependency(%q<with_template>, ["~> 0.0.1"])
68
68
  s.add_dependency(%q<rspec-rails>, [">= 2.0.0.beta.20"])
69
69
  s.add_dependency(%q<mocha>, ["= 0.10.3"])
70
70
  s.add_dependency(%q<xml-simple>, ["= 1.1.1"])
@@ -77,7 +77,7 @@ Gem::Specification.new do |s|
77
77
  end
78
78
  else
79
79
  s.add_dependency(%q<rails>, [">= 3.0.0"])
80
- s.add_dependency(%q<blocks>, ["~> 2.3.0"])
80
+ s.add_dependency(%q<with_template>, ["~> 0.0.1"])
81
81
  s.add_dependency(%q<rspec-rails>, [">= 2.0.0.beta.20"])
82
82
  s.add_dependency(%q<mocha>, ["= 0.10.3"])
83
83
  s.add_dependency(%q<xml-simple>, ["= 1.1.1"])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: table-for
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.1.0
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-08-28 00:00:00.000000000 Z
12
+ date: 2013-09-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -28,13 +28,13 @@ dependencies:
28
28
  - !ruby/object:Gem::Version
29
29
  version: 3.0.0
30
30
  - !ruby/object:Gem::Dependency
31
- name: blocks
31
+ name: with_template
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  none: false
34
34
  requirements:
35
35
  - - ~>
36
36
  - !ruby/object:Gem::Version
37
- version: 2.3.0
37
+ version: 0.0.1
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - ~>
44
44
  - !ruby/object:Gem::Version
45
- version: 2.3.0
45
+ version: 0.0.1
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: rspec-rails
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -234,7 +234,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
234
234
  version: '0'
235
235
  segments:
236
236
  - 0
237
- hash: 2331322861691522510
237
+ hash: -388870796364861186
238
238
  required_rubygems_version: !ruby/object:Gem::Requirement
239
239
  none: false
240
240
  requirements: