comma-heaven 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +7 -2
- data/Gemfile.lock +66 -32
- data/Guardfile +9 -0
- data/VERSION +1 -1
- data/comma-heaven.gemspec +24 -8
- data/lib/comma-heaven/sqler/association_columns.rb +10 -0
- data/lib/comma-heaven/sqler/columns.rb +7 -14
- data/spec/active_record/to_comma_heaven_spec.rb +1 -1
- data/spec/export_spec.rb +11 -2
- data/spec/spec_helper.rb +33 -15
- metadata +88 -7
data/Gemfile
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
source "http://rubygems.org"
|
2
2
|
|
3
|
-
gem "activerecord", "< 4.0
|
4
|
-
gem "actionpack", "< 4.0
|
3
|
+
gem "activerecord", ENV['AGAINST'] || "< 4.0"
|
4
|
+
gem "actionpack", ENV['AGAINST'] || "< 4.0"
|
5
5
|
gem "fastercsv" unless RUBY_VERSION > "1.9"
|
6
6
|
|
7
7
|
group :development do
|
8
|
+
gem 'rake'
|
8
9
|
gem "rspec", ">= 1.2.9"
|
9
10
|
gem "rdoc", "~> 3.12"
|
10
11
|
gem "bundler", ">= 1.0.0"
|
@@ -13,4 +14,8 @@ group :development do
|
|
13
14
|
gem 'sqlite3'
|
14
15
|
gem 'mysql2', '0.2.7'
|
15
16
|
gem 'awesome_print'
|
17
|
+
gem 'guard'
|
18
|
+
gem "guard-shell", "~> 0.5.1"
|
19
|
+
gem 'rb-fsevent', '~> 0.9'
|
20
|
+
gem 'rb-readline'
|
16
21
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,34 +1,45 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
actionpack (3.2.
|
5
|
-
activemodel (= 3.2.
|
6
|
-
activesupport (= 3.2.
|
4
|
+
actionpack (3.2.13)
|
5
|
+
activemodel (= 3.2.13)
|
6
|
+
activesupport (= 3.2.13)
|
7
7
|
builder (~> 3.0.0)
|
8
8
|
erubis (~> 2.7.0)
|
9
9
|
journey (~> 1.0.4)
|
10
|
-
rack (~> 1.4.
|
10
|
+
rack (~> 1.4.5)
|
11
11
|
rack-cache (~> 1.2)
|
12
12
|
rack-test (~> 0.6.1)
|
13
13
|
sprockets (~> 2.2.1)
|
14
|
-
activemodel (3.2.
|
15
|
-
activesupport (= 3.2.
|
14
|
+
activemodel (3.2.13)
|
15
|
+
activesupport (= 3.2.13)
|
16
16
|
builder (~> 3.0.0)
|
17
|
-
activerecord (3.2.
|
18
|
-
activemodel (= 3.2.
|
19
|
-
activesupport (= 3.2.
|
17
|
+
activerecord (3.2.13)
|
18
|
+
activemodel (= 3.2.13)
|
19
|
+
activesupport (= 3.2.13)
|
20
20
|
arel (~> 3.0.2)
|
21
21
|
tzinfo (~> 0.3.29)
|
22
|
-
activesupport (3.2.
|
23
|
-
i18n (
|
22
|
+
activesupport (3.2.13)
|
23
|
+
i18n (= 0.6.1)
|
24
24
|
multi_json (~> 1.0)
|
25
25
|
arel (3.0.2)
|
26
26
|
awesome_print (1.1.0)
|
27
27
|
builder (3.0.4)
|
28
|
-
|
28
|
+
coderay (1.0.9)
|
29
|
+
diff-lcs (1.2.4)
|
29
30
|
erubis (2.7.0)
|
31
|
+
ffi (1.8.1)
|
32
|
+
formatador (0.2.4)
|
30
33
|
git (1.2.5)
|
31
|
-
|
34
|
+
guard (1.8.0)
|
35
|
+
formatador (>= 0.2.4)
|
36
|
+
listen (>= 1.0.0)
|
37
|
+
lumberjack (>= 1.0.2)
|
38
|
+
pry (>= 0.9.10)
|
39
|
+
thor (>= 0.14.6)
|
40
|
+
guard-shell (0.5.1)
|
41
|
+
guard (>= 1.1.0)
|
42
|
+
hike (1.2.2)
|
32
43
|
i18n (0.6.1)
|
33
44
|
jeweler (1.8.4)
|
34
45
|
bundler (~> 1.0)
|
@@ -36,48 +47,71 @@ GEM
|
|
36
47
|
rake
|
37
48
|
rdoc
|
38
49
|
journey (1.0.4)
|
39
|
-
json (1.
|
40
|
-
|
50
|
+
json (1.8.0)
|
51
|
+
listen (1.1.3)
|
52
|
+
rb-fsevent (>= 0.9.3)
|
53
|
+
rb-inotify (>= 0.9)
|
54
|
+
rb-kqueue (>= 0.2)
|
55
|
+
lumberjack (1.0.3)
|
56
|
+
method_source (0.8.1)
|
57
|
+
multi_json (1.7.3)
|
41
58
|
mysql2 (0.2.7)
|
42
|
-
|
59
|
+
pry (0.9.12.2)
|
60
|
+
coderay (~> 1.0.5)
|
61
|
+
method_source (~> 0.8)
|
62
|
+
slop (~> 3.4)
|
63
|
+
rack (1.4.5)
|
43
64
|
rack-cache (1.2)
|
44
65
|
rack (>= 0.4)
|
45
66
|
rack-test (0.6.2)
|
46
67
|
rack (>= 1.0)
|
47
|
-
rake (10.0.
|
48
|
-
|
68
|
+
rake (10.0.4)
|
69
|
+
rb-fsevent (0.9.3)
|
70
|
+
rb-inotify (0.9.0)
|
71
|
+
ffi (>= 0.5.0)
|
72
|
+
rb-kqueue (0.2.0)
|
73
|
+
ffi (>= 0.5.0)
|
74
|
+
rb-readline (0.5.0)
|
75
|
+
rdoc (3.12.2)
|
49
76
|
json (~> 1.4)
|
50
|
-
rspec (2.
|
51
|
-
rspec-core (~> 2.
|
52
|
-
rspec-expectations (~> 2.
|
53
|
-
rspec-mocks (~> 2.
|
54
|
-
rspec-core (2.
|
55
|
-
rspec-expectations (2.
|
56
|
-
diff-lcs (
|
57
|
-
rspec-mocks (2.
|
77
|
+
rspec (2.13.0)
|
78
|
+
rspec-core (~> 2.13.0)
|
79
|
+
rspec-expectations (~> 2.13.0)
|
80
|
+
rspec-mocks (~> 2.13.0)
|
81
|
+
rspec-core (2.13.1)
|
82
|
+
rspec-expectations (2.13.0)
|
83
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
84
|
+
rspec-mocks (2.13.1)
|
58
85
|
simplecov (0.7.1)
|
59
86
|
multi_json (~> 1.0)
|
60
87
|
simplecov-html (~> 0.7.1)
|
61
88
|
simplecov-html (0.7.1)
|
62
|
-
|
89
|
+
slop (3.4.5)
|
90
|
+
sprockets (2.2.2)
|
63
91
|
hike (~> 1.2)
|
64
92
|
multi_json (~> 1.0)
|
65
93
|
rack (~> 1.0)
|
66
94
|
tilt (~> 1.1, != 1.3.0)
|
67
|
-
sqlite3 (1.3.
|
68
|
-
|
69
|
-
|
95
|
+
sqlite3 (1.3.7)
|
96
|
+
thor (0.18.1)
|
97
|
+
tilt (1.4.1)
|
98
|
+
tzinfo (0.3.37)
|
70
99
|
|
71
100
|
PLATFORMS
|
72
101
|
ruby
|
73
102
|
|
74
103
|
DEPENDENCIES
|
75
|
-
actionpack (< 4.0
|
76
|
-
activerecord (< 4.0
|
104
|
+
actionpack (< 4.0)
|
105
|
+
activerecord (< 4.0)
|
77
106
|
awesome_print
|
78
107
|
bundler (>= 1.0.0)
|
108
|
+
guard
|
109
|
+
guard-shell (~> 0.5.1)
|
79
110
|
jeweler (~> 1.8.3)
|
80
111
|
mysql2 (= 0.2.7)
|
112
|
+
rake
|
113
|
+
rb-fsevent (~> 0.9)
|
114
|
+
rb-readline
|
81
115
|
rdoc (~> 3.12)
|
82
116
|
rspec (>= 1.2.9)
|
83
117
|
simplecov
|
data/Guardfile
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
# A sample Guardfile
|
2
|
+
# More info at https://github.com/guard/guard#readme
|
3
|
+
|
4
|
+
guard :shell do
|
5
|
+
watch(%r{(lib|spec)/.*}) do
|
6
|
+
system %Q{export AGAINST="~> 2.3.0" && (bundle --quiet || bundle install --quiet) && bundle exec rake spec}
|
7
|
+
system %Q{export AGAINST="~> 3.0" && (bundle --quiet || bundle install --quiet) && bundle exec rake spec}
|
8
|
+
end
|
9
|
+
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.8.
|
1
|
+
0.8.2
|
data/comma-heaven.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "comma-heaven"
|
8
|
-
s.version = "0.8.
|
8
|
+
s.version = "0.8.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Silvano Stralla"]
|
12
|
-
s.date = "2013-
|
12
|
+
s.date = "2013-05-24"
|
13
13
|
s.description = "CommaHeaven permits easy exports of Rails models to CSV"
|
14
14
|
s.email = "silvano.stralla@sistrall.it"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -20,6 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
".document",
|
21
21
|
"Gemfile",
|
22
22
|
"Gemfile.lock",
|
23
|
+
"Guardfile",
|
23
24
|
"LICENSE",
|
24
25
|
"README.rdoc",
|
25
26
|
"Rakefile",
|
@@ -56,8 +57,9 @@ Gem::Specification.new do |s|
|
|
56
57
|
s.specification_version = 3
|
57
58
|
|
58
59
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
59
|
-
s.add_runtime_dependency(%q<activerecord>, ["< 4.0
|
60
|
-
s.add_runtime_dependency(%q<actionpack>, ["< 4.0
|
60
|
+
s.add_runtime_dependency(%q<activerecord>, ["< 4.0"])
|
61
|
+
s.add_runtime_dependency(%q<actionpack>, ["< 4.0"])
|
62
|
+
s.add_development_dependency(%q<rake>, [">= 0"])
|
61
63
|
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
62
64
|
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
63
65
|
s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
|
@@ -66,9 +68,14 @@ Gem::Specification.new do |s|
|
|
66
68
|
s.add_development_dependency(%q<sqlite3>, [">= 0"])
|
67
69
|
s.add_development_dependency(%q<mysql2>, ["= 0.2.7"])
|
68
70
|
s.add_development_dependency(%q<awesome_print>, [">= 0"])
|
71
|
+
s.add_development_dependency(%q<guard>, [">= 0"])
|
72
|
+
s.add_development_dependency(%q<guard-shell>, ["~> 0.5.1"])
|
73
|
+
s.add_development_dependency(%q<rb-fsevent>, ["~> 0.9"])
|
74
|
+
s.add_development_dependency(%q<rb-readline>, [">= 0"])
|
69
75
|
else
|
70
|
-
s.add_dependency(%q<activerecord>, ["< 4.0
|
71
|
-
s.add_dependency(%q<actionpack>, ["< 4.0
|
76
|
+
s.add_dependency(%q<activerecord>, ["< 4.0"])
|
77
|
+
s.add_dependency(%q<actionpack>, ["< 4.0"])
|
78
|
+
s.add_dependency(%q<rake>, [">= 0"])
|
72
79
|
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
73
80
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
74
81
|
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
@@ -77,10 +84,15 @@ Gem::Specification.new do |s|
|
|
77
84
|
s.add_dependency(%q<sqlite3>, [">= 0"])
|
78
85
|
s.add_dependency(%q<mysql2>, ["= 0.2.7"])
|
79
86
|
s.add_dependency(%q<awesome_print>, [">= 0"])
|
87
|
+
s.add_dependency(%q<guard>, [">= 0"])
|
88
|
+
s.add_dependency(%q<guard-shell>, ["~> 0.5.1"])
|
89
|
+
s.add_dependency(%q<rb-fsevent>, ["~> 0.9"])
|
90
|
+
s.add_dependency(%q<rb-readline>, [">= 0"])
|
80
91
|
end
|
81
92
|
else
|
82
|
-
s.add_dependency(%q<activerecord>, ["< 4.0
|
83
|
-
s.add_dependency(%q<actionpack>, ["< 4.0
|
93
|
+
s.add_dependency(%q<activerecord>, ["< 4.0"])
|
94
|
+
s.add_dependency(%q<actionpack>, ["< 4.0"])
|
95
|
+
s.add_dependency(%q<rake>, [">= 0"])
|
84
96
|
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
85
97
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
86
98
|
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
@@ -89,6 +101,10 @@ Gem::Specification.new do |s|
|
|
89
101
|
s.add_dependency(%q<sqlite3>, [">= 0"])
|
90
102
|
s.add_dependency(%q<mysql2>, ["= 0.2.7"])
|
91
103
|
s.add_dependency(%q<awesome_print>, [">= 0"])
|
104
|
+
s.add_dependency(%q<guard>, [">= 0"])
|
105
|
+
s.add_dependency(%q<guard-shell>, ["~> 0.5.1"])
|
106
|
+
s.add_dependency(%q<rb-fsevent>, ["~> 0.9"])
|
107
|
+
s.add_dependency(%q<rb-readline>, [">= 0"])
|
92
108
|
end
|
93
109
|
end
|
94
110
|
|
@@ -16,6 +16,16 @@ module CommaHeaven
|
|
16
16
|
def foreign_key_for(an_association)
|
17
17
|
an_association.respond_to?(:foreign_key) ? an_association.foreign_key : an_association.primary_key_name
|
18
18
|
end
|
19
|
+
|
20
|
+
def table_alias(method = :pluralize)
|
21
|
+
t = association.name.to_s.send(method)
|
22
|
+
|
23
|
+
return prefix + [((parent && parent.parent) ? parent.table_alias(method) : nil), t, index].compact.join('_')
|
24
|
+
end
|
25
|
+
|
26
|
+
def prefix
|
27
|
+
return "_"
|
28
|
+
end
|
19
29
|
end
|
20
30
|
end
|
21
31
|
end
|
@@ -32,29 +32,22 @@ module CommaHeaven
|
|
32
32
|
end
|
33
33
|
|
34
34
|
def table_alias(method = :pluralize)
|
35
|
-
t = case
|
36
|
-
when
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
model.table_name.send(method)
|
41
|
-
else
|
42
|
-
model.name.underscore
|
43
|
-
end
|
35
|
+
t = case method
|
36
|
+
when :pluralize
|
37
|
+
model.table_name
|
38
|
+
else
|
39
|
+
model.name.underscore
|
44
40
|
end
|
45
41
|
|
46
42
|
return prefix + [((parent && parent.parent) ? parent.table_alias(method) : nil), t, index].compact.join('_')
|
47
43
|
end
|
48
44
|
|
49
45
|
def prefix
|
50
|
-
return
|
51
|
-
when HasManyColumns, BelongsToColumns, HasOneColumns then "_"
|
52
|
-
else ''
|
53
|
-
end
|
46
|
+
return ''
|
54
47
|
end
|
55
48
|
|
56
49
|
def join_clause
|
57
|
-
''
|
50
|
+
return ''
|
58
51
|
end
|
59
52
|
|
60
53
|
protected
|
@@ -192,7 +192,7 @@ Bob,5,2.0
|
|
192
192
|
EOS
|
193
193
|
end
|
194
194
|
|
195
|
-
it 'should manage has_many :through associations (exporting by
|
195
|
+
it 'should manage has_many :through associations (exporting by column)' do
|
196
196
|
Gardener.to_comma_heaven(:export => { :name => {0 => {}},
|
197
197
|
:leafs => {1 => { :limit => 3,
|
198
198
|
:export => { :position => {0 => {}},
|
data/spec/export_spec.rb
CHANGED
@@ -2,15 +2,17 @@ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
|
2
2
|
|
3
3
|
describe "Export" do
|
4
4
|
before(:each) do
|
5
|
+
garden = Garden.create(:name => 'Camdem')
|
6
|
+
|
5
7
|
alice = Gardener.create(:name => 'Alice')
|
6
8
|
bob = Gardener.create(:name => 'Bob')
|
7
9
|
|
8
|
-
olmo = Tree.create(:name => 'Olmo', :age => 100, :gardener => alice)
|
10
|
+
olmo = Tree.create(:name => 'Olmo', :age => 100, :gardener => alice, :garden => garden)
|
9
11
|
olmo.leafs.create(:position => 'top')
|
10
12
|
olmo.leafs.create(:position => 'middle')
|
11
13
|
olmo.leafs.create(:position => 'bottom')
|
12
14
|
|
13
|
-
ulivo = Tree.create(:name => 'Ulivo', :age => 150, :gardener => bob)
|
15
|
+
ulivo = Tree.create(:name => 'Ulivo', :age => 150, :gardener => bob, :garden => garden)
|
14
16
|
ulivo.leafs.create(:position => '0', :height_from_ground => 1)
|
15
17
|
ulivo.leafs.create(:position => '5', :height_from_ground => 2)
|
16
18
|
|
@@ -20,6 +22,13 @@ describe "Export" do
|
|
20
22
|
"leafs" => {"2" => {"export" => { "position" => {"3" => {"as" => "", "include" => '1'} },
|
21
23
|
"height_from_ground" => {"4" => {'as' => '', :include => '1'} } } } } } }
|
22
24
|
end
|
25
|
+
|
26
|
+
it 'should export even models with explicitly set names, without making errors with pluralization' do
|
27
|
+
expect do
|
28
|
+
Garden.export({ 'export' => { "name" => {"0" => {"as" => '', 'include' => '1'} },
|
29
|
+
"trees" => {"1" => @params.merge(:limit => 3)} } }).save
|
30
|
+
end.to_not raise_error(Exception)
|
31
|
+
end
|
23
32
|
|
24
33
|
it 'should make available columns available as methods' do
|
25
34
|
Tree.export(@params).leafs.should be_instance_of(CommaHeaven::Export)
|
data/spec/spec_helper.rb
CHANGED
@@ -18,11 +18,15 @@ ActiveRecord::Base.configurations = true
|
|
18
18
|
|
19
19
|
ActiveRecord::Schema.verbose = false
|
20
20
|
|
21
|
-
puts ActiveRecord::VERSION::
|
21
|
+
puts ActiveRecord::VERSION::STRING
|
22
22
|
|
23
23
|
RSpec.configure do |config|
|
24
24
|
config.before(:all) do
|
25
25
|
ActiveRecord::Schema.define(:version => 1) do
|
26
|
+
create_table :gardens_ruben_the_prince do |t|
|
27
|
+
t.string :name
|
28
|
+
end
|
29
|
+
|
26
30
|
create_table :gardeners do |t|
|
27
31
|
t.string :name
|
28
32
|
t.string :surname
|
@@ -39,6 +43,7 @@ RSpec.configure do |config|
|
|
39
43
|
t.string :name
|
40
44
|
t.integer :age
|
41
45
|
t.integer :gardener_id
|
46
|
+
t.integer :garden_id
|
42
47
|
end
|
43
48
|
|
44
49
|
create_table :leaves do |t|
|
@@ -69,6 +74,7 @@ RSpec.configure do |config|
|
|
69
74
|
end
|
70
75
|
|
71
76
|
class Tree < ActiveRecord::Base
|
77
|
+
belongs_to :garden
|
72
78
|
belongs_to :gardener
|
73
79
|
has_many :leafs, :dependent => :destroy
|
74
80
|
has_many :matching_o_leafs, :class_name => 'Leaf', :conditions => ['position LIKE ?', '%o%']
|
@@ -76,26 +82,44 @@ RSpec.configure do |config|
|
|
76
82
|
|
77
83
|
case ActiveRecord::VERSION::MAJOR
|
78
84
|
when 1, 2
|
85
|
+
class Garden < ActiveRecord::Base
|
86
|
+
set_table_name 'gardens_ruben_the_prince'
|
87
|
+
has_many :trees
|
88
|
+
end
|
89
|
+
|
79
90
|
class Tree < ActiveRecord::Base
|
80
91
|
named_scope :that_begins_with_o, {:conditions => ['name LIKE ?', 'o%']}
|
81
92
|
end
|
93
|
+
|
94
|
+
class Leaf < ActiveRecord::Base
|
95
|
+
set_table_name 'leaves'
|
96
|
+
|
97
|
+
belongs_to :tree
|
98
|
+
has_many :cells
|
99
|
+
end
|
82
100
|
else
|
101
|
+
class Garden < ActiveRecord::Base
|
102
|
+
self.table_name = 'gardens_ruben_the_prince'
|
103
|
+
has_many :trees
|
104
|
+
end
|
105
|
+
|
83
106
|
class Tree < ActiveRecord::Base
|
84
107
|
scope :that_begins_with_o, {:conditions => ['name LIKE ?', 'o%']}
|
85
108
|
end
|
86
|
-
end
|
87
109
|
|
88
|
-
|
89
|
-
|
110
|
+
class Leaf < ActiveRecord::Base
|
111
|
+
self.table_name = 'leaves'
|
112
|
+
|
113
|
+
belongs_to :tree
|
114
|
+
has_many :cells
|
115
|
+
end
|
116
|
+
end
|
90
117
|
|
91
|
-
belongs_to :tree
|
92
|
-
has_many :cells
|
93
|
-
end
|
94
|
-
|
95
118
|
class Cell < ActiveRecord::Base
|
96
119
|
belongs_to :leaf
|
97
120
|
end
|
98
121
|
|
122
|
+
Garden.destroy_all
|
99
123
|
Gardener.destroy_all
|
100
124
|
GardenerClone.destroy_all
|
101
125
|
Tree.destroy_all
|
@@ -103,15 +127,9 @@ RSpec.configure do |config|
|
|
103
127
|
Cell.destroy_all
|
104
128
|
end
|
105
129
|
|
106
|
-
# config.after(:each) do
|
107
|
-
# Object.send(:remove_const, :Gardener)
|
108
|
-
# Object.send(:remove_const, :Tree)
|
109
|
-
# Object.send(:remove_const, :Leaf)
|
110
|
-
# Object.send(:remove_const, :Cell)
|
111
|
-
# end
|
112
|
-
|
113
130
|
config.after(:all) do
|
114
131
|
ActiveRecord::Schema.define(:version => 2) do
|
132
|
+
drop_table :gardens_ruben_the_prince
|
115
133
|
drop_table :gardeners
|
116
134
|
drop_table :gardener_clones
|
117
135
|
drop_table :trees
|
metadata
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
name: comma-heaven
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.8.
|
5
|
+
version: 0.8.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Silvano Stralla
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-05-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
prerelease: false
|
@@ -19,13 +19,13 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - <
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 4.0
|
22
|
+
version: '4.0'
|
23
23
|
none: false
|
24
24
|
requirement: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - <
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 4.0
|
28
|
+
version: '4.0'
|
29
29
|
none: false
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
prerelease: false
|
@@ -35,13 +35,29 @@ dependencies:
|
|
35
35
|
requirements:
|
36
36
|
- - <
|
37
37
|
- !ruby/object:Gem::Version
|
38
|
-
version: 4.0
|
38
|
+
version: '4.0'
|
39
39
|
none: false
|
40
40
|
requirement: !ruby/object:Gem::Requirement
|
41
41
|
requirements:
|
42
42
|
- - <
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version: 4.0
|
44
|
+
version: '4.0'
|
45
|
+
none: false
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
prerelease: false
|
48
|
+
name: rake
|
49
|
+
type: :development
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
none: false
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ! '>='
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
45
61
|
none: false
|
46
62
|
- !ruby/object:Gem::Dependency
|
47
63
|
prerelease: false
|
@@ -171,6 +187,70 @@ dependencies:
|
|
171
187
|
- !ruby/object:Gem::Version
|
172
188
|
version: '0'
|
173
189
|
none: false
|
190
|
+
- !ruby/object:Gem::Dependency
|
191
|
+
prerelease: false
|
192
|
+
name: guard
|
193
|
+
type: :development
|
194
|
+
version_requirements: !ruby/object:Gem::Requirement
|
195
|
+
requirements:
|
196
|
+
- - ! '>='
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: '0'
|
199
|
+
none: false
|
200
|
+
requirement: !ruby/object:Gem::Requirement
|
201
|
+
requirements:
|
202
|
+
- - ! '>='
|
203
|
+
- !ruby/object:Gem::Version
|
204
|
+
version: '0'
|
205
|
+
none: false
|
206
|
+
- !ruby/object:Gem::Dependency
|
207
|
+
prerelease: false
|
208
|
+
name: guard-shell
|
209
|
+
type: :development
|
210
|
+
version_requirements: !ruby/object:Gem::Requirement
|
211
|
+
requirements:
|
212
|
+
- - ~>
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: 0.5.1
|
215
|
+
none: false
|
216
|
+
requirement: !ruby/object:Gem::Requirement
|
217
|
+
requirements:
|
218
|
+
- - ~>
|
219
|
+
- !ruby/object:Gem::Version
|
220
|
+
version: 0.5.1
|
221
|
+
none: false
|
222
|
+
- !ruby/object:Gem::Dependency
|
223
|
+
prerelease: false
|
224
|
+
name: rb-fsevent
|
225
|
+
type: :development
|
226
|
+
version_requirements: !ruby/object:Gem::Requirement
|
227
|
+
requirements:
|
228
|
+
- - ~>
|
229
|
+
- !ruby/object:Gem::Version
|
230
|
+
version: '0.9'
|
231
|
+
none: false
|
232
|
+
requirement: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ~>
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0.9'
|
237
|
+
none: false
|
238
|
+
- !ruby/object:Gem::Dependency
|
239
|
+
prerelease: false
|
240
|
+
name: rb-readline
|
241
|
+
type: :development
|
242
|
+
version_requirements: !ruby/object:Gem::Requirement
|
243
|
+
requirements:
|
244
|
+
- - ! '>='
|
245
|
+
- !ruby/object:Gem::Version
|
246
|
+
version: '0'
|
247
|
+
none: false
|
248
|
+
requirement: !ruby/object:Gem::Requirement
|
249
|
+
requirements:
|
250
|
+
- - ! '>='
|
251
|
+
- !ruby/object:Gem::Version
|
252
|
+
version: '0'
|
253
|
+
none: false
|
174
254
|
description: CommaHeaven permits easy exports of Rails models to CSV
|
175
255
|
email: silvano.stralla@sistrall.it
|
176
256
|
executables: []
|
@@ -182,6 +262,7 @@ files:
|
|
182
262
|
- .document
|
183
263
|
- Gemfile
|
184
264
|
- Gemfile.lock
|
265
|
+
- Guardfile
|
185
266
|
- LICENSE
|
186
267
|
- README.rdoc
|
187
268
|
- Rakefile
|
@@ -220,7 +301,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
220
301
|
- !ruby/object:Gem::Version
|
221
302
|
segments:
|
222
303
|
- 0
|
223
|
-
hash:
|
304
|
+
hash: -1422923307113918860
|
224
305
|
version: '0'
|
225
306
|
none: false
|
226
307
|
required_rubygems_version: !ruby/object:Gem::Requirement
|