active_scaffold_export_vho 3.1.2 → 3.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +45 -0
- data/Rakefile +14 -38
- data/active_scaffold_export_vho.gemspec +12 -49
- data/app/assets/stylesheets/active_scaffold_export.css.erb +14 -0
- data/lib/active_scaffold_export/engine.rb +4 -4
- data/lib/active_scaffold_export/version.rb +1 -1
- metadata +56 -80
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 634d972c89ef9be39160d6e0179448d2198b979d
|
4
|
+
data.tar.gz: 0d41583e7d38881f735313744cb7ec58cb8e3adb
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e7832e1aeb74408ce4077068fe492699a145b6a8300b3a241d0c76056bc34a5bc4ff1249f4a5dcee07efefd349ae7959a1138f2e2e9c4b6b7dd61508d8edc214
|
7
|
+
data.tar.gz: 9127021f0c39e49e0a44d7505796c90bb40ce55875e22ca7433067020ef7ec24200a3f6f724566403f0cce29e5e4f2107d0a532e016bfac233c742368c16c143
|
data/.gitignore
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# rcov generated
|
2
|
+
coverage
|
3
|
+
|
4
|
+
# rdoc generated
|
5
|
+
rdoc
|
6
|
+
|
7
|
+
# yard generated
|
8
|
+
doc
|
9
|
+
.yardoc
|
10
|
+
|
11
|
+
# bundler
|
12
|
+
.bundle
|
13
|
+
|
14
|
+
# jeweler generated
|
15
|
+
pkg
|
16
|
+
|
17
|
+
Gemfile*
|
18
|
+
|
19
|
+
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
|
20
|
+
#
|
21
|
+
# * Create a file at ~/.gitignore
|
22
|
+
# * Include files you want ignored
|
23
|
+
# * Run: git config --global core.excludesfile ~/.gitignore
|
24
|
+
#
|
25
|
+
# After doing this, these files will be ignored in all your git projects,
|
26
|
+
# saving you from having to 'pollute' every project you touch with them
|
27
|
+
#
|
28
|
+
# Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
|
29
|
+
#
|
30
|
+
# For MacOS:
|
31
|
+
#
|
32
|
+
#.DS_Store
|
33
|
+
#
|
34
|
+
# For TextMate
|
35
|
+
#*.tmproj
|
36
|
+
#tmtags
|
37
|
+
#
|
38
|
+
# For emacs:
|
39
|
+
#*~
|
40
|
+
#\#*
|
41
|
+
#.\#*
|
42
|
+
#
|
43
|
+
# For vim:
|
44
|
+
#*.swp
|
45
|
+
nbproject
|
data/Rakefile
CHANGED
@@ -7,49 +7,25 @@ rescue Bundler::BundlerError => e
|
|
7
7
|
$stderr.puts "Run `bundle install` to install missing gems"
|
8
8
|
exit e.status_code
|
9
9
|
end
|
10
|
-
require 'rake'
|
11
|
-
|
12
|
-
require 'jeweler'
|
13
|
-
require './lib/active_scaffold_export/version.rb'
|
14
|
-
|
15
|
-
Jeweler::Tasks.new do |gem|
|
16
|
-
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
17
|
-
gem.name = "active_scaffold_export_vho"
|
18
|
-
gem.version = ActiveScaffoldExport::Version::STRING
|
19
|
-
gem.homepage = "http://github.com/vhochstein/active_scaffold_export"
|
20
|
-
gem.license = "MIT"
|
21
|
-
gem.summary = %Q{Exporting Records with ActiveScaffold}
|
22
|
-
gem.description = %Q{Exporting Records with ActiveScaffold}
|
23
|
-
gem.email = "activescaffold@googlegroups.com"
|
24
|
-
gem.authors = ["Volker Hochstein"]
|
25
|
-
gem.add_runtime_dependency 'active_scaffold_vho', '>= 3.1.2'
|
26
|
-
# Include your dependencies below. Runtime dependencies are required when using your gem,
|
27
|
-
# and development dependencies are only needed for development (ie running rake tasks, tests, etc)
|
28
|
-
# gem.add_runtime_dependency 'jabber4r', '> 0.1'
|
29
|
-
# gem.add_development_dependency 'rspec', '> 1.2.3'
|
30
|
-
end
|
31
|
-
Jeweler::RubygemsDotOrgTasks.new
|
32
10
|
|
11
|
+
Bundler::GemHelper.install_tasks
|
12
|
+
require 'rake'
|
33
13
|
require 'rake/testtask'
|
34
|
-
|
35
|
-
|
36
|
-
test.pattern = 'test/**/test_*.rb'
|
37
|
-
test.verbose = true
|
38
|
-
end
|
14
|
+
require 'rdoc/task'
|
15
|
+
require 'find'
|
39
16
|
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
17
|
+
desc 'Test ActiveScaffoldExport.'
|
18
|
+
Rake::TestTask.new(:test) do |t|
|
19
|
+
t.libs << 'lib'
|
20
|
+
t.pattern = 'test/**/*_test.rb'
|
21
|
+
t.verbose = true
|
45
22
|
end
|
46
23
|
|
47
|
-
|
48
|
-
|
49
|
-
require 'rake/rdoctask'
|
50
|
-
Rake::RDocTask.new do |rdoc|
|
24
|
+
desc 'Generate documentation for ActiveScaffoldExport.'
|
25
|
+
Rake::RDocTask.new(:rdoc) do |rdoc|
|
51
26
|
rdoc.rdoc_dir = 'rdoc'
|
52
|
-
rdoc.title
|
27
|
+
rdoc.title = 'ActiveScaffold #{ActiveScaffoldExport::Version::STRING}'
|
28
|
+
rdoc.options << '--line-numbers' << '--inline-source'
|
53
29
|
rdoc.rdoc_files.include('README*')
|
54
30
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
55
|
-
end
|
31
|
+
end
|
@@ -1,67 +1,30 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
1
|
# -*- encoding: utf-8 -*-
|
2
|
+
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
|
3
|
+
require 'active_scaffold_export/version'
|
5
4
|
|
6
5
|
Gem::Specification.new do |s|
|
7
6
|
s.name = %q{active_scaffold_export_vho}
|
8
|
-
s.version =
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
7
|
+
s.version = ActiveScaffoldExport::Version::STRING
|
8
|
+
s.platform = Gem::Platform::RUBY
|
11
9
|
s.authors = ["Volker Hochstein"]
|
12
10
|
s.date = %q{2012-02-11}
|
13
11
|
s.description = %q{Exporting Records with ActiveScaffold}
|
14
12
|
s.email = %q{activescaffold@googlegroups.com}
|
15
13
|
s.extra_rdoc_files = [
|
16
|
-
|
17
|
-
"README"
|
18
|
-
]
|
19
|
-
s.files = [
|
20
|
-
".document",
|
21
|
-
"LICENSE.txt",
|
22
|
-
"README",
|
23
|
-
"Rakefile",
|
24
|
-
"active_scaffold_export_vho.gemspec",
|
25
|
-
"app/assets/images/export.png",
|
26
|
-
"app/assets/stylesheets/active_scaffold_export.css.erb",
|
27
|
-
"app/assets/stylesheets/export-stylesheet-ie.css",
|
28
|
-
"frontends/default/views/_export.csv.erb",
|
29
|
-
"frontends/default/views/_export_form_body.html.erb",
|
30
|
-
"frontends/default/views/_show_export.html.erb",
|
31
|
-
"frontends/default/views/show_export.html.erb",
|
32
|
-
"init.rb",
|
33
|
-
"lib/active_scaffold/actions/export.rb",
|
34
|
-
"lib/active_scaffold/config/export.rb",
|
35
|
-
"lib/active_scaffold/helpers/export_helpers.rb",
|
36
|
-
"lib/active_scaffold_export.rb",
|
37
|
-
"lib/active_scaffold_export/config/core.rb",
|
38
|
-
"lib/active_scaffold_export/engine.rb",
|
39
|
-
"lib/active_scaffold_export/version.rb",
|
40
|
-
"lib/active_scaffold_export_vho.rb"
|
14
|
+
"README"
|
41
15
|
]
|
16
|
+
s.files = `git ls-files`.split("\n")
|
17
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
|
+
|
42
19
|
s.homepage = %q{http://github.com/vhochstein/active_scaffold_export}
|
43
20
|
s.licenses = ["MIT"]
|
44
21
|
s.require_paths = ["lib"]
|
45
|
-
s.
|
22
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
46
23
|
s.summary = %q{Exporting Records with ActiveScaffold}
|
47
24
|
|
48
|
-
|
49
|
-
|
50
|
-
|
25
|
+
s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
|
26
|
+
s.add_runtime_dependency(%q<active_scaffold_vho>, [">= 3.1.2"])
|
27
|
+
s.add_development_dependency(%q<simplecov>, ["~> 0.9.0"])
|
51
28
|
|
52
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
53
|
-
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
54
|
-
s.add_development_dependency(%q<rcov>, [">= 0"])
|
55
|
-
s.add_runtime_dependency(%q<active_scaffold_vho>, [">= 3.1.2"])
|
56
|
-
else
|
57
|
-
s.add_dependency(%q<jeweler>, [">= 0"])
|
58
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
59
|
-
s.add_dependency(%q<active_scaffold_vho>, [">= 3.1.2"])
|
60
|
-
end
|
61
|
-
else
|
62
|
-
s.add_dependency(%q<jeweler>, [">= 0"])
|
63
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
64
|
-
s.add_dependency(%q<active_scaffold_vho>, [">= 3.1.2"])
|
65
|
-
end
|
66
29
|
end
|
67
30
|
|
@@ -26,6 +26,20 @@
|
|
26
26
|
font-family: monospace;
|
27
27
|
}
|
28
28
|
|
29
|
+
.active-scaffold-header div.actions a.show_export {
|
30
|
+
margin:0;
|
31
|
+
padding: 5px 5px 5px 25px;
|
32
|
+
background-position: 5px 50%;
|
33
|
+
background-repeat: no-repeat;
|
34
|
+
}
|
35
|
+
|
36
|
+
.active-scaffold .active-scaffold .active-scaffold-header div.actions > a.show_export {
|
37
|
+
margin:0;
|
38
|
+
padding: 1px 5px 1px 20px;
|
39
|
+
background-position: 1px 50%;
|
40
|
+
background-repeat: no-repeat;
|
41
|
+
}
|
42
|
+
|
29
43
|
.as_touch .active-scaffold-header div.actions a.show_export {
|
30
44
|
padding: 7px 5px 7px 25px;
|
31
45
|
}
|
@@ -7,10 +7,10 @@ module ActiveScaffoldExport
|
|
7
7
|
ActiveSupport.on_load(:action_controller) do
|
8
8
|
require "active_scaffold_export/config/core.rb"
|
9
9
|
end
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
10
|
+
ActiveSupport.on_load(:action_view) do
|
11
|
+
require "active_scaffold/helpers/export_helpers.rb"
|
12
|
+
include ActiveScaffold::Helpers::ExportHelpers
|
13
|
+
end
|
14
14
|
end
|
15
15
|
end
|
16
16
|
#end
|
metadata
CHANGED
@@ -1,78 +1,66 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_scaffold_export_vho
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
segments:
|
6
|
-
- 3
|
7
|
-
- 1
|
8
|
-
- 2
|
9
|
-
segments_generated: true
|
10
|
-
version: 3.1.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.1.3
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Volker Hochstein
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
|
-
requirements:
|
11
|
+
date: 2012-02-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
26
17
|
- - ">="
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
- 0
|
30
|
-
segments_generated: true
|
31
|
-
version: "0"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.0.0
|
32
20
|
type: :development
|
33
21
|
prerelease: false
|
34
|
-
version_requirements:
|
35
|
-
|
36
|
-
name: rcov
|
37
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
-
none: false
|
39
|
-
requirements:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
40
24
|
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
|
43
|
-
|
44
|
-
segments_generated: true
|
45
|
-
version: "0"
|
46
|
-
type: :development
|
47
|
-
prerelease: false
|
48
|
-
version_requirements: *id002
|
49
|
-
- !ruby/object:Gem::Dependency
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.0.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
50
28
|
name: active_scaffold_vho
|
51
|
-
requirement:
|
52
|
-
|
53
|
-
requirements:
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
54
31
|
- - ">="
|
55
|
-
- !ruby/object:Gem::Version
|
56
|
-
segments:
|
57
|
-
- 3
|
58
|
-
- 1
|
59
|
-
- 2
|
60
|
-
segments_generated: true
|
32
|
+
- !ruby/object:Gem::Version
|
61
33
|
version: 3.1.2
|
62
34
|
type: :runtime
|
63
35
|
prerelease: false
|
64
|
-
version_requirements:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 3.1.2
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: simplecov
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.9.0
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.9.0
|
65
55
|
description: Exporting Records with ActiveScaffold
|
66
56
|
email: activescaffold@googlegroups.com
|
67
57
|
executables: []
|
68
|
-
|
69
58
|
extensions: []
|
70
|
-
|
71
|
-
extra_rdoc_files:
|
72
|
-
- LICENSE.txt
|
59
|
+
extra_rdoc_files:
|
73
60
|
- README
|
74
|
-
files:
|
75
|
-
- .document
|
61
|
+
files:
|
62
|
+
- ".document"
|
63
|
+
- ".gitignore"
|
76
64
|
- LICENSE.txt
|
77
65
|
- README
|
78
66
|
- Rakefile
|
@@ -93,40 +81,28 @@ files:
|
|
93
81
|
- lib/active_scaffold_export/engine.rb
|
94
82
|
- lib/active_scaffold_export/version.rb
|
95
83
|
- lib/active_scaffold_export_vho.rb
|
96
|
-
has_rdoc: true
|
97
84
|
homepage: http://github.com/vhochstein/active_scaffold_export
|
98
|
-
licenses:
|
85
|
+
licenses:
|
99
86
|
- MIT
|
87
|
+
metadata: {}
|
100
88
|
post_install_message:
|
101
89
|
rdoc_options: []
|
102
|
-
|
103
|
-
require_paths:
|
90
|
+
require_paths:
|
104
91
|
- lib
|
105
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
106
|
-
|
107
|
-
requirements:
|
92
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
108
94
|
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
segments_generated: true
|
114
|
-
version: "0"
|
115
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
116
|
-
none: false
|
117
|
-
requirements:
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
118
99
|
- - ">="
|
119
|
-
- !ruby/object:Gem::Version
|
120
|
-
|
121
|
-
- 0
|
122
|
-
segments_generated: true
|
123
|
-
version: "0"
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
124
102
|
requirements: []
|
125
|
-
|
126
103
|
rubyforge_project:
|
127
|
-
rubygems_version:
|
104
|
+
rubygems_version: 2.5.1
|
128
105
|
signing_key:
|
129
|
-
specification_version:
|
106
|
+
specification_version: 4
|
130
107
|
summary: Exporting Records with ActiveScaffold
|
131
108
|
test_files: []
|
132
|
-
|