e9_polls 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/e9_polls/polls/index.html.haml +4 -2
- data/e9_polls.gemspec +0 -5
- data/lib/e9_polls/version.rb +1 -1
- metadata +32 -62
@@ -1,9 +1,11 @@
|
|
1
1
|
= title (@index_title || e9_t(:index_title))
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
- content_for :toolbar_right do
|
4
|
+
= toolbar_actions do
|
5
5
|
= e9_polls_resource_link(:new, resource_class)
|
6
6
|
|
7
|
+
= render 'shared/admin/toolbar'
|
8
|
+
|
7
9
|
%div#records_table
|
8
10
|
= render 'table', :resources => collection
|
9
11
|
|
data/e9_polls.gemspec
CHANGED
@@ -18,9 +18,4 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
20
|
s.require_paths = ["lib"]
|
21
|
-
|
22
|
-
# NOTE This gem depends on e9_base ~> 1.3, but cannot reference it
|
23
|
-
# because it is a private repository.
|
24
|
-
#
|
25
|
-
# s.add_dependency("e9_base", "~> 1.3.0")
|
26
21
|
end
|
data/lib/e9_polls/version.rb
CHANGED
metadata
CHANGED
@@ -1,60 +1,35 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: e9_polls
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.9
|
4
5
|
prerelease:
|
5
|
-
version: 1.0.8
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Travis Cox
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
date: 2011-08-08 00:00:00 -04:00
|
14
|
-
default_executable:
|
12
|
+
date: 2011-10-14 00:00:00.000000000Z
|
15
13
|
dependencies: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
This will install the db migration, the JS and CSS required for the plugin to
|
32
|
-
function properly, and an initializer.
|
33
|
-
|
34
|
-
Modify the CSS as you see fit and the JS as required (carefully).
|
35
|
-
|
36
|
-
Check out the initializer and modify if necessary. For non-Ajax fallbacks it uses
|
37
|
-
the 'application' layout. This should be changed if the app doesn't use application
|
38
|
-
layout as a sensible default.
|
39
|
-
|
40
|
-
2. Migrate the database.
|
41
|
-
|
42
|
-
rake db:migrate
|
43
|
-
|
44
|
-
3. Finally, include the generated javascript and css (e9_polls.js and e9_polls.css)
|
45
|
-
in the fashion suited to the app.
|
46
|
-
|
47
|
-
4. There is no #4.
|
48
|
-
|
49
|
-
email:
|
14
|
+
description: ! "** NOTE - This gem depends on e9_base, but does not reference it.
|
15
|
+
\ It WILL NOT FUNCTION for apps which aren't built on the e9 Rails 3 CMS **\n\n==
|
16
|
+
E9Polls\n\nProvites a Poll renderable for the e9 Rails 3 CMS.\n\n== Installation\n\n1.
|
17
|
+
\ Include the gem and run the install generator to copy over the necessary files,
|
18
|
+
\n then migrate.\n \n rails g e9_polls:install\n\n This will
|
19
|
+
install the db migration, the JS and CSS required for the plugin to \n function
|
20
|
+
properly, and an initializer.\n \n Modify the CSS as you see fit and the JS
|
21
|
+
as required (carefully).\n\n Check out the initializer and modify if necessary.
|
22
|
+
\ For non-Ajax fallbacks it uses \n the 'application' layout. This should be
|
23
|
+
changed if the app doesn't use application \n layout as a sensible default.\n\n2.
|
24
|
+
\ Migrate the database. \n\n rake db:migrate\n\n3. Finally, include the
|
25
|
+
generated javascript and css (e9_polls.js and e9_polls.css) \n in the fashion
|
26
|
+
suited to the app.\n\n4. There is no #4.\n"
|
27
|
+
email:
|
50
28
|
- travis@e9digital.com
|
51
29
|
executables: []
|
52
|
-
|
53
30
|
extensions: []
|
54
|
-
|
55
31
|
extra_rdoc_files: []
|
56
|
-
|
57
|
-
files:
|
32
|
+
files:
|
58
33
|
- .gitignore
|
59
34
|
- Gemfile
|
60
35
|
- README.rdoc
|
@@ -90,33 +65,28 @@ files:
|
|
90
65
|
- lib/generators/e9_polls/templates/javascript.js
|
91
66
|
- lib/generators/e9_polls/templates/migration.rb
|
92
67
|
- lib/generators/e9_polls/templates/stylesheet.css
|
93
|
-
has_rdoc: true
|
94
68
|
homepage: http://github.com/e9digital/e9_polls
|
95
69
|
licenses: []
|
96
|
-
|
97
70
|
post_install_message:
|
98
71
|
rdoc_options: []
|
99
|
-
|
100
|
-
require_paths:
|
72
|
+
require_paths:
|
101
73
|
- lib
|
102
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
74
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
103
75
|
none: false
|
104
|
-
requirements:
|
105
|
-
- -
|
106
|
-
- !ruby/object:Gem::Version
|
107
|
-
version:
|
108
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - ! '>='
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0'
|
80
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
81
|
none: false
|
110
|
-
requirements:
|
111
|
-
- -
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
version:
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
114
86
|
requirements: []
|
115
|
-
|
116
87
|
rubyforge_project: e9_polls
|
117
|
-
rubygems_version: 1.
|
88
|
+
rubygems_version: 1.8.10
|
118
89
|
signing_key:
|
119
90
|
specification_version: 3
|
120
91
|
summary: Polls module for the e9 Rails 3 cms
|
121
92
|
test_files: []
|
122
|
-
|