active_scaffold_export 3.0.4 → 3.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.document +1 -1
- data/MIT-LICENSE +1 -0
- data/README.markdown +1 -1
- data/Rakefile +1 -1
- data/active_scaffold_export.gemspec +4 -6
- data/init.rb +1 -6
- data/lib/active_scaffold_export.rb +5 -5
- data/lib/active_scaffold_export/version.rb +1 -1
- metadata +6 -8
- data/LICENSE.txt +0 -20
data/.document
CHANGED
data/MIT-LICENSE
CHANGED
data/README.markdown
CHANGED
data/Rakefile
CHANGED
|
@@ -22,7 +22,7 @@ Jeweler::Tasks.new do |gem|
|
|
|
22
22
|
gem.description = %Q{This Active Scaffold plugin provides a configurable CSV 'Export' action for Active Scaffold controllers}
|
|
23
23
|
gem.email = "activescaffold@googlegroups.com"
|
|
24
24
|
gem.authors = ["Volker Hochstein", "Mojo Tech, LLC", "see commits"]
|
|
25
|
-
gem.add_runtime_dependency 'active_scaffold', '>= 3.0.
|
|
25
|
+
gem.add_runtime_dependency 'active_scaffold', '>= 3.0.12'
|
|
26
26
|
gem.add_runtime_dependency "fastercsv"
|
|
27
27
|
|
|
28
28
|
# Include your dependencies below. Runtime dependencies are required when using your gem,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{active_scaffold_export}
|
|
8
|
-
s.version = "3.0.
|
|
8
|
+
s.version = "3.0.5"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Volker Hochstein", "Mojo Tech, LLC", "see commits"]
|
|
@@ -13,13 +13,11 @@ Gem::Specification.new do |s|
|
|
|
13
13
|
s.description = %q{This Active Scaffold plugin provides a configurable CSV 'Export' action for Active Scaffold controllers}
|
|
14
14
|
s.email = %q{activescaffold@googlegroups.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
|
16
|
-
"LICENSE.txt",
|
|
17
16
|
"README.markdown"
|
|
18
17
|
]
|
|
19
18
|
s.files = [
|
|
20
19
|
".document",
|
|
21
20
|
"Gemfile",
|
|
22
|
-
"LICENSE.txt",
|
|
23
21
|
"MIT-LICENSE",
|
|
24
22
|
"README.markdown",
|
|
25
23
|
"Rakefile",
|
|
@@ -54,14 +52,14 @@ Gem::Specification.new do |s|
|
|
|
54
52
|
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
|
55
53
|
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
|
56
54
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
|
57
|
-
s.add_runtime_dependency(%q<active_scaffold>, [">= 3.0.
|
|
55
|
+
s.add_runtime_dependency(%q<active_scaffold>, [">= 3.0.12"])
|
|
58
56
|
s.add_runtime_dependency(%q<fastercsv>, [">= 0"])
|
|
59
57
|
else
|
|
60
58
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
|
61
59
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
|
62
60
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
|
63
61
|
s.add_dependency(%q<rcov>, [">= 0"])
|
|
64
|
-
s.add_dependency(%q<active_scaffold>, [">= 3.0.
|
|
62
|
+
s.add_dependency(%q<active_scaffold>, [">= 3.0.12"])
|
|
65
63
|
s.add_dependency(%q<fastercsv>, [">= 0"])
|
|
66
64
|
end
|
|
67
65
|
else
|
|
@@ -69,7 +67,7 @@ Gem::Specification.new do |s|
|
|
|
69
67
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
|
70
68
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
|
71
69
|
s.add_dependency(%q<rcov>, [">= 0"])
|
|
72
|
-
s.add_dependency(%q<active_scaffold>, [">= 3.0.
|
|
70
|
+
s.add_dependency(%q<active_scaffold>, [">= 3.0.12"])
|
|
73
71
|
s.add_dependency(%q<fastercsv>, [">= 0"])
|
|
74
72
|
end
|
|
75
73
|
end
|
data/init.rb
CHANGED
|
@@ -34,10 +34,10 @@ ActionView::Base.send(:include, ActiveScaffold::Helpers::ExportHelpers)
|
|
|
34
34
|
## Run the install assets script, too, just to make sure
|
|
35
35
|
## But at least rescue the action in production
|
|
36
36
|
##
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
if defined?(ACTIVE_SCAFFOLD_EXPORT_PLUGIN)
|
|
38
|
+
ActiveScaffoldAssets.copy_to_public(ActiveScaffoldExport.root)
|
|
39
|
+
else
|
|
40
|
+
Rails::Application.initializer("active_scaffold_export.install_assets", :after => "active_scaffold.install_assets") do
|
|
39
41
|
ActiveScaffoldAssets.copy_to_public(ActiveScaffoldExport.root)
|
|
40
|
-
rescue
|
|
41
|
-
raise $! unless Rails.env == 'production'
|
|
42
42
|
end
|
|
43
|
-
end
|
|
43
|
+
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_scaffold_export
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 13
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 3
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 3.0.
|
|
9
|
+
- 5
|
|
10
|
+
version: 3.0.5
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Volker Hochstein
|
|
@@ -88,12 +88,12 @@ dependencies:
|
|
|
88
88
|
requirements:
|
|
89
89
|
- - ">="
|
|
90
90
|
- !ruby/object:Gem::Version
|
|
91
|
-
hash:
|
|
91
|
+
hash: 31
|
|
92
92
|
segments:
|
|
93
93
|
- 3
|
|
94
94
|
- 0
|
|
95
|
-
-
|
|
96
|
-
version: 3.0.
|
|
95
|
+
- 12
|
|
96
|
+
version: 3.0.12
|
|
97
97
|
requirement: *id005
|
|
98
98
|
type: :runtime
|
|
99
99
|
- !ruby/object:Gem::Dependency
|
|
@@ -117,12 +117,10 @@ executables: []
|
|
|
117
117
|
extensions: []
|
|
118
118
|
|
|
119
119
|
extra_rdoc_files:
|
|
120
|
-
- LICENSE.txt
|
|
121
120
|
- README.markdown
|
|
122
121
|
files:
|
|
123
122
|
- .document
|
|
124
123
|
- Gemfile
|
|
125
|
-
- LICENSE.txt
|
|
126
124
|
- MIT-LICENSE
|
|
127
125
|
- README.markdown
|
|
128
126
|
- Rakefile
|
data/LICENSE.txt
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2011 vhochstein
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
-
a copy of this software and associated documentation files (the
|
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
-
the following conditions:
|
|
10
|
-
|
|
11
|
-
The above copyright notice and this permission notice shall be
|
|
12
|
-
included in all copies or substantial portions of the Software.
|
|
13
|
-
|
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|