table-for 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.rspec +2 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.rdoc +3 -0
- data/Gemfile +15 -0
- data/Gemfile.lock +130 -0
- data/Rakefile +41 -14
- data/VERSION +1 -1
- data/app/views/table_for/_table_for.html.erb +18 -17
- data/lib/table_for/view_additions.rb +13 -3
- data/spec/table_for/view_additions_spec.rb +9 -8
- data/table-for.gemspec +85 -0
- metadata +30 -759
data/.rspec
ADDED
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
table-for
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.9.3
|
data/CHANGELOG.rdoc
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
2.2.0 (August 16, 2013)
|
2
|
+
* 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
|
+
|
1
4
|
2.1.0 (August 15, 2013)
|
2
5
|
* Switched main gem dependency from building-blocks to blocks
|
3
6
|
* Added the ability to configure a default table class in an initializer (for example: TableFor.setup do |config| config.default_table_class = "table striped" end)
|
data/Gemfile
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
|
3
|
+
gem 'rails', ">= 3.0.0"
|
4
|
+
gem 'blocks', "~> 2.2.0"
|
5
|
+
|
6
|
+
group :development do
|
7
|
+
gem "rspec-rails", ">= 2.0.0.beta.20"
|
8
|
+
gem 'mocha', '0.10.3'
|
9
|
+
gem 'xml-simple', '1.1.1'
|
10
|
+
gem 'supermodel', '0.1.4'
|
11
|
+
gem "sqlite3"
|
12
|
+
gem "with_model", '0.2.6'
|
13
|
+
gem "bundler", "~> 1.3.5"
|
14
|
+
gem "jeweler", "~> 1.8.4"
|
15
|
+
end
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,130 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
actionmailer (3.2.13)
|
5
|
+
actionpack (= 3.2.13)
|
6
|
+
mail (~> 2.5.3)
|
7
|
+
actionpack (3.2.13)
|
8
|
+
activemodel (= 3.2.13)
|
9
|
+
activesupport (= 3.2.13)
|
10
|
+
builder (~> 3.0.0)
|
11
|
+
erubis (~> 2.7.0)
|
12
|
+
journey (~> 1.0.4)
|
13
|
+
rack (~> 1.4.5)
|
14
|
+
rack-cache (~> 1.2)
|
15
|
+
rack-test (~> 0.6.1)
|
16
|
+
sprockets (~> 2.2.1)
|
17
|
+
activemodel (3.2.13)
|
18
|
+
activesupport (= 3.2.13)
|
19
|
+
builder (~> 3.0.0)
|
20
|
+
activerecord (3.2.13)
|
21
|
+
activemodel (= 3.2.13)
|
22
|
+
activesupport (= 3.2.13)
|
23
|
+
arel (~> 3.0.2)
|
24
|
+
tzinfo (~> 0.3.29)
|
25
|
+
activeresource (3.2.13)
|
26
|
+
activemodel (= 3.2.13)
|
27
|
+
activesupport (= 3.2.13)
|
28
|
+
activesupport (3.2.13)
|
29
|
+
i18n (= 0.6.1)
|
30
|
+
multi_json (~> 1.0)
|
31
|
+
arel (3.0.2)
|
32
|
+
blocks (2.2.0)
|
33
|
+
blocks
|
34
|
+
rails (>= 3.0.0)
|
35
|
+
builder (3.0.4)
|
36
|
+
diff-lcs (1.2.1)
|
37
|
+
erubis (2.7.0)
|
38
|
+
git (1.2.5)
|
39
|
+
hike (1.2.1)
|
40
|
+
i18n (0.6.1)
|
41
|
+
jeweler (1.8.4)
|
42
|
+
bundler (~> 1.0)
|
43
|
+
git (>= 1.2.5)
|
44
|
+
rake
|
45
|
+
rdoc
|
46
|
+
journey (1.0.4)
|
47
|
+
json (1.7.7)
|
48
|
+
mail (2.5.3)
|
49
|
+
i18n (>= 0.4.0)
|
50
|
+
mime-types (~> 1.16)
|
51
|
+
treetop (~> 1.4.8)
|
52
|
+
metaclass (0.0.1)
|
53
|
+
mime-types (1.21)
|
54
|
+
mocha (0.10.3)
|
55
|
+
metaclass (~> 0.0.1)
|
56
|
+
multi_json (1.7.1)
|
57
|
+
polyglot (0.3.3)
|
58
|
+
rack (1.4.5)
|
59
|
+
rack-cache (1.2)
|
60
|
+
rack (>= 0.4)
|
61
|
+
rack-ssl (1.3.3)
|
62
|
+
rack
|
63
|
+
rack-test (0.6.2)
|
64
|
+
rack (>= 1.0)
|
65
|
+
rails (3.2.13)
|
66
|
+
actionmailer (= 3.2.13)
|
67
|
+
actionpack (= 3.2.13)
|
68
|
+
activerecord (= 3.2.13)
|
69
|
+
activeresource (= 3.2.13)
|
70
|
+
activesupport (= 3.2.13)
|
71
|
+
bundler (~> 1.0)
|
72
|
+
railties (= 3.2.13)
|
73
|
+
railties (3.2.13)
|
74
|
+
actionpack (= 3.2.13)
|
75
|
+
activesupport (= 3.2.13)
|
76
|
+
rack-ssl (~> 1.3.2)
|
77
|
+
rake (>= 0.8.7)
|
78
|
+
rdoc (~> 3.4)
|
79
|
+
thor (>= 0.14.6, < 2.0)
|
80
|
+
rake (10.0.3)
|
81
|
+
rdoc (3.12.2)
|
82
|
+
json (~> 1.4)
|
83
|
+
rspec (2.13.0)
|
84
|
+
rspec-core (~> 2.13.0)
|
85
|
+
rspec-expectations (~> 2.13.0)
|
86
|
+
rspec-mocks (~> 2.13.0)
|
87
|
+
rspec-core (2.13.1)
|
88
|
+
rspec-expectations (2.13.0)
|
89
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
90
|
+
rspec-mocks (2.13.0)
|
91
|
+
rspec-rails (2.13.0)
|
92
|
+
actionpack (>= 3.0)
|
93
|
+
activesupport (>= 3.0)
|
94
|
+
railties (>= 3.0)
|
95
|
+
rspec-core (~> 2.13.0)
|
96
|
+
rspec-expectations (~> 2.13.0)
|
97
|
+
rspec-mocks (~> 2.13.0)
|
98
|
+
sprockets (2.2.2)
|
99
|
+
hike (~> 1.2)
|
100
|
+
multi_json (~> 1.0)
|
101
|
+
rack (~> 1.0)
|
102
|
+
tilt (~> 1.1, != 1.3.0)
|
103
|
+
sqlite3 (1.3.7)
|
104
|
+
supermodel (0.1.4)
|
105
|
+
activemodel (>= 3.0.0.beta)
|
106
|
+
thor (0.17.0)
|
107
|
+
tilt (1.3.6)
|
108
|
+
treetop (1.4.12)
|
109
|
+
polyglot
|
110
|
+
polyglot (>= 0.3.1)
|
111
|
+
tzinfo (0.3.37)
|
112
|
+
with_model (0.2.6)
|
113
|
+
activerecord (>= 2.3.5, < 4.0.0)
|
114
|
+
rspec (< 3)
|
115
|
+
xml-simple (1.1.1)
|
116
|
+
|
117
|
+
PLATFORMS
|
118
|
+
ruby
|
119
|
+
|
120
|
+
DEPENDENCIES
|
121
|
+
blocks (~> 2.2.0)
|
122
|
+
bundler (~> 1.3.5)
|
123
|
+
jeweler (~> 1.8.4)
|
124
|
+
mocha (= 0.10.3)
|
125
|
+
rails (>= 3.0.0)
|
126
|
+
rspec-rails (>= 2.0.0.beta.20)
|
127
|
+
sqlite3
|
128
|
+
supermodel (= 0.1.4)
|
129
|
+
with_model (= 0.2.6)
|
130
|
+
xml-simple (= 1.1.1)
|
data/Rakefile
CHANGED
@@ -5,18 +5,45 @@ RSpec::Core::RakeTask.new('spec')
|
|
5
5
|
# If you want to make this the default task
|
6
6
|
task :default => :spec
|
7
7
|
|
8
|
+
require 'rubygems'
|
9
|
+
require 'bundler'
|
8
10
|
begin
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
11
|
+
Bundler.setup(:default, :development)
|
12
|
+
rescue Bundler::BundlerError => e
|
13
|
+
$stderr.puts e.message
|
14
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
15
|
+
exit e.status_code
|
16
|
+
end
|
17
|
+
require 'rake'
|
18
|
+
|
19
|
+
require 'jeweler'
|
20
|
+
Jeweler::Tasks.new do |gem|
|
21
|
+
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
22
|
+
gem.name = "table-for"
|
23
|
+
gem.homepage = "http://github.com/hunterae/table-for"
|
24
|
+
gem.license = "MIT"
|
25
|
+
gem.summary = "table-for is a table builder for an array of objects, easily allowing overriding of how any aspect of the table is generated"
|
26
|
+
gem.description = "table-for is a table builder for an array of objects, easily allowing overriding of how any aspect of the table is generated"
|
27
|
+
gem.email = "hunterae@gmail.com"
|
28
|
+
gem.authors = ["Andrew Hunter"]
|
29
|
+
# dependencies defined in Gemfile
|
30
|
+
end
|
31
|
+
Jeweler::RubygemsDotOrgTasks.new
|
32
|
+
|
33
|
+
require 'rake/testtask'
|
34
|
+
Rake::TestTask.new(:test) do |test|
|
35
|
+
test.libs << 'lib' << 'test'
|
36
|
+
test.pattern = 'test/**/test_*.rb'
|
37
|
+
test.verbose = true
|
38
|
+
end
|
39
|
+
|
40
|
+
|
41
|
+
require 'rdoc/task'
|
42
|
+
Rake::RDocTask.new do |rdoc|
|
43
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
44
|
+
|
45
|
+
rdoc.rdoc_dir = 'rdoc'
|
46
|
+
rdoc.title = "table-for #{version}"
|
47
|
+
rdoc.rdoc_files.include('README*')
|
48
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
49
|
+
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.2.0
|
@@ -20,23 +20,21 @@
|
|
20
20
|
<% end %>
|
21
21
|
|
22
22
|
<% table.define :header_column do |column, options| %>
|
23
|
-
<%= content_tag :th, table_for_header_html(
|
23
|
+
<%= content_tag :th, table_for_header_html(column, options) do %>
|
24
24
|
<%= table.render "#{column.name}_header", column, column.options %>
|
25
25
|
<% end %>
|
26
26
|
<% end %>
|
27
27
|
|
28
28
|
<%# Define header blocks for the edit, show, and delete columns (i.e. we want those columns to display with a blank header) %>
|
29
|
-
<%
|
30
|
-
<% table.define
|
31
|
-
|
29
|
+
<% [:edit, :show, :delete].each do |action| %>
|
30
|
+
<% table.define "#{action}_header", :label => false, :order => :id do |column, options| %>
|
31
|
+
<%= table_for_header_cell_data(column, options) %>
|
32
|
+
<% end %>
|
33
|
+
<% end %>
|
32
34
|
|
33
35
|
<%# Define a header block for each column, named using that column's name with the word "_header" appended to it %>
|
34
36
|
<% table.define lambda {|column| "#{column.name}_header" }, :collection => table.columns do |column, options| %>
|
35
|
-
|
36
|
-
<%= table_for_sort_link(column, options) %>
|
37
|
-
<% else %>
|
38
|
-
<%= options[:label] ? options[:label] : column.name.to_s.titleize %>
|
39
|
-
<% end %>
|
37
|
+
<%= table_for_header_cell_data(column, options) %>
|
40
38
|
<% end %>
|
41
39
|
|
42
40
|
<% table.define :body do |options| %>
|
@@ -47,32 +45,35 @@
|
|
47
45
|
|
48
46
|
<% table.define :row do |record, options| %>
|
49
47
|
<% table.set_current_record(record) %>
|
50
|
-
<%= content_tag :tr,
|
48
|
+
<%= content_tag :tr, call_each_hash_value_if_proc(options[:row_html], record) do %>
|
51
49
|
<%= table.render :column, record, :collection => table.columns %>
|
52
50
|
<% end %>
|
53
51
|
<% end %>
|
54
52
|
|
55
53
|
<% table.define :column do |column, record, options| %>
|
56
|
-
<%= content_tag :td,
|
54
|
+
<%= content_tag :td, call_each_hash_value_if_proc(options[:column_html], record, column) do %>
|
57
55
|
<%= table.render column.name, record, column, column.options %>
|
58
56
|
<% end %>
|
59
57
|
<% end %>
|
60
58
|
|
61
59
|
<% table.define :edit, :action => :edit, :link_label => "Edit" do |record, column, options| %>
|
62
|
-
<% url = options[:url] ?
|
63
|
-
|
60
|
+
<% url = options[:url] ? call_if_proc(options[:url], record) : [options[:action], options[:scope], record].flatten %>
|
61
|
+
<% link_name = options[:link_field] ? record.send(options[:link_field]) : options[:link_label] %>
|
62
|
+
<%= link_to call_if_proc(link_name, record), url, options[:link_html] %>
|
64
63
|
<% end %>
|
65
64
|
|
66
65
|
<% table.define :show, :action => nil, :link_label => "Show" do |record, column, options| %>
|
67
|
-
<% url = options[:url] ?
|
68
|
-
|
66
|
+
<% url = options[:url] ? call_if_proc(options[:url], record) : [options[:action], options[:scope], record].flatten %>
|
67
|
+
<% link_name = options[:link_field] ? record.send(options[:link_field]) : options[:link_label] %>
|
68
|
+
<%= link_to call_if_proc(link_name, record), url, options[:link_html] %>
|
69
69
|
<% end %>
|
70
70
|
|
71
71
|
<% table.define :delete, :action => nil, :link_html => {}, :link_label => "Delete" do |record, column, options| %>
|
72
|
-
<% url = options[:url] ?
|
72
|
+
<% url = options[:url] ? call_if_proc(options[:url], record) : [options[:action], options[:scope], record].flatten %>
|
73
73
|
<% confirm = options[:confirm] ? options[:confirm] : "Are you sure you want to delete this #{record.class.to_s.titleize}?" %>
|
74
74
|
<% method = options[:method] ? options[:method] : "delete" %>
|
75
|
-
|
75
|
+
<% link_name = options[:link_field] ? record.send(options[:link_field]) : options[:link_label] %>
|
76
|
+
<%= link_to call_if_proc(link_name, record), url, {:method => method, :confirm => confirm}.merge(options[:link_html]) %>
|
76
77
|
<% end %>
|
77
78
|
|
78
79
|
<%# Define a block for each column, named using that column's name %>
|
@@ -5,8 +5,8 @@ module TableFor
|
|
5
5
|
TableFor::Base.new(self, options.merge(:variable => "table", :records => records, :use_partials => false)).render_template("table_for/table_for", &block)
|
6
6
|
end
|
7
7
|
|
8
|
-
def table_for_header_html(
|
9
|
-
header_html =
|
8
|
+
def table_for_header_html(column, options={})
|
9
|
+
header_html = call_each_hash_value_if_proc(options[:header_html], column)
|
10
10
|
if options[:sortable]
|
11
11
|
order = options[:order] ? options[:order].to_s : column.name.to_s
|
12
12
|
sort_class = (params[:order] != order || params[:sort_mode] == "reset") ? "sorting" : (params[:sort_mode] == "desc" ? "sorting_desc" : "sorting_asc")
|
@@ -35,10 +35,20 @@ module TableFor
|
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
38
|
+
def table_for_header_cell_data(column, options={})
|
39
|
+
unless options[:label] == false
|
40
|
+
if options[:sortable]
|
41
|
+
table_for_sort_link(column, options)
|
42
|
+
else
|
43
|
+
options[:label] ? options[:label] : column.name.to_s.titleize
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
38
48
|
def table_for_cell_data(record, column, options)
|
39
49
|
if (options[:transformation])
|
40
50
|
if options[:transformation].is_a?(Proc)
|
41
|
-
options[:transformation]
|
51
|
+
call_if_proc(options[:transformation], record, column, options)
|
42
52
|
else
|
43
53
|
record.send(column.name).try(*options[:transformation])
|
44
54
|
end
|
@@ -6,6 +6,7 @@ describe TableFor::ViewAdditions do
|
|
6
6
|
@view = @view_class.new
|
7
7
|
@view_class.send(:include, ActionView::Helpers::TextHelper)
|
8
8
|
@view_class.send(:include, TableFor::ViewAdditions::ClassMethods)
|
9
|
+
@view_class.send(:include, Blocks::ViewAdditions::ClassMethods)
|
9
10
|
@records = [OpenStruct.new(:id => 1)]
|
10
11
|
@column = stub(:name => :my_column)
|
11
12
|
end
|
@@ -43,43 +44,43 @@ describe TableFor::ViewAdditions do
|
|
43
44
|
end
|
44
45
|
|
45
46
|
describe "table_for_header_html method" do
|
46
|
-
it "should return
|
47
|
-
header_html = @view.table_for_header_html(
|
47
|
+
it "should return an empty hash if header_html is not passed in" do
|
48
|
+
header_html = @view.table_for_header_html(@column)
|
48
49
|
header_html.should eql({})
|
49
50
|
end
|
50
51
|
|
51
52
|
it "should evaluate any procs for header_html" do
|
52
|
-
header_html = @view.table_for_header_html(
|
53
|
+
header_html = @view.table_for_header_html(@column, :header_html => {:class => lambda {|column| "#{column.name}_header"}})
|
53
54
|
header_html[:class].should eql "#{@column.name}_header"
|
54
55
|
end
|
55
56
|
|
56
57
|
it "should join the 'sorting' class with any other header_html class provided" do
|
57
58
|
@view.expects(:params).returns({})
|
58
|
-
header_html = @view.table_for_header_html(
|
59
|
+
header_html = @view.table_for_header_html(@column, :header_html => {:class => "c1 c2"}, :sortable => true)
|
59
60
|
header_html[:class].should eql "c1 c2 sorting"
|
60
61
|
end
|
61
62
|
|
62
63
|
it "should add a 'sorting' class to the header_html class if a column is sortable" do
|
63
64
|
@view.expects(:params).returns({})
|
64
|
-
header_html = @view.table_for_header_html(
|
65
|
+
header_html = @view.table_for_header_html(@column, :sortable => true)
|
65
66
|
header_html[:class].should eql "sorting"
|
66
67
|
end
|
67
68
|
|
68
69
|
it "should add a 'sorting_asc' class to the header_html class if a column is sortable and it is already sorted in asc order" do
|
69
70
|
@view.expects(:params).at_least_once.returns(:order => @column.name.to_s, :sort_mode => "asc")
|
70
|
-
header_html = @view.table_for_header_html(
|
71
|
+
header_html = @view.table_for_header_html(@column, :sortable => true)
|
71
72
|
header_html[:class].should eql "sorting_asc"
|
72
73
|
end
|
73
74
|
|
74
75
|
it "should add a 'sorting_desc' class to the header_html class if a column is sortable and it is already sorted in desc order" do
|
75
76
|
@view.expects(:params).at_least_once.returns(:order => @column.name.to_s, :sort_mode => "desc")
|
76
|
-
header_html = @view.table_for_header_html(
|
77
|
+
header_html = @view.table_for_header_html(@column, :sortable => true)
|
77
78
|
header_html[:class].should eql "sorting_desc"
|
78
79
|
end
|
79
80
|
|
80
81
|
it "should add a 'sorting' class to the header_html class if a column is sortable and it is reset mode" do
|
81
82
|
@view.expects(:params).at_least_once.returns(:order => @column.name.to_s, :sort_mode => "reset")
|
82
|
-
header_html = @view.table_for_header_html(
|
83
|
+
header_html = @view.table_for_header_html(@column, :sortable => true)
|
83
84
|
header_html[:class].should eql "sorting"
|
84
85
|
end
|
85
86
|
end
|
data/table-for.gemspec
ADDED
@@ -0,0 +1,85 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "table-for"
|
8
|
+
s.version = "2.2.0"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Andrew Hunter"]
|
12
|
+
s.date = "2013-08-17"
|
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
|
+
s.email = "hunterae@gmail.com"
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"README.rdoc"
|
17
|
+
]
|
18
|
+
s.files = [
|
19
|
+
".rspec",
|
20
|
+
".ruby-gemset",
|
21
|
+
".ruby-version",
|
22
|
+
"CHANGELOG.rdoc",
|
23
|
+
"Gemfile",
|
24
|
+
"Gemfile.lock",
|
25
|
+
"README.rdoc",
|
26
|
+
"Rakefile",
|
27
|
+
"VERSION",
|
28
|
+
"app/views/table_for/_table_for.html.erb",
|
29
|
+
"lib/table-for.rb",
|
30
|
+
"lib/table_for.rb",
|
31
|
+
"lib/table_for/base.rb",
|
32
|
+
"lib/table_for/engine.rb",
|
33
|
+
"lib/table_for/view_additions.rb",
|
34
|
+
"rails/init.rb",
|
35
|
+
"spec/integration/table_for_spec.rb",
|
36
|
+
"spec/spec_helper.rb",
|
37
|
+
"spec/table_for/view_additions_spec.rb",
|
38
|
+
"table-for.gemspec"
|
39
|
+
]
|
40
|
+
s.homepage = "http://github.com/hunterae/table-for"
|
41
|
+
s.licenses = ["MIT"]
|
42
|
+
s.require_paths = ["lib"]
|
43
|
+
s.rubygems_version = "1.8.25"
|
44
|
+
s.summary = "table-for is a table builder for an array of objects, easily allowing overriding of how any aspect of the table is generated"
|
45
|
+
|
46
|
+
if s.respond_to? :specification_version then
|
47
|
+
s.specification_version = 3
|
48
|
+
|
49
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
50
|
+
s.add_runtime_dependency(%q<rails>, [">= 3.0.0"])
|
51
|
+
s.add_runtime_dependency(%q<blocks>, ["~> 2.2.0"])
|
52
|
+
s.add_development_dependency(%q<rspec-rails>, [">= 2.0.0.beta.20"])
|
53
|
+
s.add_development_dependency(%q<mocha>, ["= 0.10.3"])
|
54
|
+
s.add_development_dependency(%q<xml-simple>, ["= 1.1.1"])
|
55
|
+
s.add_development_dependency(%q<supermodel>, ["= 0.1.4"])
|
56
|
+
s.add_development_dependency(%q<sqlite3>, [">= 0"])
|
57
|
+
s.add_development_dependency(%q<with_model>, ["= 0.2.6"])
|
58
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.3.5"])
|
59
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
|
60
|
+
else
|
61
|
+
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
62
|
+
s.add_dependency(%q<blocks>, ["~> 2.2.0"])
|
63
|
+
s.add_dependency(%q<rspec-rails>, [">= 2.0.0.beta.20"])
|
64
|
+
s.add_dependency(%q<mocha>, ["= 0.10.3"])
|
65
|
+
s.add_dependency(%q<xml-simple>, ["= 1.1.1"])
|
66
|
+
s.add_dependency(%q<supermodel>, ["= 0.1.4"])
|
67
|
+
s.add_dependency(%q<sqlite3>, [">= 0"])
|
68
|
+
s.add_dependency(%q<with_model>, ["= 0.2.6"])
|
69
|
+
s.add_dependency(%q<bundler>, ["~> 1.3.5"])
|
70
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
71
|
+
end
|
72
|
+
else
|
73
|
+
s.add_dependency(%q<rails>, [">= 3.0.0"])
|
74
|
+
s.add_dependency(%q<blocks>, ["~> 2.2.0"])
|
75
|
+
s.add_dependency(%q<rspec-rails>, [">= 2.0.0.beta.20"])
|
76
|
+
s.add_dependency(%q<mocha>, ["= 0.10.3"])
|
77
|
+
s.add_dependency(%q<xml-simple>, ["= 1.1.1"])
|
78
|
+
s.add_dependency(%q<supermodel>, ["= 0.1.4"])
|
79
|
+
s.add_dependency(%q<sqlite3>, [">= 0"])
|
80
|
+
s.add_dependency(%q<with_model>, ["= 0.2.6"])
|
81
|
+
s.add_dependency(%q<bundler>, ["~> 1.3.5"])
|
82
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
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: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,584 +9,40 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-08-
|
12
|
+
date: 2013-08-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ! '>='
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0'
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: rails
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
|
-
requirements:
|
35
|
-
- - ! '>='
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: 3.0.0
|
38
|
-
type: :runtime
|
39
|
-
prerelease: false
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ! '>='
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: 3.0.0
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: blocks
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
|
-
requirements:
|
51
|
-
- - ! '>='
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 2.1.0
|
54
|
-
type: :runtime
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
|
-
requirements:
|
59
|
-
- - ! '>='
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 2.1.0
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: jeweler
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
|
-
requirements:
|
67
|
-
- - ! '>='
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0'
|
70
|
-
type: :development
|
71
|
-
prerelease: false
|
72
|
-
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ! '>='
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '0'
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
|
-
name: rspec-rails
|
80
|
-
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
|
-
requirements:
|
83
|
-
- - ! '>='
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: 2.0.0.beta.20
|
86
|
-
type: :development
|
87
|
-
prerelease: false
|
88
|
-
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
|
-
requirements:
|
91
|
-
- - ! '>='
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: 2.0.0.beta.20
|
94
|
-
- !ruby/object:Gem::Dependency
|
95
|
-
name: sqlite3
|
96
|
-
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
|
-
requirements:
|
99
|
-
- - ! '>='
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version: '0'
|
102
|
-
type: :development
|
103
|
-
prerelease: false
|
104
|
-
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
|
-
requirements:
|
107
|
-
- - ! '>='
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '0'
|
110
|
-
- !ruby/object:Gem::Dependency
|
111
|
-
name: jeweler
|
112
|
-
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
|
-
requirements:
|
115
|
-
- - ! '>='
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
|
-
requirements:
|
123
|
-
- - ! '>='
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: '0'
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: rspec-rails
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
|
-
requirements:
|
131
|
-
- - ! '>='
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
version: 2.0.0.beta.20
|
134
|
-
type: :development
|
135
|
-
prerelease: false
|
136
|
-
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
|
-
requirements:
|
139
|
-
- - ! '>='
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
version: 2.0.0.beta.20
|
142
|
-
- !ruby/object:Gem::Dependency
|
143
|
-
name: sqlite3
|
144
|
-
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
|
-
requirements:
|
147
|
-
- - ! '>='
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
version: '0'
|
150
|
-
type: :development
|
151
|
-
prerelease: false
|
152
|
-
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
|
-
requirements:
|
155
|
-
- - ! '>='
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
version: '0'
|
158
|
-
- !ruby/object:Gem::Dependency
|
159
|
-
name: jeweler
|
160
|
-
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
|
-
requirements:
|
163
|
-
- - ! '>='
|
164
|
-
- !ruby/object:Gem::Version
|
165
|
-
version: '0'
|
166
|
-
type: :development
|
167
|
-
prerelease: false
|
168
|
-
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
|
-
requirements:
|
171
|
-
- - ! '>='
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '0'
|
174
|
-
- !ruby/object:Gem::Dependency
|
175
|
-
name: rspec-rails
|
176
|
-
requirement: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
|
-
requirements:
|
179
|
-
- - ! '>='
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
version: 2.0.0.beta.20
|
182
|
-
type: :development
|
183
|
-
prerelease: false
|
184
|
-
version_requirements: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
|
-
requirements:
|
187
|
-
- - ! '>='
|
188
|
-
- !ruby/object:Gem::Version
|
189
|
-
version: 2.0.0.beta.20
|
190
|
-
- !ruby/object:Gem::Dependency
|
191
|
-
name: sqlite3
|
192
|
-
requirement: !ruby/object:Gem::Requirement
|
193
|
-
none: false
|
194
|
-
requirements:
|
195
|
-
- - ! '>='
|
196
|
-
- !ruby/object:Gem::Version
|
197
|
-
version: '0'
|
198
|
-
type: :development
|
199
|
-
prerelease: false
|
200
|
-
version_requirements: !ruby/object:Gem::Requirement
|
201
|
-
none: false
|
202
|
-
requirements:
|
203
|
-
- - ! '>='
|
204
|
-
- !ruby/object:Gem::Version
|
205
|
-
version: '0'
|
206
|
-
- !ruby/object:Gem::Dependency
|
207
|
-
name: jeweler
|
208
|
-
requirement: !ruby/object:Gem::Requirement
|
209
|
-
none: false
|
210
|
-
requirements:
|
211
|
-
- - ! '>='
|
212
|
-
- !ruby/object:Gem::Version
|
213
|
-
version: '0'
|
214
|
-
type: :development
|
215
|
-
prerelease: false
|
216
|
-
version_requirements: !ruby/object:Gem::Requirement
|
217
|
-
none: false
|
218
|
-
requirements:
|
219
|
-
- - ! '>='
|
220
|
-
- !ruby/object:Gem::Version
|
221
|
-
version: '0'
|
222
|
-
- !ruby/object:Gem::Dependency
|
223
|
-
name: rspec-rails
|
224
|
-
requirement: !ruby/object:Gem::Requirement
|
225
|
-
none: false
|
226
|
-
requirements:
|
227
|
-
- - ! '>='
|
228
|
-
- !ruby/object:Gem::Version
|
229
|
-
version: 2.0.0.beta.20
|
230
|
-
type: :development
|
231
|
-
prerelease: false
|
232
|
-
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
none: false
|
234
|
-
requirements:
|
235
|
-
- - ! '>='
|
236
|
-
- !ruby/object:Gem::Version
|
237
|
-
version: 2.0.0.beta.20
|
238
|
-
- !ruby/object:Gem::Dependency
|
239
|
-
name: sqlite3
|
240
|
-
requirement: !ruby/object:Gem::Requirement
|
241
|
-
none: false
|
242
|
-
requirements:
|
243
|
-
- - ! '>='
|
244
|
-
- !ruby/object:Gem::Version
|
245
|
-
version: '0'
|
246
|
-
type: :development
|
247
|
-
prerelease: false
|
248
|
-
version_requirements: !ruby/object:Gem::Requirement
|
249
|
-
none: false
|
250
|
-
requirements:
|
251
|
-
- - ! '>='
|
252
|
-
- !ruby/object:Gem::Version
|
253
|
-
version: '0'
|
254
|
-
- !ruby/object:Gem::Dependency
|
255
|
-
name: jeweler
|
256
|
-
requirement: !ruby/object:Gem::Requirement
|
257
|
-
none: false
|
258
|
-
requirements:
|
259
|
-
- - ! '>='
|
260
|
-
- !ruby/object:Gem::Version
|
261
|
-
version: '0'
|
262
|
-
type: :development
|
263
|
-
prerelease: false
|
264
|
-
version_requirements: !ruby/object:Gem::Requirement
|
265
|
-
none: false
|
266
|
-
requirements:
|
267
|
-
- - ! '>='
|
268
|
-
- !ruby/object:Gem::Version
|
269
|
-
version: '0'
|
270
|
-
- !ruby/object:Gem::Dependency
|
271
|
-
name: rspec-rails
|
272
|
-
requirement: !ruby/object:Gem::Requirement
|
273
|
-
none: false
|
274
|
-
requirements:
|
275
|
-
- - ! '>='
|
276
|
-
- !ruby/object:Gem::Version
|
277
|
-
version: 2.0.0.beta.20
|
278
|
-
type: :development
|
279
|
-
prerelease: false
|
280
|
-
version_requirements: !ruby/object:Gem::Requirement
|
281
|
-
none: false
|
282
|
-
requirements:
|
283
|
-
- - ! '>='
|
284
|
-
- !ruby/object:Gem::Version
|
285
|
-
version: 2.0.0.beta.20
|
286
|
-
- !ruby/object:Gem::Dependency
|
287
|
-
name: sqlite3
|
288
|
-
requirement: !ruby/object:Gem::Requirement
|
289
|
-
none: false
|
290
|
-
requirements:
|
291
|
-
- - ! '>='
|
292
|
-
- !ruby/object:Gem::Version
|
293
|
-
version: '0'
|
294
|
-
type: :development
|
295
|
-
prerelease: false
|
296
|
-
version_requirements: !ruby/object:Gem::Requirement
|
297
|
-
none: false
|
298
|
-
requirements:
|
299
|
-
- - ! '>='
|
300
|
-
- !ruby/object:Gem::Version
|
301
|
-
version: '0'
|
302
|
-
- !ruby/object:Gem::Dependency
|
303
|
-
name: jeweler
|
304
|
-
requirement: !ruby/object:Gem::Requirement
|
305
|
-
none: false
|
306
|
-
requirements:
|
307
|
-
- - ! '>='
|
308
|
-
- !ruby/object:Gem::Version
|
309
|
-
version: '0'
|
310
|
-
type: :development
|
311
|
-
prerelease: false
|
312
|
-
version_requirements: !ruby/object:Gem::Requirement
|
313
|
-
none: false
|
314
|
-
requirements:
|
315
|
-
- - ! '>='
|
316
|
-
- !ruby/object:Gem::Version
|
317
|
-
version: '0'
|
318
|
-
- !ruby/object:Gem::Dependency
|
319
|
-
name: rspec-rails
|
320
|
-
requirement: !ruby/object:Gem::Requirement
|
321
|
-
none: false
|
322
|
-
requirements:
|
323
|
-
- - ! '>='
|
324
|
-
- !ruby/object:Gem::Version
|
325
|
-
version: 2.0.0.beta.20
|
326
|
-
type: :development
|
327
|
-
prerelease: false
|
328
|
-
version_requirements: !ruby/object:Gem::Requirement
|
329
|
-
none: false
|
330
|
-
requirements:
|
331
|
-
- - ! '>='
|
332
|
-
- !ruby/object:Gem::Version
|
333
|
-
version: 2.0.0.beta.20
|
334
|
-
- !ruby/object:Gem::Dependency
|
335
|
-
name: sqlite3
|
336
|
-
requirement: !ruby/object:Gem::Requirement
|
337
|
-
none: false
|
338
|
-
requirements:
|
339
|
-
- - ! '>='
|
340
|
-
- !ruby/object:Gem::Version
|
341
|
-
version: '0'
|
342
|
-
type: :development
|
343
|
-
prerelease: false
|
344
|
-
version_requirements: !ruby/object:Gem::Requirement
|
345
|
-
none: false
|
346
|
-
requirements:
|
347
|
-
- - ! '>='
|
348
|
-
- !ruby/object:Gem::Version
|
349
|
-
version: '0'
|
350
|
-
- !ruby/object:Gem::Dependency
|
351
|
-
name: jeweler
|
352
|
-
requirement: !ruby/object:Gem::Requirement
|
353
|
-
none: false
|
354
|
-
requirements:
|
355
|
-
- - ! '>='
|
356
|
-
- !ruby/object:Gem::Version
|
357
|
-
version: '0'
|
358
|
-
type: :development
|
359
|
-
prerelease: false
|
360
|
-
version_requirements: !ruby/object:Gem::Requirement
|
361
|
-
none: false
|
362
|
-
requirements:
|
363
|
-
- - ! '>='
|
364
|
-
- !ruby/object:Gem::Version
|
365
|
-
version: '0'
|
366
|
-
- !ruby/object:Gem::Dependency
|
367
|
-
name: rspec-rails
|
368
|
-
requirement: !ruby/object:Gem::Requirement
|
369
|
-
none: false
|
370
|
-
requirements:
|
371
|
-
- - ! '>='
|
372
|
-
- !ruby/object:Gem::Version
|
373
|
-
version: 2.0.0.beta.20
|
374
|
-
type: :development
|
375
|
-
prerelease: false
|
376
|
-
version_requirements: !ruby/object:Gem::Requirement
|
377
|
-
none: false
|
378
|
-
requirements:
|
379
|
-
- - ! '>='
|
380
|
-
- !ruby/object:Gem::Version
|
381
|
-
version: 2.0.0.beta.20
|
382
|
-
- !ruby/object:Gem::Dependency
|
383
|
-
name: mocha
|
384
|
-
requirement: !ruby/object:Gem::Requirement
|
385
|
-
none: false
|
386
|
-
requirements:
|
387
|
-
- - '='
|
388
|
-
- !ruby/object:Gem::Version
|
389
|
-
version: 0.10.3
|
390
|
-
type: :development
|
391
|
-
prerelease: false
|
392
|
-
version_requirements: !ruby/object:Gem::Requirement
|
393
|
-
none: false
|
394
|
-
requirements:
|
395
|
-
- - '='
|
396
|
-
- !ruby/object:Gem::Version
|
397
|
-
version: 0.10.3
|
398
|
-
- !ruby/object:Gem::Dependency
|
399
|
-
name: xml-simple
|
400
|
-
requirement: !ruby/object:Gem::Requirement
|
401
|
-
none: false
|
402
|
-
requirements:
|
403
|
-
- - '='
|
404
|
-
- !ruby/object:Gem::Version
|
405
|
-
version: 1.1.1
|
406
|
-
type: :development
|
407
|
-
prerelease: false
|
408
|
-
version_requirements: !ruby/object:Gem::Requirement
|
409
|
-
none: false
|
410
|
-
requirements:
|
411
|
-
- - '='
|
412
|
-
- !ruby/object:Gem::Version
|
413
|
-
version: 1.1.1
|
414
|
-
- !ruby/object:Gem::Dependency
|
415
|
-
name: supermodel
|
416
|
-
requirement: !ruby/object:Gem::Requirement
|
417
|
-
none: false
|
418
|
-
requirements:
|
419
|
-
- - '='
|
420
|
-
- !ruby/object:Gem::Version
|
421
|
-
version: 0.1.4
|
422
|
-
type: :development
|
423
|
-
prerelease: false
|
424
|
-
version_requirements: !ruby/object:Gem::Requirement
|
425
|
-
none: false
|
426
|
-
requirements:
|
427
|
-
- - '='
|
428
|
-
- !ruby/object:Gem::Version
|
429
|
-
version: 0.1.4
|
430
|
-
- !ruby/object:Gem::Dependency
|
431
|
-
name: sqlite3
|
432
|
-
requirement: !ruby/object:Gem::Requirement
|
433
|
-
none: false
|
434
|
-
requirements:
|
435
|
-
- - ! '>='
|
436
|
-
- !ruby/object:Gem::Version
|
437
|
-
version: '0'
|
438
|
-
type: :development
|
439
|
-
prerelease: false
|
440
|
-
version_requirements: !ruby/object:Gem::Requirement
|
441
|
-
none: false
|
442
|
-
requirements:
|
443
|
-
- - ! '>='
|
444
|
-
- !ruby/object:Gem::Version
|
445
|
-
version: '0'
|
446
|
-
- !ruby/object:Gem::Dependency
|
447
|
-
name: with_model
|
448
|
-
requirement: !ruby/object:Gem::Requirement
|
449
|
-
none: false
|
450
|
-
requirements:
|
451
|
-
- - '='
|
452
|
-
- !ruby/object:Gem::Version
|
453
|
-
version: 0.2.6
|
454
|
-
type: :development
|
455
|
-
prerelease: false
|
456
|
-
version_requirements: !ruby/object:Gem::Requirement
|
457
|
-
none: false
|
458
|
-
requirements:
|
459
|
-
- - '='
|
460
|
-
- !ruby/object:Gem::Version
|
461
|
-
version: 0.2.6
|
462
|
-
- !ruby/object:Gem::Dependency
|
463
|
-
name: jeweler
|
464
|
-
requirement: !ruby/object:Gem::Requirement
|
465
|
-
none: false
|
466
|
-
requirements:
|
467
|
-
- - ! '>='
|
468
|
-
- !ruby/object:Gem::Version
|
469
|
-
version: '0'
|
470
|
-
type: :development
|
471
|
-
prerelease: false
|
472
|
-
version_requirements: !ruby/object:Gem::Requirement
|
473
|
-
none: false
|
474
|
-
requirements:
|
475
|
-
- - ! '>='
|
476
|
-
- !ruby/object:Gem::Version
|
477
|
-
version: '0'
|
478
|
-
- !ruby/object:Gem::Dependency
|
479
|
-
name: rspec-rails
|
480
|
-
requirement: !ruby/object:Gem::Requirement
|
481
|
-
none: false
|
482
|
-
requirements:
|
483
|
-
- - ! '>='
|
484
|
-
- !ruby/object:Gem::Version
|
485
|
-
version: 2.0.0.beta.20
|
486
|
-
type: :development
|
487
|
-
prerelease: false
|
488
|
-
version_requirements: !ruby/object:Gem::Requirement
|
489
|
-
none: false
|
490
|
-
requirements:
|
491
|
-
- - ! '>='
|
492
|
-
- !ruby/object:Gem::Version
|
493
|
-
version: 2.0.0.beta.20
|
494
|
-
- !ruby/object:Gem::Dependency
|
495
|
-
name: mocha
|
496
|
-
requirement: !ruby/object:Gem::Requirement
|
497
|
-
none: false
|
498
|
-
requirements:
|
499
|
-
- - '='
|
500
|
-
- !ruby/object:Gem::Version
|
501
|
-
version: 0.10.3
|
502
|
-
type: :development
|
503
|
-
prerelease: false
|
504
|
-
version_requirements: !ruby/object:Gem::Requirement
|
505
|
-
none: false
|
506
|
-
requirements:
|
507
|
-
- - '='
|
508
|
-
- !ruby/object:Gem::Version
|
509
|
-
version: 0.10.3
|
510
|
-
- !ruby/object:Gem::Dependency
|
511
|
-
name: xml-simple
|
512
|
-
requirement: !ruby/object:Gem::Requirement
|
513
|
-
none: false
|
514
|
-
requirements:
|
515
|
-
- - '='
|
516
|
-
- !ruby/object:Gem::Version
|
517
|
-
version: 1.1.1
|
518
|
-
type: :development
|
519
|
-
prerelease: false
|
520
|
-
version_requirements: !ruby/object:Gem::Requirement
|
521
|
-
none: false
|
522
|
-
requirements:
|
523
|
-
- - '='
|
524
|
-
- !ruby/object:Gem::Version
|
525
|
-
version: 1.1.1
|
526
|
-
- !ruby/object:Gem::Dependency
|
527
|
-
name: supermodel
|
528
|
-
requirement: !ruby/object:Gem::Requirement
|
529
|
-
none: false
|
530
|
-
requirements:
|
531
|
-
- - '='
|
532
|
-
- !ruby/object:Gem::Version
|
533
|
-
version: 0.1.4
|
534
|
-
type: :development
|
535
|
-
prerelease: false
|
536
|
-
version_requirements: !ruby/object:Gem::Requirement
|
537
|
-
none: false
|
538
|
-
requirements:
|
539
|
-
- - '='
|
540
|
-
- !ruby/object:Gem::Version
|
541
|
-
version: 0.1.4
|
542
|
-
- !ruby/object:Gem::Dependency
|
543
|
-
name: sqlite3
|
15
|
+
name: rails
|
544
16
|
requirement: !ruby/object:Gem::Requirement
|
545
17
|
none: false
|
546
18
|
requirements:
|
547
19
|
- - ! '>='
|
548
20
|
- !ruby/object:Gem::Version
|
549
|
-
version:
|
550
|
-
type: :
|
21
|
+
version: 3.0.0
|
22
|
+
type: :runtime
|
551
23
|
prerelease: false
|
552
24
|
version_requirements: !ruby/object:Gem::Requirement
|
553
25
|
none: false
|
554
26
|
requirements:
|
555
27
|
- - ! '>='
|
556
28
|
- !ruby/object:Gem::Version
|
557
|
-
version:
|
558
|
-
- !ruby/object:Gem::Dependency
|
559
|
-
name: with_model
|
560
|
-
requirement: !ruby/object:Gem::Requirement
|
561
|
-
none: false
|
562
|
-
requirements:
|
563
|
-
- - '='
|
564
|
-
- !ruby/object:Gem::Version
|
565
|
-
version: 0.2.6
|
566
|
-
type: :development
|
567
|
-
prerelease: false
|
568
|
-
version_requirements: !ruby/object:Gem::Requirement
|
569
|
-
none: false
|
570
|
-
requirements:
|
571
|
-
- - '='
|
572
|
-
- !ruby/object:Gem::Version
|
573
|
-
version: 0.2.6
|
29
|
+
version: 3.0.0
|
574
30
|
- !ruby/object:Gem::Dependency
|
575
|
-
name:
|
31
|
+
name: blocks
|
576
32
|
requirement: !ruby/object:Gem::Requirement
|
577
33
|
none: false
|
578
34
|
requirements:
|
579
|
-
- -
|
35
|
+
- - ~>
|
580
36
|
- !ruby/object:Gem::Version
|
581
|
-
version:
|
582
|
-
type: :
|
37
|
+
version: 2.2.0
|
38
|
+
type: :runtime
|
583
39
|
prerelease: false
|
584
40
|
version_requirements: !ruby/object:Gem::Requirement
|
585
41
|
none: false
|
586
42
|
requirements:
|
587
|
-
- -
|
43
|
+
- - ~>
|
588
44
|
- !ruby/object:Gem::Version
|
589
|
-
version:
|
45
|
+
version: 2.2.0
|
590
46
|
- !ruby/object:Gem::Dependency
|
591
47
|
name: rspec-rails
|
592
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -684,229 +140,37 @@ dependencies:
|
|
684
140
|
- !ruby/object:Gem::Version
|
685
141
|
version: 0.2.6
|
686
142
|
- !ruby/object:Gem::Dependency
|
687
|
-
name:
|
688
|
-
requirement: !ruby/object:Gem::Requirement
|
689
|
-
none: false
|
690
|
-
requirements:
|
691
|
-
- - ! '>='
|
692
|
-
- !ruby/object:Gem::Version
|
693
|
-
version: '0'
|
694
|
-
type: :development
|
695
|
-
prerelease: false
|
696
|
-
version_requirements: !ruby/object:Gem::Requirement
|
697
|
-
none: false
|
698
|
-
requirements:
|
699
|
-
- - ! '>='
|
700
|
-
- !ruby/object:Gem::Version
|
701
|
-
version: '0'
|
702
|
-
- !ruby/object:Gem::Dependency
|
703
|
-
name: rspec-rails
|
704
|
-
requirement: !ruby/object:Gem::Requirement
|
705
|
-
none: false
|
706
|
-
requirements:
|
707
|
-
- - ! '>='
|
708
|
-
- !ruby/object:Gem::Version
|
709
|
-
version: 2.0.0.beta.20
|
710
|
-
type: :development
|
711
|
-
prerelease: false
|
712
|
-
version_requirements: !ruby/object:Gem::Requirement
|
713
|
-
none: false
|
714
|
-
requirements:
|
715
|
-
- - ! '>='
|
716
|
-
- !ruby/object:Gem::Version
|
717
|
-
version: 2.0.0.beta.20
|
718
|
-
- !ruby/object:Gem::Dependency
|
719
|
-
name: mocha
|
720
|
-
requirement: !ruby/object:Gem::Requirement
|
721
|
-
none: false
|
722
|
-
requirements:
|
723
|
-
- - '='
|
724
|
-
- !ruby/object:Gem::Version
|
725
|
-
version: 0.10.3
|
726
|
-
type: :development
|
727
|
-
prerelease: false
|
728
|
-
version_requirements: !ruby/object:Gem::Requirement
|
729
|
-
none: false
|
730
|
-
requirements:
|
731
|
-
- - '='
|
732
|
-
- !ruby/object:Gem::Version
|
733
|
-
version: 0.10.3
|
734
|
-
- !ruby/object:Gem::Dependency
|
735
|
-
name: xml-simple
|
736
|
-
requirement: !ruby/object:Gem::Requirement
|
737
|
-
none: false
|
738
|
-
requirements:
|
739
|
-
- - '='
|
740
|
-
- !ruby/object:Gem::Version
|
741
|
-
version: 1.1.1
|
742
|
-
type: :development
|
743
|
-
prerelease: false
|
744
|
-
version_requirements: !ruby/object:Gem::Requirement
|
745
|
-
none: false
|
746
|
-
requirements:
|
747
|
-
- - '='
|
748
|
-
- !ruby/object:Gem::Version
|
749
|
-
version: 1.1.1
|
750
|
-
- !ruby/object:Gem::Dependency
|
751
|
-
name: supermodel
|
752
|
-
requirement: !ruby/object:Gem::Requirement
|
753
|
-
none: false
|
754
|
-
requirements:
|
755
|
-
- - '='
|
756
|
-
- !ruby/object:Gem::Version
|
757
|
-
version: 0.1.4
|
758
|
-
type: :development
|
759
|
-
prerelease: false
|
760
|
-
version_requirements: !ruby/object:Gem::Requirement
|
761
|
-
none: false
|
762
|
-
requirements:
|
763
|
-
- - '='
|
764
|
-
- !ruby/object:Gem::Version
|
765
|
-
version: 0.1.4
|
766
|
-
- !ruby/object:Gem::Dependency
|
767
|
-
name: sqlite3
|
768
|
-
requirement: !ruby/object:Gem::Requirement
|
769
|
-
none: false
|
770
|
-
requirements:
|
771
|
-
- - ! '>='
|
772
|
-
- !ruby/object:Gem::Version
|
773
|
-
version: '0'
|
774
|
-
type: :development
|
775
|
-
prerelease: false
|
776
|
-
version_requirements: !ruby/object:Gem::Requirement
|
777
|
-
none: false
|
778
|
-
requirements:
|
779
|
-
- - ! '>='
|
780
|
-
- !ruby/object:Gem::Version
|
781
|
-
version: '0'
|
782
|
-
- !ruby/object:Gem::Dependency
|
783
|
-
name: with_model
|
143
|
+
name: bundler
|
784
144
|
requirement: !ruby/object:Gem::Requirement
|
785
145
|
none: false
|
786
146
|
requirements:
|
787
|
-
- -
|
147
|
+
- - ~>
|
788
148
|
- !ruby/object:Gem::Version
|
789
|
-
version:
|
149
|
+
version: 1.3.5
|
790
150
|
type: :development
|
791
151
|
prerelease: false
|
792
152
|
version_requirements: !ruby/object:Gem::Requirement
|
793
153
|
none: false
|
794
154
|
requirements:
|
795
|
-
- -
|
155
|
+
- - ~>
|
796
156
|
- !ruby/object:Gem::Version
|
797
|
-
version:
|
157
|
+
version: 1.3.5
|
798
158
|
- !ruby/object:Gem::Dependency
|
799
159
|
name: jeweler
|
800
160
|
requirement: !ruby/object:Gem::Requirement
|
801
161
|
none: false
|
802
162
|
requirements:
|
803
|
-
- -
|
804
|
-
- !ruby/object:Gem::Version
|
805
|
-
version: '0'
|
806
|
-
type: :development
|
807
|
-
prerelease: false
|
808
|
-
version_requirements: !ruby/object:Gem::Requirement
|
809
|
-
none: false
|
810
|
-
requirements:
|
811
|
-
- - ! '>='
|
812
|
-
- !ruby/object:Gem::Version
|
813
|
-
version: '0'
|
814
|
-
- !ruby/object:Gem::Dependency
|
815
|
-
name: rspec-rails
|
816
|
-
requirement: !ruby/object:Gem::Requirement
|
817
|
-
none: false
|
818
|
-
requirements:
|
819
|
-
- - ! '>='
|
820
|
-
- !ruby/object:Gem::Version
|
821
|
-
version: 2.0.0.beta.20
|
822
|
-
type: :development
|
823
|
-
prerelease: false
|
824
|
-
version_requirements: !ruby/object:Gem::Requirement
|
825
|
-
none: false
|
826
|
-
requirements:
|
827
|
-
- - ! '>='
|
828
|
-
- !ruby/object:Gem::Version
|
829
|
-
version: 2.0.0.beta.20
|
830
|
-
- !ruby/object:Gem::Dependency
|
831
|
-
name: mocha
|
832
|
-
requirement: !ruby/object:Gem::Requirement
|
833
|
-
none: false
|
834
|
-
requirements:
|
835
|
-
- - '='
|
836
|
-
- !ruby/object:Gem::Version
|
837
|
-
version: 0.10.3
|
838
|
-
type: :development
|
839
|
-
prerelease: false
|
840
|
-
version_requirements: !ruby/object:Gem::Requirement
|
841
|
-
none: false
|
842
|
-
requirements:
|
843
|
-
- - '='
|
844
|
-
- !ruby/object:Gem::Version
|
845
|
-
version: 0.10.3
|
846
|
-
- !ruby/object:Gem::Dependency
|
847
|
-
name: xml-simple
|
848
|
-
requirement: !ruby/object:Gem::Requirement
|
849
|
-
none: false
|
850
|
-
requirements:
|
851
|
-
- - '='
|
852
|
-
- !ruby/object:Gem::Version
|
853
|
-
version: 1.1.1
|
854
|
-
type: :development
|
855
|
-
prerelease: false
|
856
|
-
version_requirements: !ruby/object:Gem::Requirement
|
857
|
-
none: false
|
858
|
-
requirements:
|
859
|
-
- - '='
|
860
|
-
- !ruby/object:Gem::Version
|
861
|
-
version: 1.1.1
|
862
|
-
- !ruby/object:Gem::Dependency
|
863
|
-
name: supermodel
|
864
|
-
requirement: !ruby/object:Gem::Requirement
|
865
|
-
none: false
|
866
|
-
requirements:
|
867
|
-
- - '='
|
868
|
-
- !ruby/object:Gem::Version
|
869
|
-
version: 0.1.4
|
870
|
-
type: :development
|
871
|
-
prerelease: false
|
872
|
-
version_requirements: !ruby/object:Gem::Requirement
|
873
|
-
none: false
|
874
|
-
requirements:
|
875
|
-
- - '='
|
876
|
-
- !ruby/object:Gem::Version
|
877
|
-
version: 0.1.4
|
878
|
-
- !ruby/object:Gem::Dependency
|
879
|
-
name: sqlite3
|
880
|
-
requirement: !ruby/object:Gem::Requirement
|
881
|
-
none: false
|
882
|
-
requirements:
|
883
|
-
- - ! '>='
|
884
|
-
- !ruby/object:Gem::Version
|
885
|
-
version: '0'
|
886
|
-
type: :development
|
887
|
-
prerelease: false
|
888
|
-
version_requirements: !ruby/object:Gem::Requirement
|
889
|
-
none: false
|
890
|
-
requirements:
|
891
|
-
- - ! '>='
|
892
|
-
- !ruby/object:Gem::Version
|
893
|
-
version: '0'
|
894
|
-
- !ruby/object:Gem::Dependency
|
895
|
-
name: with_model
|
896
|
-
requirement: !ruby/object:Gem::Requirement
|
897
|
-
none: false
|
898
|
-
requirements:
|
899
|
-
- - '='
|
163
|
+
- - ~>
|
900
164
|
- !ruby/object:Gem::Version
|
901
|
-
version:
|
165
|
+
version: 1.8.4
|
902
166
|
type: :development
|
903
167
|
prerelease: false
|
904
168
|
version_requirements: !ruby/object:Gem::Requirement
|
905
169
|
none: false
|
906
170
|
requirements:
|
907
|
-
- -
|
171
|
+
- - ~>
|
908
172
|
- !ruby/object:Gem::Version
|
909
|
-
version:
|
173
|
+
version: 1.8.4
|
910
174
|
description: table-for is a table builder for an array of objects, easily allowing
|
911
175
|
overriding of how any aspect of the table is generated
|
912
176
|
email: hunterae@gmail.com
|
@@ -915,7 +179,12 @@ extensions: []
|
|
915
179
|
extra_rdoc_files:
|
916
180
|
- README.rdoc
|
917
181
|
files:
|
182
|
+
- .rspec
|
183
|
+
- .ruby-gemset
|
184
|
+
- .ruby-version
|
918
185
|
- CHANGELOG.rdoc
|
186
|
+
- Gemfile
|
187
|
+
- Gemfile.lock
|
919
188
|
- README.rdoc
|
920
189
|
- Rakefile
|
921
190
|
- VERSION
|
@@ -929,8 +198,10 @@ files:
|
|
929
198
|
- spec/integration/table_for_spec.rb
|
930
199
|
- spec/spec_helper.rb
|
931
200
|
- spec/table_for/view_additions_spec.rb
|
201
|
+
- table-for.gemspec
|
932
202
|
homepage: http://github.com/hunterae/table-for
|
933
|
-
licenses:
|
203
|
+
licenses:
|
204
|
+
- MIT
|
934
205
|
post_install_message:
|
935
206
|
rdoc_options: []
|
936
207
|
require_paths:
|
@@ -943,7 +214,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
943
214
|
version: '0'
|
944
215
|
segments:
|
945
216
|
- 0
|
946
|
-
hash:
|
217
|
+
hash: 1230221337141463981
|
947
218
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
948
219
|
none: false
|
949
220
|
requirements:
|