panel 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +42 -0
- data/Rakefile +34 -0
- data/app/assets/javascripts/panel/index.js +2 -0
- data/app/assets/stylesheets/panel/base.scss +59 -0
- data/app/assets/stylesheets/panel/content.scss +5 -0
- data/app/assets/stylesheets/panel/flash.scss +24 -0
- data/app/assets/stylesheets/panel/footer.scss +13 -0
- data/app/assets/stylesheets/panel/forms.scss +86 -0
- data/app/assets/stylesheets/panel/header.scss +19 -0
- data/app/assets/stylesheets/panel/index.css +3 -0
- data/app/assets/stylesheets/panel/navigation.scss +34 -0
- data/app/assets/stylesheets/panel/options.scss +26 -0
- data/app/assets/stylesheets/panel/page.scss +7 -0
- data/app/assets/stylesheets/panel/pager.scss +39 -0
- data/app/assets/stylesheets/panel/tables.scss +40 -0
- data/app/helpers/panel/base_helper.rb +9 -0
- data/app/views/panel/_errors.html.erb +5 -0
- data/app/views/panel/_options.html.erb +8 -0
- data/config/locales/en.yml +18 -0
- data/config/locales/es.yml +18 -0
- data/lib/generators/panel/install_generator.rb +20 -0
- data/lib/generators/panel/resource_generator.rb +33 -0
- data/lib/generators/panel/templates/install/base_controller.rb +15 -0
- data/lib/generators/panel/templates/install/index.html.erb +0 -0
- data/lib/generators/panel/templates/install/pages_controller.rb +8 -0
- data/lib/generators/panel/templates/install/panel.html.erb +55 -0
- data/lib/generators/panel/templates/resource/_form.html.erb +7 -0
- data/lib/generators/panel/templates/resource/edit.html.erb +3 -0
- data/lib/generators/panel/templates/resource/index.html.erb +20 -0
- data/lib/generators/panel/templates/resource/new.html.erb +3 -0
- data/lib/generators/panel/templates/resource/resource_controller.rb +46 -0
- data/lib/panel.rb +5 -0
- data/lib/panel/engine.rb +4 -0
- data/lib/panel/version.rb +5 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +29 -0
- data/test/dummy/config/environments/production.rb +80 -0
- data/test/dummy/config/environments/test.rb +36 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +12 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/public/404.html +58 -0
- data/test/dummy/public/422.html +58 -0
- data/test/dummy/public/500.html +57 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/test_helper.rb +15 -0
- metadata +198 -0
File without changes
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV['RAILS_ENV'] = 'test'
|
3
|
+
|
4
|
+
require File.expand_path('../dummy/config/environment.rb', __FILE__)
|
5
|
+
require 'rails/test_help'
|
6
|
+
|
7
|
+
Rails.backtrace_cleaner.remove_silencers!
|
8
|
+
|
9
|
+
# Load support files
|
10
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
11
|
+
|
12
|
+
# Load fixtures from the engine
|
13
|
+
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
|
14
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path('../fixtures', __FILE__)
|
15
|
+
end
|
metadata
ADDED
@@ -0,0 +1,198 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: panel
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.5
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Mattways
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-01-20 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.0.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.0.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: tuning
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: pageable
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: sqlite3
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
description: Minimalistic and easy to customize panel.
|
70
|
+
email:
|
71
|
+
- contact@mattways.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- MIT-LICENSE
|
77
|
+
- README.rdoc
|
78
|
+
- Rakefile
|
79
|
+
- app/assets/javascripts/panel/index.js
|
80
|
+
- app/assets/stylesheets/panel/base.scss
|
81
|
+
- app/assets/stylesheets/panel/content.scss
|
82
|
+
- app/assets/stylesheets/panel/flash.scss
|
83
|
+
- app/assets/stylesheets/panel/footer.scss
|
84
|
+
- app/assets/stylesheets/panel/forms.scss
|
85
|
+
- app/assets/stylesheets/panel/header.scss
|
86
|
+
- app/assets/stylesheets/panel/index.css
|
87
|
+
- app/assets/stylesheets/panel/navigation.scss
|
88
|
+
- app/assets/stylesheets/panel/options.scss
|
89
|
+
- app/assets/stylesheets/panel/page.scss
|
90
|
+
- app/assets/stylesheets/panel/pager.scss
|
91
|
+
- app/assets/stylesheets/panel/tables.scss
|
92
|
+
- app/helpers/panel/base_helper.rb
|
93
|
+
- app/views/panel/_errors.html.erb
|
94
|
+
- app/views/panel/_options.html.erb
|
95
|
+
- config/locales/en.yml
|
96
|
+
- config/locales/es.yml
|
97
|
+
- lib/generators/panel/install_generator.rb
|
98
|
+
- lib/generators/panel/resource_generator.rb
|
99
|
+
- lib/generators/panel/templates/install/base_controller.rb
|
100
|
+
- lib/generators/panel/templates/install/index.html.erb
|
101
|
+
- lib/generators/panel/templates/install/pages_controller.rb
|
102
|
+
- lib/generators/panel/templates/install/panel.html.erb
|
103
|
+
- lib/generators/panel/templates/resource/_form.html.erb
|
104
|
+
- lib/generators/panel/templates/resource/edit.html.erb
|
105
|
+
- lib/generators/panel/templates/resource/index.html.erb
|
106
|
+
- lib/generators/panel/templates/resource/new.html.erb
|
107
|
+
- lib/generators/panel/templates/resource/resource_controller.rb
|
108
|
+
- lib/panel.rb
|
109
|
+
- lib/panel/engine.rb
|
110
|
+
- lib/panel/version.rb
|
111
|
+
- test/dummy/README.rdoc
|
112
|
+
- test/dummy/Rakefile
|
113
|
+
- test/dummy/app/assets/javascripts/application.js
|
114
|
+
- test/dummy/app/assets/stylesheets/application.css
|
115
|
+
- test/dummy/app/controllers/application_controller.rb
|
116
|
+
- test/dummy/app/helpers/application_helper.rb
|
117
|
+
- test/dummy/app/views/layouts/application.html.erb
|
118
|
+
- test/dummy/bin/bundle
|
119
|
+
- test/dummy/bin/rails
|
120
|
+
- test/dummy/bin/rake
|
121
|
+
- test/dummy/config.ru
|
122
|
+
- test/dummy/config/application.rb
|
123
|
+
- test/dummy/config/boot.rb
|
124
|
+
- test/dummy/config/database.yml
|
125
|
+
- test/dummy/config/environment.rb
|
126
|
+
- test/dummy/config/environments/development.rb
|
127
|
+
- test/dummy/config/environments/production.rb
|
128
|
+
- test/dummy/config/environments/test.rb
|
129
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
130
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
131
|
+
- test/dummy/config/initializers/inflections.rb
|
132
|
+
- test/dummy/config/initializers/mime_types.rb
|
133
|
+
- test/dummy/config/initializers/secret_token.rb
|
134
|
+
- test/dummy/config/initializers/session_store.rb
|
135
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
136
|
+
- test/dummy/config/locales/en.yml
|
137
|
+
- test/dummy/config/routes.rb
|
138
|
+
- test/dummy/public/404.html
|
139
|
+
- test/dummy/public/422.html
|
140
|
+
- test/dummy/public/500.html
|
141
|
+
- test/dummy/public/favicon.ico
|
142
|
+
- test/test_helper.rb
|
143
|
+
homepage: https://github.com/mattways/panel
|
144
|
+
licenses: []
|
145
|
+
metadata: {}
|
146
|
+
post_install_message:
|
147
|
+
rdoc_options: []
|
148
|
+
require_paths:
|
149
|
+
- lib
|
150
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0'
|
155
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
requirements: []
|
161
|
+
rubyforge_project:
|
162
|
+
rubygems_version: 2.2.0
|
163
|
+
signing_key:
|
164
|
+
specification_version: 4
|
165
|
+
summary: Panel for Rails.
|
166
|
+
test_files:
|
167
|
+
- test/dummy/app/assets/javascripts/application.js
|
168
|
+
- test/dummy/app/assets/stylesheets/application.css
|
169
|
+
- test/dummy/app/controllers/application_controller.rb
|
170
|
+
- test/dummy/app/helpers/application_helper.rb
|
171
|
+
- test/dummy/app/views/layouts/application.html.erb
|
172
|
+
- test/dummy/bin/bundle
|
173
|
+
- test/dummy/bin/rails
|
174
|
+
- test/dummy/bin/rake
|
175
|
+
- test/dummy/config/application.rb
|
176
|
+
- test/dummy/config/boot.rb
|
177
|
+
- test/dummy/config/database.yml
|
178
|
+
- test/dummy/config/environment.rb
|
179
|
+
- test/dummy/config/environments/development.rb
|
180
|
+
- test/dummy/config/environments/production.rb
|
181
|
+
- test/dummy/config/environments/test.rb
|
182
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
183
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
184
|
+
- test/dummy/config/initializers/inflections.rb
|
185
|
+
- test/dummy/config/initializers/mime_types.rb
|
186
|
+
- test/dummy/config/initializers/secret_token.rb
|
187
|
+
- test/dummy/config/initializers/session_store.rb
|
188
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
189
|
+
- test/dummy/config/locales/en.yml
|
190
|
+
- test/dummy/config/routes.rb
|
191
|
+
- test/dummy/config.ru
|
192
|
+
- test/dummy/public/404.html
|
193
|
+
- test/dummy/public/422.html
|
194
|
+
- test/dummy/public/500.html
|
195
|
+
- test/dummy/public/favicon.ico
|
196
|
+
- test/dummy/Rakefile
|
197
|
+
- test/dummy/README.rdoc
|
198
|
+
- test/test_helper.rb
|