maglev 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +29 -0
- data/app/assets/javascripts/maglev/application.js.coffee +4 -0
- data/app/assets/javascripts/maglev/pages.js +2 -0
- data/app/assets/stylesheets/maglev/application.css.sass +4 -0
- data/app/assets/stylesheets/maglev/pages.css +4 -0
- data/app/controllers/maglev/application_controller.rb +4 -0
- data/app/controllers/maglev/pages_controller.rb +16 -0
- data/app/helpers/maglev/application_helper.rb +4 -0
- data/app/helpers/maglev/pages_helper.rb +4 -0
- data/app/views/layouts/maglev/application.html.erb +14 -0
- data/config/initializers/devise.rb +232 -0
- data/config/locales/devise.en.yml +58 -0
- data/config/routes.rb +5 -0
- data/db/migrate/20120814002939_create_versions.rb +18 -0
- data/lib/maglev/engine.rb +11 -0
- data/lib/maglev/version.rb +3 -0
- data/lib/maglev.rb +4 -0
- data/lib/tasks/maglev_tasks.rake +4 -0
- metadata +303 -0
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright 2012 YOURNAME
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
ADDED
data/Rakefile
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
#!/usr/bin/env rake
|
2
|
+
begin
|
3
|
+
require 'bundler/setup'
|
4
|
+
rescue LoadError
|
5
|
+
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
6
|
+
end
|
7
|
+
begin
|
8
|
+
require 'rdoc/task'
|
9
|
+
rescue LoadError
|
10
|
+
require 'rdoc/rdoc'
|
11
|
+
require 'rake/rdoctask'
|
12
|
+
RDoc::Task = Rake::RDocTask
|
13
|
+
end
|
14
|
+
|
15
|
+
RDoc::Task.new(:rdoc) do |rdoc|
|
16
|
+
rdoc.rdoc_dir = 'rdoc'
|
17
|
+
rdoc.title = 'Maglev'
|
18
|
+
rdoc.options << '--line-numbers'
|
19
|
+
rdoc.rdoc_files.include('README.rdoc')
|
20
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
21
|
+
end
|
22
|
+
|
23
|
+
APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
|
24
|
+
load 'rails/tasks/engine.rake'
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
Bundler::GemHelper.install_tasks
|
29
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require_dependency "maglev/application_controller"
|
2
|
+
|
3
|
+
module Maglev
|
4
|
+
class PagesController < ApplicationController
|
5
|
+
|
6
|
+
# Generic Page Viewing
|
7
|
+
# GET /:slug
|
8
|
+
def view
|
9
|
+
@slug = params[:slug]
|
10
|
+
@template = @slug ? @slug.gsub('-','_') : 'index'
|
11
|
+
@layout = 'application'
|
12
|
+
render template: "/site/#{@template}", layout: "/layouts/#{@layout}"
|
13
|
+
end
|
14
|
+
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Maglev</title>
|
5
|
+
<%= stylesheet_link_tag "maglev/application", :media => "all" %>
|
6
|
+
<%= javascript_include_tag "maglev/application" %>
|
7
|
+
<%= csrf_meta_tags %>
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
|
11
|
+
<%= yield %>
|
12
|
+
|
13
|
+
</body>
|
14
|
+
</html>
|
@@ -0,0 +1,232 @@
|
|
1
|
+
# Use this hook to configure devise mailer, warden hooks and so forth.
|
2
|
+
# Many of these configuration options can be set straight in your model.
|
3
|
+
Devise.setup do |config|
|
4
|
+
# ==> Mailer Configuration
|
5
|
+
# Configure the e-mail address which will be shown in Devise::Mailer,
|
6
|
+
# note that it will be overwritten if you use your own mailer class with default "from" parameter.
|
7
|
+
config.mailer_sender = "please-change-me-at-config-initializers-devise@example.com"
|
8
|
+
|
9
|
+
# Configure the class responsible to send e-mails.
|
10
|
+
# config.mailer = "Devise::Mailer"
|
11
|
+
|
12
|
+
# ==> ORM configuration
|
13
|
+
# Load and configure the ORM. Supports :active_record (default) and
|
14
|
+
# :mongoid (bson_ext recommended) by default. Other ORMs may be
|
15
|
+
# available as additional gems.
|
16
|
+
require 'devise/orm/active_record'
|
17
|
+
|
18
|
+
# ==> Configuration for any authentication mechanism
|
19
|
+
# Configure which keys are used when authenticating a user. The default is
|
20
|
+
# just :email. You can configure it to use [:username, :subdomain], so for
|
21
|
+
# authenticating a user, both parameters are required. Remember that those
|
22
|
+
# parameters are used only when authenticating and not when retrieving from
|
23
|
+
# session. If you need permissions, you should implement that in a before filter.
|
24
|
+
# You can also supply a hash where the value is a boolean determining whether
|
25
|
+
# or not authentication should be aborted when the value is not present.
|
26
|
+
# config.authentication_keys = [ :email ]
|
27
|
+
|
28
|
+
# Configure parameters from the request object used for authentication. Each entry
|
29
|
+
# given should be a request method and it will automatically be passed to the
|
30
|
+
# find_for_authentication method and considered in your model lookup. For instance,
|
31
|
+
# if you set :request_keys to [:subdomain], :subdomain will be used on authentication.
|
32
|
+
# The same considerations mentioned for authentication_keys also apply to request_keys.
|
33
|
+
# config.request_keys = []
|
34
|
+
|
35
|
+
# Configure which authentication keys should be case-insensitive.
|
36
|
+
# These keys will be downcased upon creating or modifying a user and when used
|
37
|
+
# to authenticate or find a user. Default is :email.
|
38
|
+
config.case_insensitive_keys = [ :email ]
|
39
|
+
|
40
|
+
# Configure which authentication keys should have whitespace stripped.
|
41
|
+
# These keys will have whitespace before and after removed upon creating or
|
42
|
+
# modifying a user and when used to authenticate or find a user. Default is :email.
|
43
|
+
config.strip_whitespace_keys = [ :email ]
|
44
|
+
|
45
|
+
# Tell if authentication through request.params is enabled. True by default.
|
46
|
+
# It can be set to an array that will enable params authentication only for the
|
47
|
+
# given strategies, for example, `config.params_authenticatable = [:database]` will
|
48
|
+
# enable it only for database (email + password) authentication.
|
49
|
+
# config.params_authenticatable = true
|
50
|
+
|
51
|
+
# Tell if authentication through HTTP Basic Auth is enabled. False by default.
|
52
|
+
# It can be set to an array that will enable http authentication only for the
|
53
|
+
# given strategies, for example, `config.http_authenticatable = [:token]` will
|
54
|
+
# enable it only for token authentication.
|
55
|
+
# config.http_authenticatable = false
|
56
|
+
|
57
|
+
# If http headers should be returned for AJAX requests. True by default.
|
58
|
+
# config.http_authenticatable_on_xhr = true
|
59
|
+
|
60
|
+
# The realm used in Http Basic Authentication. "Application" by default.
|
61
|
+
# config.http_authentication_realm = "Application"
|
62
|
+
|
63
|
+
# It will change confirmation, password recovery and other workflows
|
64
|
+
# to behave the same regardless if the e-mail provided was right or wrong.
|
65
|
+
# Does not affect registerable.
|
66
|
+
# config.paranoid = true
|
67
|
+
|
68
|
+
# By default Devise will store the user in session. You can skip storage for
|
69
|
+
# :http_auth and :token_auth by adding those symbols to the array below.
|
70
|
+
# Notice that if you are skipping storage for all authentication paths, you
|
71
|
+
# may want to disable generating routes to Devise's sessions controller by
|
72
|
+
# passing :skip => :sessions to `devise_for` in your config/routes.rb
|
73
|
+
config.skip_session_storage = [:http_auth]
|
74
|
+
|
75
|
+
# ==> Configuration for :database_authenticatable
|
76
|
+
# For bcrypt, this is the cost for hashing the password and defaults to 10. If
|
77
|
+
# using other encryptors, it sets how many times you want the password re-encrypted.
|
78
|
+
#
|
79
|
+
# Limiting the stretches to just one in testing will increase the performance of
|
80
|
+
# your test suite dramatically. However, it is STRONGLY RECOMMENDED to not use
|
81
|
+
# a value less than 10 in other environments.
|
82
|
+
config.stretches = Rails.env.test? ? 1 : 10
|
83
|
+
|
84
|
+
# Setup a pepper to generate the encrypted password.
|
85
|
+
# config.pepper = "248af56a673d7ee97b9d1f4387072c92e4d278b1545a797befde05cecd5e4da9c66400e1622423675fcf710819f032918a6cab3ebd6db0bf2807b1ff711c9aa7"
|
86
|
+
|
87
|
+
# ==> Configuration for :confirmable
|
88
|
+
# A period that the user is allowed to access the website even without
|
89
|
+
# confirming his account. For instance, if set to 2.days, the user will be
|
90
|
+
# able to access the website for two days without confirming his account,
|
91
|
+
# access will be blocked just in the third day. Default is 0.days, meaning
|
92
|
+
# the user cannot access the website without confirming his account.
|
93
|
+
# config.allow_unconfirmed_access_for = 2.days
|
94
|
+
|
95
|
+
# If true, requires any email changes to be confirmed (exactly the same way as
|
96
|
+
# initial account confirmation) to be applied. Requires additional unconfirmed_email
|
97
|
+
# db field (see migrations). Until confirmed new email is stored in
|
98
|
+
# unconfirmed email column, and copied to email column on successful confirmation.
|
99
|
+
config.reconfirmable = true
|
100
|
+
|
101
|
+
# Defines which key will be used when confirming an account
|
102
|
+
# config.confirmation_keys = [ :email ]
|
103
|
+
|
104
|
+
# ==> Configuration for :rememberable
|
105
|
+
# The time the user will be remembered without asking for credentials again.
|
106
|
+
# config.remember_for = 2.weeks
|
107
|
+
|
108
|
+
# If true, extends the user's remember period when remembered via cookie.
|
109
|
+
# config.extend_remember_period = false
|
110
|
+
|
111
|
+
# Options to be passed to the created cookie. For instance, you can set
|
112
|
+
# :secure => true in order to force SSL only cookies.
|
113
|
+
# config.rememberable_options = {}
|
114
|
+
|
115
|
+
# ==> Configuration for :validatable
|
116
|
+
# Range for password length. Default is 6..128.
|
117
|
+
# config.password_length = 6..128
|
118
|
+
|
119
|
+
# Email regex used to validate email formats. It simply asserts that
|
120
|
+
# an one (and only one) @ exists in the given string. This is mainly
|
121
|
+
# to give user feedback and not to assert the e-mail validity.
|
122
|
+
# config.email_regexp = /\A[^@]+@[^@]+\z/
|
123
|
+
|
124
|
+
# ==> Configuration for :timeoutable
|
125
|
+
# The time you want to timeout the user session without activity. After this
|
126
|
+
# time the user will be asked for credentials again. Default is 30 minutes.
|
127
|
+
# config.timeout_in = 30.minutes
|
128
|
+
|
129
|
+
# If true, expires auth token on session timeout.
|
130
|
+
# config.expire_auth_token_on_timeout = false
|
131
|
+
|
132
|
+
# ==> Configuration for :lockable
|
133
|
+
# Defines which strategy will be used to lock an account.
|
134
|
+
# :failed_attempts = Locks an account after a number of failed attempts to sign in.
|
135
|
+
# :none = No lock strategy. You should handle locking by yourself.
|
136
|
+
# config.lock_strategy = :failed_attempts
|
137
|
+
|
138
|
+
# Defines which key will be used when locking and unlocking an account
|
139
|
+
# config.unlock_keys = [ :email ]
|
140
|
+
|
141
|
+
# Defines which strategy will be used to unlock an account.
|
142
|
+
# :email = Sends an unlock link to the user email
|
143
|
+
# :time = Re-enables login after a certain amount of time (see :unlock_in below)
|
144
|
+
# :both = Enables both strategies
|
145
|
+
# :none = No unlock strategy. You should handle unlocking by yourself.
|
146
|
+
# config.unlock_strategy = :both
|
147
|
+
|
148
|
+
# Number of authentication tries before locking an account if lock_strategy
|
149
|
+
# is failed attempts.
|
150
|
+
# config.maximum_attempts = 20
|
151
|
+
|
152
|
+
# Time interval to unlock the account if :time is enabled as unlock_strategy.
|
153
|
+
# config.unlock_in = 1.hour
|
154
|
+
|
155
|
+
# ==> Configuration for :recoverable
|
156
|
+
#
|
157
|
+
# Defines which key will be used when recovering the password for an account
|
158
|
+
# config.reset_password_keys = [ :email ]
|
159
|
+
|
160
|
+
# Time interval you can reset your password with a reset password key.
|
161
|
+
# Don't put a too small interval or your users won't have the time to
|
162
|
+
# change their passwords.
|
163
|
+
config.reset_password_within = 6.hours
|
164
|
+
|
165
|
+
# ==> Configuration for :encryptable
|
166
|
+
# Allow you to use another encryption algorithm besides bcrypt (default). You can use
|
167
|
+
# :sha1, :sha512 or encryptors from others authentication tools as :clearance_sha1,
|
168
|
+
# :authlogic_sha512 (then you should set stretches above to 20 for default behavior)
|
169
|
+
# and :restful_authentication_sha1 (then you should set stretches to 10, and copy
|
170
|
+
# REST_AUTH_SITE_KEY to pepper)
|
171
|
+
# config.encryptor = :sha512
|
172
|
+
|
173
|
+
# ==> Configuration for :token_authenticatable
|
174
|
+
# Defines name of the authentication token params key
|
175
|
+
# config.token_authentication_key = :auth_token
|
176
|
+
|
177
|
+
# ==> Scopes configuration
|
178
|
+
# Turn scoped views on. Before rendering "sessions/new", it will first check for
|
179
|
+
# "users/sessions/new". It's turned off by default because it's slower if you
|
180
|
+
# are using only default views.
|
181
|
+
# config.scoped_views = false
|
182
|
+
|
183
|
+
# Configure the default scope given to Warden. By default it's the first
|
184
|
+
# devise role declared in your routes (usually :user).
|
185
|
+
# config.default_scope = :user
|
186
|
+
|
187
|
+
# Set this configuration to false if you want /users/sign_out to sign out
|
188
|
+
# only the current scope. By default, Devise signs out all scopes.
|
189
|
+
# config.sign_out_all_scopes = true
|
190
|
+
|
191
|
+
# ==> Navigation configuration
|
192
|
+
# Lists the formats that should be treated as navigational. Formats like
|
193
|
+
# :html, should redirect to the sign in page when the user does not have
|
194
|
+
# access, but formats like :xml or :json, should return 401.
|
195
|
+
#
|
196
|
+
# If you have any extra navigational formats, like :iphone or :mobile, you
|
197
|
+
# should add them to the navigational formats lists.
|
198
|
+
#
|
199
|
+
# The "*/*" below is required to match Internet Explorer requests.
|
200
|
+
# config.navigational_formats = ["*/*", :html]
|
201
|
+
|
202
|
+
# The default HTTP method used to sign out a resource. Default is :delete.
|
203
|
+
config.sign_out_via = :delete
|
204
|
+
|
205
|
+
# ==> OmniAuth
|
206
|
+
# Add a new OmniAuth provider. Check the wiki for more information on setting
|
207
|
+
# up on your models and hooks.
|
208
|
+
# config.omniauth :github, 'APP_ID', 'APP_SECRET', :scope => 'user,public_repo'
|
209
|
+
|
210
|
+
# ==> Warden configuration
|
211
|
+
# If you want to use other strategies, that are not supported by Devise, or
|
212
|
+
# change the failure app, you can configure them inside the config.warden block.
|
213
|
+
#
|
214
|
+
# config.warden do |manager|
|
215
|
+
# manager.intercept_401 = false
|
216
|
+
# manager.default_strategies(:scope => :user).unshift :some_external_strategy
|
217
|
+
# end
|
218
|
+
|
219
|
+
# ==> Mountable engine configurations
|
220
|
+
# When using Devise inside an engine, let's call it `MyEngine`, and this engine
|
221
|
+
# is mountable, there are some extra configurations to be taken into account.
|
222
|
+
# The following options are available, assuming the engine is mounted as:
|
223
|
+
#
|
224
|
+
# mount MyEngine, at: "/my_engine"
|
225
|
+
#
|
226
|
+
# The router that invoked `devise_for`, in the example above, would be:
|
227
|
+
# config.router_name = :my_engine
|
228
|
+
#
|
229
|
+
# When using omniauth, Devise cannot automatically set Omniauth path,
|
230
|
+
# so you need to do it manually. For the users scope, it would be:
|
231
|
+
# config.omniauth_path_prefix = "/my_engine/users/auth"
|
232
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n
|
2
|
+
|
3
|
+
en:
|
4
|
+
errors:
|
5
|
+
messages:
|
6
|
+
expired: "has expired, please request a new one"
|
7
|
+
not_found: "not found"
|
8
|
+
already_confirmed: "was already confirmed, please try signing in"
|
9
|
+
not_locked: "was not locked"
|
10
|
+
not_saved:
|
11
|
+
one: "1 error prohibited this %{resource} from being saved:"
|
12
|
+
other: "%{count} errors prohibited this %{resource} from being saved:"
|
13
|
+
|
14
|
+
devise:
|
15
|
+
failure:
|
16
|
+
already_authenticated: 'You are already signed in.'
|
17
|
+
unauthenticated: 'You need to sign in or sign up before continuing.'
|
18
|
+
unconfirmed: 'You have to confirm your account before continuing.'
|
19
|
+
locked: 'Your account is locked.'
|
20
|
+
invalid: 'Invalid email or password.'
|
21
|
+
invalid_token: 'Invalid authentication token.'
|
22
|
+
timeout: 'Your session expired, please sign in again to continue.'
|
23
|
+
inactive: 'Your account was not activated yet.'
|
24
|
+
sessions:
|
25
|
+
signed_in: 'Signed in successfully.'
|
26
|
+
signed_out: 'Signed out successfully.'
|
27
|
+
passwords:
|
28
|
+
send_instructions: 'You will receive an email with instructions about how to reset your password in a few minutes.'
|
29
|
+
updated: 'Your password was changed successfully. You are now signed in.'
|
30
|
+
updated_not_active: 'Your password was changed successfully.'
|
31
|
+
send_paranoid_instructions: "If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes."
|
32
|
+
no_token: "You can't access this page without coming from a password reset email. If you do come from a password reset email, please make sure you used the full URL provided."
|
33
|
+
confirmations:
|
34
|
+
send_instructions: 'You will receive an email with instructions about how to confirm your account in a few minutes.'
|
35
|
+
send_paranoid_instructions: 'If your email address exists in our database, you will receive an email with instructions about how to confirm your account in a few minutes.'
|
36
|
+
confirmed: 'Your account was successfully confirmed. You are now signed in.'
|
37
|
+
registrations:
|
38
|
+
signed_up: 'Welcome! You have signed up successfully.'
|
39
|
+
signed_up_but_unconfirmed: 'A message with a confirmation link has been sent to your email address. Please open the link to activate your account.'
|
40
|
+
signed_up_but_inactive: 'You have signed up successfully. However, we could not sign you in because your account is not yet activated.'
|
41
|
+
signed_up_but_locked: 'You have signed up successfully. However, we could not sign you in because your account is locked.'
|
42
|
+
updated: 'You updated your account successfully.'
|
43
|
+
update_needs_confirmation: "You updated your account successfully, but we need to verify your new email address. Please check your email and click on the confirm link to finalize confirming your new email address."
|
44
|
+
destroyed: 'Bye! Your account was successfully cancelled. We hope to see you again soon.'
|
45
|
+
unlocks:
|
46
|
+
send_instructions: 'You will receive an email with instructions about how to unlock your account in a few minutes.'
|
47
|
+
unlocked: 'Your account has been unlocked successfully. Please sign in to continue.'
|
48
|
+
send_paranoid_instructions: 'If your account exists, you will receive an email with instructions about how to unlock it in a few minutes.'
|
49
|
+
omniauth_callbacks:
|
50
|
+
success: 'Successfully authenticated from %{kind} account.'
|
51
|
+
failure: 'Could not authenticate you from %{kind} because "%{reason}".'
|
52
|
+
mailer:
|
53
|
+
confirmation_instructions:
|
54
|
+
subject: 'Confirmation instructions'
|
55
|
+
reset_password_instructions:
|
56
|
+
subject: 'Reset password instructions'
|
57
|
+
unlock_instructions:
|
58
|
+
subject: 'Unlock Instructions'
|
data/config/routes.rb
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
class CreateVersions < ActiveRecord::Migration
|
2
|
+
def self.up
|
3
|
+
create_table :versions do |t|
|
4
|
+
t.string :item_type, :null => false
|
5
|
+
t.integer :item_id, :null => false
|
6
|
+
t.string :event, :null => false
|
7
|
+
t.string :whodunnit
|
8
|
+
t.text :object
|
9
|
+
t.datetime :created_at
|
10
|
+
end
|
11
|
+
add_index :versions, [:item_type, :item_id]
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.down
|
15
|
+
remove_index :versions, [:item_type, :item_id]
|
16
|
+
drop_table :versions
|
17
|
+
end
|
18
|
+
end
|
data/lib/maglev.rb
ADDED
metadata
ADDED
@@ -0,0 +1,303 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: maglev
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Marcelo Wiermann
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-08-18 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: &19460840 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.2.8
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *19460840
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: haml
|
27
|
+
requirement: &19459480 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *19459480
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: cancan
|
38
|
+
requirement: &19458480 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
type: :runtime
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *19458480
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: devise
|
49
|
+
requirement: &19457620 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
type: :runtime
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *19457620
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: paperclip
|
60
|
+
requirement: &19456800 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
66
|
+
type: :runtime
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *19456800
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bootstrap-sass
|
71
|
+
requirement: &19455740 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *19455740
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: compass-rails
|
82
|
+
requirement: &19454520 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
type: :runtime
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *19454520
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: redis
|
93
|
+
requirement: &19469660 !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
type: :runtime
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: *19469660
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: paper_trail
|
104
|
+
requirement: &19468840 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
type: :runtime
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: *19468840
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: fog
|
115
|
+
requirement: &19467360 !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
117
|
+
requirements:
|
118
|
+
- - ! '>='
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
121
|
+
type: :runtime
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: *19467360
|
124
|
+
- !ruby/object:Gem::Dependency
|
125
|
+
name: friendly_id
|
126
|
+
requirement: &19466760 !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: *19466760
|
135
|
+
- !ruby/object:Gem::Dependency
|
136
|
+
name: jquery-rails
|
137
|
+
requirement: &19465920 !ruby/object:Gem::Requirement
|
138
|
+
none: false
|
139
|
+
requirements:
|
140
|
+
- - ! '>='
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '0'
|
143
|
+
type: :runtime
|
144
|
+
prerelease: false
|
145
|
+
version_requirements: *19465920
|
146
|
+
- !ruby/object:Gem::Dependency
|
147
|
+
name: sass-rails
|
148
|
+
requirement: &19465240 !ruby/object:Gem::Requirement
|
149
|
+
none: false
|
150
|
+
requirements:
|
151
|
+
- - ! '>='
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
version: '0'
|
154
|
+
type: :runtime
|
155
|
+
prerelease: false
|
156
|
+
version_requirements: *19465240
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: coffee-rails
|
159
|
+
requirement: &19464360 !ruby/object:Gem::Requirement
|
160
|
+
none: false
|
161
|
+
requirements:
|
162
|
+
- - ! '>='
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '0'
|
165
|
+
type: :runtime
|
166
|
+
prerelease: false
|
167
|
+
version_requirements: *19464360
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: rspec-rails
|
170
|
+
requirement: &19462860 !ruby/object:Gem::Requirement
|
171
|
+
none: false
|
172
|
+
requirements:
|
173
|
+
- - ! '>='
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: '0'
|
176
|
+
type: :development
|
177
|
+
prerelease: false
|
178
|
+
version_requirements: *19462860
|
179
|
+
- !ruby/object:Gem::Dependency
|
180
|
+
name: guard-rails
|
181
|
+
requirement: &19478380 !ruby/object:Gem::Requirement
|
182
|
+
none: false
|
183
|
+
requirements:
|
184
|
+
- - ! '>='
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: '0'
|
187
|
+
type: :development
|
188
|
+
prerelease: false
|
189
|
+
version_requirements: *19478380
|
190
|
+
- !ruby/object:Gem::Dependency
|
191
|
+
name: guard-rspec
|
192
|
+
requirement: &19477380 !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
194
|
+
requirements:
|
195
|
+
- - ! '>='
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: '0'
|
198
|
+
type: :development
|
199
|
+
prerelease: false
|
200
|
+
version_requirements: *19477380
|
201
|
+
- !ruby/object:Gem::Dependency
|
202
|
+
name: factory_girl_rails
|
203
|
+
requirement: &19475360 !ruby/object:Gem::Requirement
|
204
|
+
none: false
|
205
|
+
requirements:
|
206
|
+
- - ! '>='
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
type: :development
|
210
|
+
prerelease: false
|
211
|
+
version_requirements: *19475360
|
212
|
+
- !ruby/object:Gem::Dependency
|
213
|
+
name: capybara
|
214
|
+
requirement: &19471340 !ruby/object:Gem::Requirement
|
215
|
+
none: false
|
216
|
+
requirements:
|
217
|
+
- - ! '>='
|
218
|
+
- !ruby/object:Gem::Version
|
219
|
+
version: '0'
|
220
|
+
type: :development
|
221
|
+
prerelease: false
|
222
|
+
version_requirements: *19471340
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: pg
|
225
|
+
requirement: &19482840 !ruby/object:Gem::Requirement
|
226
|
+
none: false
|
227
|
+
requirements:
|
228
|
+
- - ! '>='
|
229
|
+
- !ruby/object:Gem::Version
|
230
|
+
version: '0'
|
231
|
+
type: :development
|
232
|
+
prerelease: false
|
233
|
+
version_requirements: *19482840
|
234
|
+
- !ruby/object:Gem::Dependency
|
235
|
+
name: puma
|
236
|
+
requirement: &19479200 !ruby/object:Gem::Requirement
|
237
|
+
none: false
|
238
|
+
requirements:
|
239
|
+
- - ! '>='
|
240
|
+
- !ruby/object:Gem::Version
|
241
|
+
version: '0'
|
242
|
+
type: :development
|
243
|
+
prerelease: false
|
244
|
+
version_requirements: *19479200
|
245
|
+
description: Maglev is a simple CMS mountable engine to quickly add intelligent pages
|
246
|
+
to your site
|
247
|
+
email:
|
248
|
+
- marcelo.wiermann@gmail.com
|
249
|
+
executables: []
|
250
|
+
extensions: []
|
251
|
+
extra_rdoc_files: []
|
252
|
+
files:
|
253
|
+
- app/assets/stylesheets/maglev/pages.css
|
254
|
+
- app/assets/stylesheets/maglev/application.css.sass
|
255
|
+
- app/assets/javascripts/maglev/pages.js
|
256
|
+
- app/assets/javascripts/maglev/application.js.coffee
|
257
|
+
- app/helpers/maglev/pages_helper.rb
|
258
|
+
- app/helpers/maglev/application_helper.rb
|
259
|
+
- app/views/layouts/maglev/application.html.erb
|
260
|
+
- app/controllers/maglev/pages_controller.rb
|
261
|
+
- app/controllers/maglev/application_controller.rb
|
262
|
+
- config/initializers/devise.rb
|
263
|
+
- config/routes.rb
|
264
|
+
- config/locales/devise.en.yml
|
265
|
+
- db/migrate/20120814002939_create_versions.rb
|
266
|
+
- lib/maglev.rb
|
267
|
+
- lib/maglev/engine.rb
|
268
|
+
- lib/maglev/version.rb
|
269
|
+
- lib/tasks/maglev_tasks.rake
|
270
|
+
- MIT-LICENSE
|
271
|
+
- Rakefile
|
272
|
+
- README.rdoc
|
273
|
+
homepage: http://marcelow.io
|
274
|
+
licenses: []
|
275
|
+
post_install_message:
|
276
|
+
rdoc_options: []
|
277
|
+
require_paths:
|
278
|
+
- lib
|
279
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
280
|
+
none: false
|
281
|
+
requirements:
|
282
|
+
- - ! '>='
|
283
|
+
- !ruby/object:Gem::Version
|
284
|
+
version: '0'
|
285
|
+
segments:
|
286
|
+
- 0
|
287
|
+
hash: -3099922029324985286
|
288
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
289
|
+
none: false
|
290
|
+
requirements:
|
291
|
+
- - ! '>='
|
292
|
+
- !ruby/object:Gem::Version
|
293
|
+
version: '0'
|
294
|
+
segments:
|
295
|
+
- 0
|
296
|
+
hash: -3099922029324985286
|
297
|
+
requirements: []
|
298
|
+
rubyforge_project:
|
299
|
+
rubygems_version: 1.8.11
|
300
|
+
signing_key:
|
301
|
+
specification_version: 3
|
302
|
+
summary: A simple CMS engine
|
303
|
+
test_files: []
|