app_frame 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.rspec +1 -0
- data/Gemfile +26 -0
- data/Gemfile.lock +181 -0
- data/LICENSE.txt +20 -0
- data/README.md +25 -0
- data/Rakefile +47 -0
- data/VERSION +1 -0
- data/app/assets/javascripts/app_frame/application.js +9 -0
- data/app/assets/stylesheets/app_frame/_devise.scss +41 -0
- data/app/assets/stylesheets/app_frame/_tree.scss +31 -0
- data/app/assets/stylesheets/app_frame/application.scss +73 -0
- data/app/controllers/app_frame/devise/confirmations_controller.rb +3 -0
- data/app/controllers/app_frame/devise/passwords_controller.rb +3 -0
- data/app/controllers/app_frame/devise/registrations_controller.rb +3 -0
- data/app/controllers/app_frame/devise/sessions_controller.rb +3 -0
- data/app/helpers/app_frame/bootstrap_helper.rb +36 -0
- data/app/helpers/app_frame/breadcrumb_helper.rb +18 -0
- data/app/helpers/app_frame/menu_helper.rb +43 -0
- data/app/helpers/app_frame/pagination_helper.rb +12 -0
- data/app/helpers/app_frame/resources_helper.rb +63 -0
- data/app/helpers/app_frame/scopes_helper.rb +94 -0
- data/app/helpers/app_frame/select_helper.rb +8 -0
- data/app/helpers/app_frame/tree_nav_helper.rb +18 -0
- data/app/models/menu.rb +44 -0
- data/app/models/settings.rb +4 -0
- data/app/views/app_frame/devise/confirmations/new.html.haml +8 -0
- data/app/views/app_frame/devise/passwords/edit.html.haml +13 -0
- data/app/views/app_frame/devise/passwords/new.html.haml +8 -0
- data/app/views/app_frame/devise/registrations/edit.html.haml +19 -0
- data/app/views/app_frame/devise/registrations/new.html.haml +10 -0
- data/app/views/app_frame/devise/sessions/new.html.haml +12 -0
- data/app/views/app_frame/devise/shared/_links.html.haml +14 -0
- data/app/views/app_frame/devise/unlocks/new.html.haml +9 -0
- data/app/views/application/_brand.html.haml +1 -0
- data/app/views/application/_breadcrumb.html.haml +12 -0
- data/app/views/application/_flashes.html.haml +2 -0
- data/app/views/application/_form.html.haml +2 -0
- data/app/views/application/_head.html.haml +6 -0
- data/app/views/application/_secondary_menu.html.haml +3 -0
- data/app/views/application/_show.html.haml +5 -0
- data/app/views/application/_sidebar.html.haml +12 -0
- data/app/views/application/_sub_menu.html.haml +0 -0
- data/app/views/application/_table.html.haml +3 -0
- data/app/views/application/_toolbar.html.haml +7 -0
- data/app/views/application/_top_menu.html.haml +1 -0
- data/app/views/application/edit.html.haml +8 -0
- data/app/views/application/index.html.haml +8 -0
- data/app/views/application/new.html.haml +7 -0
- data/app/views/application/show.html.haml +10 -0
- data/app/views/kaminari/app_frame/_first_page.html.haml +9 -0
- data/app/views/kaminari/app_frame/_gap.html.haml +8 -0
- data/app/views/kaminari/app_frame/_last_page.html.haml +9 -0
- data/app/views/kaminari/app_frame/_next_page.html.haml +9 -0
- data/app/views/kaminari/app_frame/_page.html.haml +10 -0
- data/app/views/kaminari/app_frame/_paginator.html.haml +19 -0
- data/app/views/kaminari/app_frame/_prev_page.html.haml +9 -0
- data/app/views/layouts/app_frame/default.html.haml +33 -0
- data/app/views/layouts/app_frame/devise.html.haml +17 -0
- data/app_frame.gemspec +162 -0
- data/lib/app_frame.rb +27 -0
- data/lib/app_frame/controller_methods.rb +111 -0
- data/lib/app_frame/view_methods.rb +19 -0
- data/lib/assets/images/.gitkeep +0 -0
- data/lib/assets/javascripts/anytime.js +3716 -0
- data/lib/assets/stylesheets/anytime.css +777 -0
- data/lib/engine.rb +197 -0
- data/spec/app_frame_spec.rb +7 -0
- data/spec/spec_helper.rb +12 -0
- metadata +423 -0
data/lib/engine.rb
ADDED
@@ -0,0 +1,197 @@
|
|
1
|
+
module AppFrame
|
2
|
+
class Engine < Rails::Engine
|
3
|
+
initializer "static assets" do |app|
|
4
|
+
app.middleware.insert_after ::ActionDispatch::Static, ::ActionDispatch::Static, "#{config.root}/public"
|
5
|
+
end
|
6
|
+
|
7
|
+
initializer "rails includes" do |app|
|
8
|
+
ActionController::Base.send :include, AppFrame::ControllerMethods
|
9
|
+
ActionView::Base.send :include, AppFrame::ViewMethods
|
10
|
+
ActionView::Base.send :include, AppFrame::MenuHelper
|
11
|
+
end
|
12
|
+
|
13
|
+
initializer "gem setup" do |app|
|
14
|
+
# '.form-horizontal', '.form-inline', '.form-search' or '.form-vertical'
|
15
|
+
|
16
|
+
# Use this setup block to configure all options available in SimpleForm.
|
17
|
+
SimpleForm.setup do |config|
|
18
|
+
# Wrappers are used by the form builder to generate a
|
19
|
+
# complete input. You can remove any component from the
|
20
|
+
# wrapper, change the order or even add your own to the
|
21
|
+
# stack. The options given below are used to wrap the
|
22
|
+
# whole input.
|
23
|
+
config.wrappers :default, :class => :input,
|
24
|
+
:hint_class => :field_with_hint, :error_class => :field_with_errors do |b|
|
25
|
+
## Extensions enabled by default
|
26
|
+
# Any of these extensions can be disabled for a
|
27
|
+
# given input by passing: `f.input EXTENSION_NAME => false`.
|
28
|
+
# You can make any of these extensions optional by
|
29
|
+
# renaming `b.use` to `b.optional`.
|
30
|
+
|
31
|
+
# Determines whether to use HTML5 (:email, :url, ...)
|
32
|
+
# and required attributes
|
33
|
+
b.use :html5
|
34
|
+
|
35
|
+
# Calculates placeholders automatically from I18n
|
36
|
+
# You can also pass a string as f.input :placeholder => "Placeholder"
|
37
|
+
b.use :placeholder
|
38
|
+
|
39
|
+
## Optional extensions
|
40
|
+
# They are disabled unless you pass `f.input EXTENSION_NAME => :lookup`
|
41
|
+
# to the input. If so, they will retrieve the values from the model
|
42
|
+
# if any exists. If you want to enable the lookup for any of those
|
43
|
+
# extensions by default, you can change `b.optional` to `b.use`.
|
44
|
+
|
45
|
+
# Calculates maxlength from length validations for string inputs
|
46
|
+
b.optional :maxlength
|
47
|
+
|
48
|
+
# Calculates pattern from format validations for string inputs
|
49
|
+
b.optional :pattern
|
50
|
+
|
51
|
+
# Calculates min and max from length validations for numeric inputs
|
52
|
+
b.optional :min_max
|
53
|
+
|
54
|
+
# Calculates readonly automatically from readonly attributes
|
55
|
+
b.optional :readonly
|
56
|
+
|
57
|
+
## Inputs
|
58
|
+
b.use :label_input
|
59
|
+
b.use :hint, :wrap_with => { :tag => :span, :class => :hint }
|
60
|
+
b.use :error, :wrap_with => { :tag => :span, :class => :error }
|
61
|
+
end
|
62
|
+
|
63
|
+
config.wrappers :bootstrap, :tag => 'div', :class => 'control-group', :error_class => 'error' do |b|
|
64
|
+
b.use :html5
|
65
|
+
b.use :placeholder
|
66
|
+
b.use :label
|
67
|
+
b.wrapper :tag => 'div', :class => 'controls' do |ba|
|
68
|
+
ba.use :input
|
69
|
+
ba.use :error, :wrap_with => { :tag => 'span', :class => 'help-inline' }
|
70
|
+
ba.use :hint, :wrap_with => { :tag => 'p', :class => 'help-block' }
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
config.wrappers :prepend, :tag => 'div', :class => "control-group", :error_class => 'error' do |b|
|
75
|
+
b.use :html5
|
76
|
+
b.use :placeholder
|
77
|
+
b.use :label
|
78
|
+
b.wrapper :tag => 'div', :class => 'controls' do |input|
|
79
|
+
input.wrapper :tag => 'div', :class => 'input-prepend' do |prepend|
|
80
|
+
prepend.use :input
|
81
|
+
end
|
82
|
+
input.use :hint, :wrap_with => { :tag => 'span', :class => 'help-block' }
|
83
|
+
input.use :error, :wrap_with => { :tag => 'span', :class => 'help-inline' }
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
config.wrappers :append, :tag => 'div', :class => "control-group", :error_class => 'error' do |b|
|
88
|
+
b.use :html5
|
89
|
+
b.use :placeholder
|
90
|
+
b.use :label
|
91
|
+
b.wrapper :tag => 'div', :class => 'controls' do |input|
|
92
|
+
input.wrapper :tag => 'div', :class => 'input-append' do |append|
|
93
|
+
append.use :input
|
94
|
+
end
|
95
|
+
input.use :hint, :wrap_with => { :tag => 'span', :class => 'help-block' }
|
96
|
+
input.use :error, :wrap_with => { :tag => 'span', :class => 'help-inline' }
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
# Wrappers for forms and inputs using the Twitter Bootstrap toolkit.
|
101
|
+
# Check the Bootstrap docs (http://twitter.github.com/bootstrap)
|
102
|
+
# to learn about the different styles for forms and inputs,
|
103
|
+
# buttons and other elements.
|
104
|
+
config.default_wrapper = :bootstrap
|
105
|
+
|
106
|
+
# Define the way to render check boxes / radio buttons with labels.
|
107
|
+
# Defaults to :nested for bootstrap config.
|
108
|
+
# :inline => input + label
|
109
|
+
# :nested => label > input
|
110
|
+
config.boolean_style = :nested
|
111
|
+
|
112
|
+
# Default class for buttons
|
113
|
+
config.button_class = 'btn'
|
114
|
+
|
115
|
+
# Method used to tidy up errors.
|
116
|
+
# config.error_method = :first
|
117
|
+
|
118
|
+
# Default tag used for error notification helper.
|
119
|
+
config.error_notification_tag = :div
|
120
|
+
|
121
|
+
# CSS class to add for error notification helper.
|
122
|
+
config.error_notification_class = 'alert alert-error'
|
123
|
+
|
124
|
+
# ID to add for error notification helper.
|
125
|
+
# config.error_notification_id = nil
|
126
|
+
|
127
|
+
# Series of attempts to detect a default label method for collection.
|
128
|
+
# config.collection_label_methods = [ :to_label, :name, :title, :to_s ]
|
129
|
+
|
130
|
+
# Series of attempts to detect a default value method for collection.
|
131
|
+
# config.collection_value_methods = [ :id, :to_s ]
|
132
|
+
|
133
|
+
# You can wrap a collection of radio/check boxes in a pre-defined tag, defaulting to none.
|
134
|
+
# config.collection_wrapper_tag = nil
|
135
|
+
|
136
|
+
# You can define the class to use on all collection wrappers. Defaulting to none.
|
137
|
+
# config.collection_wrapper_class = nil
|
138
|
+
|
139
|
+
# You can wrap each item in a collection of radio/check boxes with a tag,
|
140
|
+
# defaulting to :span. Please note that when using :boolean_style = :nested,
|
141
|
+
# SimpleForm will force this option to be a label.
|
142
|
+
# config.item_wrapper_tag = :span
|
143
|
+
|
144
|
+
# You can define a class to use in all item wrappers. Defaulting to none.
|
145
|
+
# config.item_wrapper_class = nil
|
146
|
+
|
147
|
+
# How the label text should be generated altogether with the required text.
|
148
|
+
# config.label_text = lambda { |label, required| "#{required} #{label}" }
|
149
|
+
|
150
|
+
# You can define the class to use on all labels. Default is nil.
|
151
|
+
config.label_class = 'control-label'
|
152
|
+
|
153
|
+
# You can define the class to use on all forms. Default is simple_form.
|
154
|
+
# config.form_class = :simple_form
|
155
|
+
|
156
|
+
# You can define which elements should obtain additional classes
|
157
|
+
# config.generate_additional_classes_for = [:wrapper, :label, :input]
|
158
|
+
|
159
|
+
# Whether attributes are required by default (or not). Default is true.
|
160
|
+
# config.required_by_default = true
|
161
|
+
|
162
|
+
# Tell browsers whether to use default HTML5 validations (novalidate option).
|
163
|
+
# Default is enabled.
|
164
|
+
config.browser_validations = false
|
165
|
+
|
166
|
+
# Collection of methods to detect if a file type was given.
|
167
|
+
# config.file_methods = [ :mounted_as, :file?, :public_filename ]
|
168
|
+
|
169
|
+
# Custom mappings for input types. This should be a hash containing a regexp
|
170
|
+
# to match as key, and the input type that will be used when the field name
|
171
|
+
# matches the regexp as value.
|
172
|
+
# config.input_mappings = { /count/ => :integer }
|
173
|
+
|
174
|
+
# Default priority for time_zone inputs.
|
175
|
+
# config.time_zone_priority = nil
|
176
|
+
|
177
|
+
# Default priority for country inputs.
|
178
|
+
# config.country_priority = nil
|
179
|
+
|
180
|
+
# Default size for text inputs.
|
181
|
+
# config.default_input_size = 50
|
182
|
+
|
183
|
+
# When false, do not use translations for labels.
|
184
|
+
# config.translate_labels = true
|
185
|
+
|
186
|
+
# Automatically discover new inputs in Rails' autoload path.
|
187
|
+
# config.inputs_discovery = true
|
188
|
+
|
189
|
+
# Cache SimpleForm inputs discovery
|
190
|
+
# config.cache_discovery = !Rails.env.development?
|
191
|
+
end
|
192
|
+
|
193
|
+
|
194
|
+
end
|
195
|
+
|
196
|
+
end
|
197
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
2
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
3
|
+
require 'rspec'
|
4
|
+
require 'app_frame'
|
5
|
+
|
6
|
+
# Requires supporting files with custom matchers and macros, etc,
|
7
|
+
# in ./support/ and its subdirectories.
|
8
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
|
9
|
+
|
10
|
+
RSpec.configure do |config|
|
11
|
+
|
12
|
+
end
|
metadata
ADDED
@@ -0,0 +1,423 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: app_frame
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.5
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Mateo Murphy
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-08-23 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: bootstrap-sass
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 2.3.1.0
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 2.3.1.0
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: devise
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: display_for
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - '='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 0.1.12
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.1.12
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: haml-rails
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: inherited_resources
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
type: :runtime
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: kaminari
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
102
|
+
type: :runtime
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: nested_form
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: nested_set
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
134
|
+
type: :runtime
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: sass-rails
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ! '>='
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '0'
|
150
|
+
type: :runtime
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
158
|
+
- !ruby/object:Gem::Dependency
|
159
|
+
name: settingslogic
|
160
|
+
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ! '>='
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0'
|
166
|
+
type: :runtime
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
170
|
+
requirements:
|
171
|
+
- - ! '>='
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
name: simple_form
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
178
|
+
requirements:
|
179
|
+
- - ! '>='
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '0'
|
182
|
+
type: :runtime
|
183
|
+
prerelease: false
|
184
|
+
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
186
|
+
requirements:
|
187
|
+
- - ! '>='
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0'
|
190
|
+
- !ruby/object:Gem::Dependency
|
191
|
+
name: select2-rails
|
192
|
+
requirement: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
194
|
+
requirements:
|
195
|
+
- - ! '>='
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: '0'
|
198
|
+
type: :runtime
|
199
|
+
prerelease: false
|
200
|
+
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
202
|
+
requirements:
|
203
|
+
- - ! '>='
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
206
|
+
- !ruby/object:Gem::Dependency
|
207
|
+
name: squeel
|
208
|
+
requirement: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
210
|
+
requirements:
|
211
|
+
- - ! '>='
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: '0'
|
214
|
+
type: :runtime
|
215
|
+
prerelease: false
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
218
|
+
requirements:
|
219
|
+
- - ! '>='
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '0'
|
222
|
+
- !ruby/object:Gem::Dependency
|
223
|
+
name: rails
|
224
|
+
requirement: !ruby/object:Gem::Requirement
|
225
|
+
none: false
|
226
|
+
requirements:
|
227
|
+
- - ~>
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: 3.2.13
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
none: false
|
234
|
+
requirements:
|
235
|
+
- - ~>
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
version: 3.2.13
|
238
|
+
- !ruby/object:Gem::Dependency
|
239
|
+
name: rspec-rails
|
240
|
+
requirement: !ruby/object:Gem::Requirement
|
241
|
+
none: false
|
242
|
+
requirements:
|
243
|
+
- - ! '>='
|
244
|
+
- !ruby/object:Gem::Version
|
245
|
+
version: '0'
|
246
|
+
type: :development
|
247
|
+
prerelease: false
|
248
|
+
version_requirements: !ruby/object:Gem::Requirement
|
249
|
+
none: false
|
250
|
+
requirements:
|
251
|
+
- - ! '>='
|
252
|
+
- !ruby/object:Gem::Version
|
253
|
+
version: '0'
|
254
|
+
- !ruby/object:Gem::Dependency
|
255
|
+
name: bundler
|
256
|
+
requirement: !ruby/object:Gem::Requirement
|
257
|
+
none: false
|
258
|
+
requirements:
|
259
|
+
- - ~>
|
260
|
+
- !ruby/object:Gem::Version
|
261
|
+
version: 1.3.4
|
262
|
+
type: :development
|
263
|
+
prerelease: false
|
264
|
+
version_requirements: !ruby/object:Gem::Requirement
|
265
|
+
none: false
|
266
|
+
requirements:
|
267
|
+
- - ~>
|
268
|
+
- !ruby/object:Gem::Version
|
269
|
+
version: 1.3.4
|
270
|
+
- !ruby/object:Gem::Dependency
|
271
|
+
name: jeweler
|
272
|
+
requirement: !ruby/object:Gem::Requirement
|
273
|
+
none: false
|
274
|
+
requirements:
|
275
|
+
- - ~>
|
276
|
+
- !ruby/object:Gem::Version
|
277
|
+
version: 1.8.4
|
278
|
+
type: :development
|
279
|
+
prerelease: false
|
280
|
+
version_requirements: !ruby/object:Gem::Requirement
|
281
|
+
none: false
|
282
|
+
requirements:
|
283
|
+
- - ~>
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: 1.8.4
|
286
|
+
- !ruby/object:Gem::Dependency
|
287
|
+
name: simplecov
|
288
|
+
requirement: !ruby/object:Gem::Requirement
|
289
|
+
none: false
|
290
|
+
requirements:
|
291
|
+
- - ! '>='
|
292
|
+
- !ruby/object:Gem::Version
|
293
|
+
version: '0'
|
294
|
+
type: :development
|
295
|
+
prerelease: false
|
296
|
+
version_requirements: !ruby/object:Gem::Requirement
|
297
|
+
none: false
|
298
|
+
requirements:
|
299
|
+
- - ! '>='
|
300
|
+
- !ruby/object:Gem::Version
|
301
|
+
version: '0'
|
302
|
+
- !ruby/object:Gem::Dependency
|
303
|
+
name: log_buddy
|
304
|
+
requirement: !ruby/object:Gem::Requirement
|
305
|
+
none: false
|
306
|
+
requirements:
|
307
|
+
- - ! '>='
|
308
|
+
- !ruby/object:Gem::Version
|
309
|
+
version: '0'
|
310
|
+
type: :development
|
311
|
+
prerelease: false
|
312
|
+
version_requirements: !ruby/object:Gem::Requirement
|
313
|
+
none: false
|
314
|
+
requirements:
|
315
|
+
- - ! '>='
|
316
|
+
- !ruby/object:Gem::Version
|
317
|
+
version: '0'
|
318
|
+
description: An app framework
|
319
|
+
email: mateo.murphy@gmail.com
|
320
|
+
executables: []
|
321
|
+
extensions: []
|
322
|
+
extra_rdoc_files:
|
323
|
+
- LICENSE.txt
|
324
|
+
- README.md
|
325
|
+
files:
|
326
|
+
- .document
|
327
|
+
- .rspec
|
328
|
+
- Gemfile
|
329
|
+
- Gemfile.lock
|
330
|
+
- LICENSE.txt
|
331
|
+
- README.md
|
332
|
+
- Rakefile
|
333
|
+
- VERSION
|
334
|
+
- app/assets/javascripts/app_frame/application.js
|
335
|
+
- app/assets/stylesheets/app_frame/_devise.scss
|
336
|
+
- app/assets/stylesheets/app_frame/_tree.scss
|
337
|
+
- app/assets/stylesheets/app_frame/application.scss
|
338
|
+
- app/controllers/app_frame/devise/confirmations_controller.rb
|
339
|
+
- app/controllers/app_frame/devise/passwords_controller.rb
|
340
|
+
- app/controllers/app_frame/devise/registrations_controller.rb
|
341
|
+
- app/controllers/app_frame/devise/sessions_controller.rb
|
342
|
+
- app/helpers/app_frame/bootstrap_helper.rb
|
343
|
+
- app/helpers/app_frame/breadcrumb_helper.rb
|
344
|
+
- app/helpers/app_frame/menu_helper.rb
|
345
|
+
- app/helpers/app_frame/pagination_helper.rb
|
346
|
+
- app/helpers/app_frame/resources_helper.rb
|
347
|
+
- app/helpers/app_frame/scopes_helper.rb
|
348
|
+
- app/helpers/app_frame/select_helper.rb
|
349
|
+
- app/helpers/app_frame/tree_nav_helper.rb
|
350
|
+
- app/models/menu.rb
|
351
|
+
- app/models/settings.rb
|
352
|
+
- app/views/app_frame/devise/confirmations/new.html.haml
|
353
|
+
- app/views/app_frame/devise/passwords/edit.html.haml
|
354
|
+
- app/views/app_frame/devise/passwords/new.html.haml
|
355
|
+
- app/views/app_frame/devise/registrations/edit.html.haml
|
356
|
+
- app/views/app_frame/devise/registrations/new.html.haml
|
357
|
+
- app/views/app_frame/devise/sessions/new.html.haml
|
358
|
+
- app/views/app_frame/devise/shared/_links.html.haml
|
359
|
+
- app/views/app_frame/devise/unlocks/new.html.haml
|
360
|
+
- app/views/application/_brand.html.haml
|
361
|
+
- app/views/application/_breadcrumb.html.haml
|
362
|
+
- app/views/application/_flashes.html.haml
|
363
|
+
- app/views/application/_form.html.haml
|
364
|
+
- app/views/application/_head.html.haml
|
365
|
+
- app/views/application/_secondary_menu.html.haml
|
366
|
+
- app/views/application/_show.html.haml
|
367
|
+
- app/views/application/_sidebar.html.haml
|
368
|
+
- app/views/application/_sub_menu.html.haml
|
369
|
+
- app/views/application/_table.html.haml
|
370
|
+
- app/views/application/_toolbar.html.haml
|
371
|
+
- app/views/application/_top_menu.html.haml
|
372
|
+
- app/views/application/edit.html.haml
|
373
|
+
- app/views/application/index.html.haml
|
374
|
+
- app/views/application/new.html.haml
|
375
|
+
- app/views/application/show.html.haml
|
376
|
+
- app/views/kaminari/app_frame/_first_page.html.haml
|
377
|
+
- app/views/kaminari/app_frame/_gap.html.haml
|
378
|
+
- app/views/kaminari/app_frame/_last_page.html.haml
|
379
|
+
- app/views/kaminari/app_frame/_next_page.html.haml
|
380
|
+
- app/views/kaminari/app_frame/_page.html.haml
|
381
|
+
- app/views/kaminari/app_frame/_paginator.html.haml
|
382
|
+
- app/views/kaminari/app_frame/_prev_page.html.haml
|
383
|
+
- app/views/layouts/app_frame/default.html.haml
|
384
|
+
- app/views/layouts/app_frame/devise.html.haml
|
385
|
+
- app_frame.gemspec
|
386
|
+
- lib/app_frame.rb
|
387
|
+
- lib/app_frame/controller_methods.rb
|
388
|
+
- lib/app_frame/view_methods.rb
|
389
|
+
- lib/assets/images/.gitkeep
|
390
|
+
- lib/assets/javascripts/anytime.js
|
391
|
+
- lib/assets/stylesheets/anytime.css
|
392
|
+
- lib/engine.rb
|
393
|
+
- spec/app_frame_spec.rb
|
394
|
+
- spec/spec_helper.rb
|
395
|
+
homepage: http://github.com/mateomurphy/app_frame
|
396
|
+
licenses:
|
397
|
+
- MIT
|
398
|
+
post_install_message:
|
399
|
+
rdoc_options: []
|
400
|
+
require_paths:
|
401
|
+
- lib
|
402
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
403
|
+
none: false
|
404
|
+
requirements:
|
405
|
+
- - ! '>='
|
406
|
+
- !ruby/object:Gem::Version
|
407
|
+
version: '0'
|
408
|
+
segments:
|
409
|
+
- 0
|
410
|
+
hash: 1265302220552006335
|
411
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
412
|
+
none: false
|
413
|
+
requirements:
|
414
|
+
- - ! '>='
|
415
|
+
- !ruby/object:Gem::Version
|
416
|
+
version: '0'
|
417
|
+
requirements: []
|
418
|
+
rubyforge_project:
|
419
|
+
rubygems_version: 1.8.25
|
420
|
+
signing_key:
|
421
|
+
specification_version: 3
|
422
|
+
summary: An app framework
|
423
|
+
test_files: []
|