active_scaffold_config_list_vho 3.0.2 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -14,4 +14,15 @@ A plugin for Active Scaffold that provides the ability to choose the column to s
14
14
  The configuration data will be saved on the session.
15
15
 
16
16
 
17
+ Rails 3.0 Gem:
18
+ gem 'active_scaffold_config_list_vho'
19
+ or
20
+ gem 'active_scaffold_config_list_vho', :git => 'git://github.com/vhochstein/active_scaffold_config_list.git', :branch => 'rails-3.0'
21
+
22
+ Rails 3.1 Gem:
23
+ gem 'active_scaffold_config_list_vho'
24
+ or
25
+ gem 'active_scaffold_config_list_vho', :git => 'git://github.com/vhochstein/active_scaffold_config_list.git'
26
+
27
+
17
28
 
data/Rakefile CHANGED
@@ -22,7 +22,7 @@ Jeweler::Tasks.new do |gem|
22
22
  gem.description = %Q{User may reorder and hide/show list columns}
23
23
  gem.email = "activescaffold@googlegroups.com"
24
24
  gem.authors = ["Volker Hochstein"]
25
- gem.add_runtime_dependency 'active_scaffold_vho', '~> 3.0'
25
+ gem.add_runtime_dependency 'active_scaffold_vho', '~> 3.1'
26
26
  # Include your dependencies below. Runtime dependencies are required when using your gem,
27
27
  # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
28
28
  # gem.add_runtime_dependency 'jabber4r', '> 0.1'
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{active_scaffold_config_list_vho}
8
- s.version = "3.0.2"
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 = ["Volker Hochstein"]
12
- s.date = %q{2011-02-01}
12
+ s.date = %q{2011-11-23}
13
13
  s.description = %q{User may reorder and hide/show list columns}
14
14
  s.email = %q{activescaffold@googlegroups.com}
15
15
  s.extra_rdoc_files = [
@@ -22,8 +22,8 @@ Gem::Specification.new do |s|
22
22
  "README",
23
23
  "Rakefile",
24
24
  "active_scaffold_config_list_vho.gemspec",
25
- "frontends/default/stylesheets/cf_as-stylesheet-ie.css",
26
- "frontends/default/stylesheets/cf_as-stylesheet.css",
25
+ "app/assets/stylesheets/active_scaffold_config_list-ie.css",
26
+ "app/assets/stylesheets/active_scaffold_config_list.css.erb",
27
27
  "frontends/default/views/_show_config_list_form.html.erb",
28
28
  "frontends/default/views/_show_config_list_form_body.html.erb",
29
29
  "frontends/default/views/show_config_list_form.html.erb",
@@ -33,8 +33,13 @@ Gem::Specification.new do |s|
33
33
  "lib/active_scaffold/helpers/config_list_helpers.rb",
34
34
  "lib/active_scaffold_config_list.rb",
35
35
  "lib/active_scaffold_config_list/config/core.rb",
36
+ "lib/active_scaffold_config_list/engine.rb",
36
37
  "lib/active_scaffold_config_list/version.rb",
37
38
  "lib/active_scaffold_config_list_vho.rb",
39
+ "nbproject/private/private.properties",
40
+ "nbproject/private/rake-d.txt",
41
+ "nbproject/project.properties",
42
+ "nbproject/project.xml",
38
43
  "uninstall.rb"
39
44
  ]
40
45
  s.homepage = %q{http://github.com/vhochstein/active_scaffold_config_list}
@@ -48,24 +53,18 @@ Gem::Specification.new do |s|
48
53
  s.specification_version = 3
49
54
 
50
55
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
51
- s.add_development_dependency(%q<shoulda>, [">= 0"])
52
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
53
- s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
56
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
54
57
  s.add_development_dependency(%q<rcov>, [">= 0"])
55
- s.add_runtime_dependency(%q<active_scaffold_vho>, ["~> 3.0"])
58
+ s.add_runtime_dependency(%q<active_scaffold_vho>, ["~> 3.1"])
56
59
  else
57
- s.add_dependency(%q<shoulda>, [">= 0"])
58
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
59
- s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
60
+ s.add_dependency(%q<jeweler>, [">= 0"])
60
61
  s.add_dependency(%q<rcov>, [">= 0"])
61
- s.add_dependency(%q<active_scaffold_vho>, ["~> 3.0"])
62
+ s.add_dependency(%q<active_scaffold_vho>, ["~> 3.1"])
62
63
  end
63
64
  else
64
- s.add_dependency(%q<shoulda>, [">= 0"])
65
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
66
- s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
65
+ s.add_dependency(%q<jeweler>, [">= 0"])
67
66
  s.add_dependency(%q<rcov>, [">= 0"])
68
- s.add_dependency(%q<active_scaffold_vho>, ["~> 3.0"])
67
+ s.add_dependency(%q<active_scaffold_vho>, ["~> 3.1"])
69
68
  end
70
69
  end
71
70
 
@@ -1,2 +1,2 @@
1
- /* IE hacks
2
- ==================================== */
1
+ /* IE hacks
2
+ ==================================== */
@@ -1,6 +1,9 @@
1
1
  # Make sure that ActiveScaffold has already been included
2
2
  ActiveScaffold rescue throw "should have included ActiveScaffold plug in first. Please make sure that this overwrite plugging comes alphabetically after the ActiveScaffold plug in"
3
3
 
4
+ require 'active_scaffold_config_list/engine'
5
+ require 'active_scaffold_config_list/version'
6
+
4
7
  # Load our overrides
5
8
  require "active_scaffold_config_list/config/core.rb"
6
9
 
@@ -24,17 +27,4 @@ module ActiveScaffold
24
27
  end
25
28
  end
26
29
 
27
- ActionView::Base.send(:include, ActiveScaffold::Helpers::ConfigListHelpers)
28
-
29
-
30
- ##
31
- ## Run the install assets script, too, just to make sure
32
- ## But at least rescue the action in production
33
- ##
34
- Rails::Application.initializer("active_scaffold_config_list.install_assets", :after => "active_scaffold.install_assets") do
35
- begin
36
- ActiveScaffoldAssets.copy_to_public(ActiveScaffoldConfigList.root)
37
- rescue
38
- raise $! unless Rails.env == 'production'
39
- end
40
- end if defined?(ACTIVE_SCAFFOLD_CONFIG_LIST_GEM)
30
+ ActionView::Base.send(:include, ActiveScaffold::Helpers::ConfigListHelpers)
@@ -0,0 +1,8 @@
1
+ module ActiveScaffoldConfigList
2
+ #do not use module Rails... cause Rails.logger will fail
3
+ # not sure if it is a must though...
4
+ #module Rails
5
+ class Engine < ::Rails::Engine
6
+ end
7
+ #end
8
+ end
@@ -1,8 +1,8 @@
1
1
  module ActiveScaffoldConfigList
2
2
  module Version
3
3
  MAJOR = 3
4
- MINOR = 0
5
- PATCH = 2
4
+ MINOR = 1
5
+ PATCH = 0
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
@@ -0,0 +1,3 @@
1
+ file.reference.active_scaffold_config_list-app=/home/vhochstein/rails/projects/active_scaffold_config_list/app
2
+ file.reference.active_scaffold_config_list-frontends=/home/vhochstein/rails/projects/active_scaffold_config_list/frontends
3
+ file.reference.active_scaffold_config_list-lib=/home/vhochstein/rails/projects/active_scaffold_config_list/lib
File without changes
@@ -0,0 +1,9 @@
1
+ app.dir=${file.reference.active_scaffold_config_list-app}
2
+ file.reference.active_scaffold_config_list-app=app
3
+ file.reference.active_scaffold_config_list-frontends=frontends
4
+ file.reference.active_scaffold_config_list-lib=lib
5
+ frontends.dir=${file.reference.active_scaffold_config_list-frontends}
6
+ main.file=
7
+ platform.active=Ruby_0
8
+ source.encoding=UTF-8
9
+ src.dir=${file.reference.active_scaffold_config_list-lib}
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project xmlns="http://www.netbeans.org/ns/project/1">
3
+ <type>org.netbeans.modules.ruby.rubyproject</type>
4
+ <configuration>
5
+ <data xmlns="http://www.netbeans.org/ns/ruby-project/1">
6
+ <name>active_scaffold_config_list</name>
7
+ <source-roots>
8
+ <root id="src.dir"/>
9
+ <root id="frontends.dir"/>
10
+ <root id="app.dir"/>
11
+ </source-roots>
12
+ <test-roots/>
13
+ </data>
14
+ </configuration>
15
+ </project>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_scaffold_config_list_vho
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
5
4
  prerelease: false
6
5
  segments:
7
6
  - 3
7
+ - 1
8
8
  - 0
9
- - 2
10
- version: 3.0.2
9
+ segments_generated: true
10
+ version: 3.1.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Volker Hochstein
@@ -15,84 +15,52 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-01 00:00:00 +01:00
18
+ date: 2011-11-23 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- prerelease: false
23
- name: shoulda
24
- version_requirements: &id001 !ruby/object:Gem::Requirement
22
+ name: jeweler
23
+ requirement: &id001 !ruby/object:Gem::Requirement
25
24
  none: false
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- hash: 3
30
28
  segments:
31
29
  - 0
30
+ segments_generated: true
32
31
  version: "0"
33
- requirement: *id001
34
- type: :development
35
- - !ruby/object:Gem::Dependency
36
- prerelease: false
37
- name: bundler
38
- version_requirements: &id002 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ~>
42
- - !ruby/object:Gem::Version
43
- hash: 23
44
- segments:
45
- - 1
46
- - 0
47
- - 0
48
- version: 1.0.0
49
- requirement: *id002
50
32
  type: :development
51
- - !ruby/object:Gem::Dependency
52
33
  prerelease: false
53
- name: jeweler
54
- version_requirements: &id003 !ruby/object:Gem::Requirement
55
- none: false
56
- requirements:
57
- - - ~>
58
- - !ruby/object:Gem::Version
59
- hash: 7
60
- segments:
61
- - 1
62
- - 5
63
- - 2
64
- version: 1.5.2
65
- requirement: *id003
66
- type: :development
34
+ version_requirements: *id001
67
35
  - !ruby/object:Gem::Dependency
68
- prerelease: false
69
36
  name: rcov
70
- version_requirements: &id004 !ruby/object:Gem::Requirement
37
+ requirement: &id002 !ruby/object:Gem::Requirement
71
38
  none: false
72
39
  requirements:
73
40
  - - ">="
74
41
  - !ruby/object:Gem::Version
75
- hash: 3
76
42
  segments:
77
43
  - 0
44
+ segments_generated: true
78
45
  version: "0"
79
- requirement: *id004
80
46
  type: :development
81
- - !ruby/object:Gem::Dependency
82
47
  prerelease: false
48
+ version_requirements: *id002
49
+ - !ruby/object:Gem::Dependency
83
50
  name: active_scaffold_vho
84
- version_requirements: &id005 !ruby/object:Gem::Requirement
51
+ requirement: &id003 !ruby/object:Gem::Requirement
85
52
  none: false
86
53
  requirements:
87
54
  - - ~>
88
55
  - !ruby/object:Gem::Version
89
- hash: 7
90
56
  segments:
91
57
  - 3
92
- - 0
93
- version: "3.0"
94
- requirement: *id005
58
+ - 1
59
+ segments_generated: true
60
+ version: "3.1"
95
61
  type: :runtime
62
+ prerelease: false
63
+ version_requirements: *id003
96
64
  description: User may reorder and hide/show list columns
97
65
  email: activescaffold@googlegroups.com
98
66
  executables: []
@@ -108,8 +76,8 @@ files:
108
76
  - README
109
77
  - Rakefile
110
78
  - active_scaffold_config_list_vho.gemspec
111
- - frontends/default/stylesheets/cf_as-stylesheet-ie.css
112
- - frontends/default/stylesheets/cf_as-stylesheet.css
79
+ - app/assets/stylesheets/active_scaffold_config_list-ie.css
80
+ - app/assets/stylesheets/active_scaffold_config_list.css.erb
113
81
  - frontends/default/views/_show_config_list_form.html.erb
114
82
  - frontends/default/views/_show_config_list_form_body.html.erb
115
83
  - frontends/default/views/show_config_list_form.html.erb
@@ -119,8 +87,13 @@ files:
119
87
  - lib/active_scaffold/helpers/config_list_helpers.rb
120
88
  - lib/active_scaffold_config_list.rb
121
89
  - lib/active_scaffold_config_list/config/core.rb
90
+ - lib/active_scaffold_config_list/engine.rb
122
91
  - lib/active_scaffold_config_list/version.rb
123
92
  - lib/active_scaffold_config_list_vho.rb
93
+ - nbproject/private/private.properties
94
+ - nbproject/private/rake-d.txt
95
+ - nbproject/project.properties
96
+ - nbproject/project.xml
124
97
  - uninstall.rb
125
98
  has_rdoc: true
126
99
  homepage: http://github.com/vhochstein/active_scaffold_config_list
@@ -136,18 +109,19 @@ required_ruby_version: !ruby/object:Gem::Requirement
136
109
  requirements:
137
110
  - - ">="
138
111
  - !ruby/object:Gem::Version
139
- hash: 3
112
+ hash: 2484568556687358833
140
113
  segments:
141
114
  - 0
115
+ segments_generated: true
142
116
  version: "0"
143
117
  required_rubygems_version: !ruby/object:Gem::Requirement
144
118
  none: false
145
119
  requirements:
146
120
  - - ">="
147
121
  - !ruby/object:Gem::Version
148
- hash: 3
149
122
  segments:
150
123
  - 0
124
+ segments_generated: true
151
125
  version: "0"
152
126
  requirements: []
153
127