slices 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +4 -0
- data/README.md +11 -15
- data/config/initializers/backtrace_silencers.rb +7 -0
- data/config/initializers/devise.rb +14 -0
- data/config/initializers/formtastic.rb +55 -0
- data/config/initializers/inflections.rb +10 -0
- data/config/initializers/mime_types.rb +5 -0
- data/config/initializers/secret_token.rb +9 -0
- data/config/initializers/session_store.rb +10 -0
- data/config/routes.rb +41 -0
- data/lib/slices/version.rb +1 -1
- metadata +51 -72
- data/Rakefile +0 -9
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 5a04a824e0d4a78c985e83a9863dfe1af79cc9e5
|
4
|
+
data.tar.gz: e54de869fb82ad796d17f73de105724c4a7cd33a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 08121237bf001fc89635be5e8478c239268acd1d657097c7c1751a885f2c7faafce90e34a8d25ff33f7486d7aa2f5f60560b9ba9a6abbba6e3d5f74e79541a6d
|
7
|
+
data.tar.gz: 0984a4da55c4ebd8f9f70eae118b69967ee588b9aa724f27e81fbfaf78ab8f4b54a5373c803f83961559df0625850bfb52c3d65c75758c071c256f2e728bba9b
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -2,42 +2,38 @@
|
|
2
2
|
|
3
3
|
In-house CMS of [With Associates](http://withassociates.com/)
|
4
4
|
|
5
|
-
## Starting a new
|
5
|
+
## Starting a new Slices project
|
6
6
|
|
7
|
-
|
8
|
-
first if you don't have MongoDB, ImageMagick and Ruby installed.
|
7
|
+
Slices requires Ruby, MongoDB and ImageMagick. If you don't have them installed, follow this [guide](https://github.com/withassociates/slices/wiki/Installation.md) before beginning.
|
9
8
|
|
10
|
-
We'll need to checkout the
|
11
|
-
bundler and then use a Rails template to create the new project.
|
9
|
+
We'll need to checkout the Slices project, install the relevant gems using Bundler and use a Rails template to create the new project:
|
12
10
|
|
13
|
-
$ cd ~/Projects # or
|
11
|
+
$ cd ~/Projects # or wherever you store git repositories
|
14
12
|
$ git clone git@github.com:withassociates/slices.git
|
15
13
|
$ cd slices
|
16
14
|
$ gem install bundler
|
17
15
|
$ bundle install
|
18
16
|
|
19
|
-
Or if you have
|
17
|
+
Or if you have Slices already installed:
|
20
18
|
|
21
|
-
$ cd ~/Projects/slices # or
|
19
|
+
$ cd ~/Projects/slices # or wherever you store git repositories
|
22
20
|
$ git pull
|
23
21
|
$ bundle install
|
24
22
|
|
25
|
-
Now we're ready to create the
|
23
|
+
Now we're ready to create the Slices project:
|
26
24
|
|
27
25
|
$ cd ~/Projects
|
28
26
|
$ gem install rails -v '~> 3.2.0'
|
29
27
|
$ rails new mywebsite -JOT -m ~/Projects/slices/lib/generators/templates/slices.rb
|
30
28
|
|
31
|
-
At the end of this process we should have a new
|
32
|
-
created, gems installed, database seeded and ready to run:
|
29
|
+
At the end of this process we should have a new Slices project with a git repository created, gems installed, database seeded and ready to run:
|
33
30
|
|
34
31
|
$ cd ~/Projects/mywebsite
|
35
32
|
$ foreman start
|
36
33
|
|
37
34
|
Visit http://localhost:5000/admin to begin using Slices.
|
38
35
|
|
39
|
-
The next step is to create some [slices](https://github.com/withassociates/slices
|
40
|
-
and theres more guides in the [wiki](https://github.com/withassociates/slices/wiki)
|
36
|
+
The next step is to create some [slices](https://github.com/withassociates/slices/wiki/Creating-Slices) - there are more guides in the [Wiki](https://github.com/withassociates/slices/wiki).
|
41
37
|
|
42
38
|
## Code Status
|
43
39
|
|
@@ -45,7 +41,7 @@ and theres more guides in the [wiki](https://github.com/withassociates/slices/wi
|
|
45
41
|
[![Code Climate](https://codeclimate.com/github/withassociates/slices.png) ](https://codeclimate.com/github/withassociates/slices)
|
46
42
|
[![Gemnasium ](https://gemnasium.com/withassociates/slices.png) ](https://gemnasium.com/withassociates/slices)
|
47
43
|
|
48
|
-
##
|
44
|
+
## License
|
49
45
|
|
50
|
-
Copyright (c) 2014 With Associates
|
46
|
+
Slices is released under the [MIT license](http://www.opensource.org/licenses/MIT). Copyright (c) 2014 With Associates.
|
51
47
|
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
+
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -0,0 +1,14 @@
|
|
1
|
+
require 'omniauth/openid'
|
2
|
+
require 'openid/store/filesystem'
|
3
|
+
require 'devise/orm/mongoid'
|
4
|
+
|
5
|
+
ActiveSupport::SecureRandom = SecureRandom
|
6
|
+
|
7
|
+
Devise.setup do |config|
|
8
|
+
config.omniauth :google_apps,
|
9
|
+
OpenID::Store::Filesystem.new('/tmp'),
|
10
|
+
domain: Slices::Config.google_apps_domain
|
11
|
+
|
12
|
+
config.use_salt_as_remember_token = true
|
13
|
+
config.mailer_sender = "hello@example.com"
|
14
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# Set the default text field size when input is a string. Default is 50.
|
2
|
+
# Formtastic::SemanticFormBuilder.default_text_field_size = 50
|
3
|
+
|
4
|
+
# Set the default text area height when input is a text. Default is 20.
|
5
|
+
# Formtastic::SemanticFormBuilder.default_text_area_height = 5
|
6
|
+
|
7
|
+
# Should all fields be considered "required" by default?
|
8
|
+
# Rails 2 only, ignored by Rails 3 because it will never fall back to this default.
|
9
|
+
# Defaults to true.
|
10
|
+
# Formtastic::SemanticFormBuilder.all_fields_required_by_default = true
|
11
|
+
|
12
|
+
# Should select fields have a blank option/prompt by default?
|
13
|
+
# Defaults to true.
|
14
|
+
# Formtastic::SemanticFormBuilder.include_blank_for_select_by_default = true
|
15
|
+
|
16
|
+
# Set the string that will be appended to the labels/fieldsets which are required
|
17
|
+
# It accepts string or procs and the default is a localized version of
|
18
|
+
# '<abbr title="required">*</abbr>'. In other words, if you configure formtastic.required
|
19
|
+
# in your locale, it will replace the abbr title properly. But if you don't want to use
|
20
|
+
# abbr tag, you can simply give a string as below
|
21
|
+
# Formtastic::SemanticFormBuilder.required_string = "(required)"
|
22
|
+
|
23
|
+
# Set the string that will be appended to the labels/fieldsets which are optional
|
24
|
+
# Defaults to an empty string ("") and also accepts procs (see required_string above)
|
25
|
+
# Formtastic::SemanticFormBuilder.optional_string = "(optional)"
|
26
|
+
|
27
|
+
# Set the way inline errors will be displayed.
|
28
|
+
# Defaults to :sentence, valid options are :sentence, :list and :none
|
29
|
+
# Formtastic::SemanticFormBuilder.inline_errors = :sentence
|
30
|
+
|
31
|
+
# Set the method to call on label text to transform or format it for human-friendly
|
32
|
+
# reading when formtastic is used without object. Defaults to :humanize.
|
33
|
+
# Formtastic::SemanticFormBuilder.label_str_method = :humanize
|
34
|
+
|
35
|
+
# Set the array of methods to try calling on parent objects in :select and :radio inputs
|
36
|
+
# for the text inside each @<option>@ tag or alongside each radio @<input>@. The first method
|
37
|
+
# that is found on the object will be used.
|
38
|
+
# Defaults to ["to_label", "display_name", "full_name", "name", "title", "username", "login", "value", "to_s"]
|
39
|
+
# Formtastic::SemanticFormBuilder.collection_label_methods = [
|
40
|
+
# "to_label", "display_name", "full_name", "name", "title", "username", "login", "value", "to_s"]
|
41
|
+
|
42
|
+
# Formtastic by default renders inside li tags the input, hints and then
|
43
|
+
# errors messages. Sometimes you want the hints to be rendered first than
|
44
|
+
# the input, in the following order: hints, input and errors. You can
|
45
|
+
# customize it doing just as below:
|
46
|
+
# Formtastic::SemanticFormBuilder.inline_order = [:input, :hints, :errors]
|
47
|
+
|
48
|
+
# Specifies if labels/hints for input fields automatically be looked up using I18n.
|
49
|
+
# Default value: false. Overridden for specific fields by setting value to true,
|
50
|
+
# i.e. :label => true, or :hint => true (or opposite depending on initialized value)
|
51
|
+
# Formtastic::SemanticFormBuilder.i18n_lookups_by_default = false
|
52
|
+
|
53
|
+
# You can add custom inputs or override parts of Formtastic by subclassing SemanticFormBuilder and
|
54
|
+
# specifying that class here. Defaults to SemanticFormBuilder.
|
55
|
+
# Formtastic::SemanticFormHelper.builder = MyCustomBuilder
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format
|
4
|
+
# (all these examples are active by default):
|
5
|
+
# ActiveSupport::Inflector.inflections do |inflect|
|
6
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
7
|
+
# inflect.singular /^(ox)en/i, '\1'
|
8
|
+
# inflect.irregular 'person', 'people'
|
9
|
+
# inflect.uncountable %w( fish sheep )
|
10
|
+
# end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
# Make sure the secret is at least 30 characters and all random,
|
6
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
+
if defined?(Slices::Application)
|
8
|
+
Slices::Application.config.secret_token = 'b101d69faed18665b8d3b9f7dd321593b6687ddaced0c9b563ad92627ae5d53c835d3977918d8322c2928e5a7cd3b28d909f386d15156a950d7ca8f5669f3693'
|
9
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
if defined?(Slices::Application)
|
4
|
+
Slices::Application.config.session_store :cookie_store, key: '_slices_session'
|
5
|
+
end
|
6
|
+
|
7
|
+
# Use the database for sessions instead of the cookie-based default,
|
8
|
+
# which shouldn't be used to store highly confidential information
|
9
|
+
# (create the session table with "rake db:sessions:create")
|
10
|
+
# Slices::Application.config.session_store :active_record_store
|
data/config/routes.rb
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
class PageConstraints
|
2
|
+
def matches?(request)
|
3
|
+
!request.path.start_with?("/admin/auth")
|
4
|
+
end
|
5
|
+
end
|
6
|
+
|
7
|
+
Rails.application.routes.draw do
|
8
|
+
|
9
|
+
devise_for :admin, :path => "admin", :controllers => {
|
10
|
+
:omniauth_callbacks => "admin/auth/omniauth_callbacks",
|
11
|
+
:passwords => "admin/auth/passwords",
|
12
|
+
:sessions => "admin/auth/sessions",
|
13
|
+
}
|
14
|
+
|
15
|
+
namespace :admin do
|
16
|
+
match 'site_maps' => 'site_maps#index', :as => :root # Devise redirects here after sign in
|
17
|
+
match 'site_maps' => 'site_maps#index'
|
18
|
+
match 'site_maps/update' => 'site_maps#update'
|
19
|
+
match 'pages/search' => 'page_search#show'
|
20
|
+
resources :pages, :except => [:index, :edit] do
|
21
|
+
resources :entries, :only => [:index]
|
22
|
+
end
|
23
|
+
resources :assets
|
24
|
+
resources :snippets
|
25
|
+
resources :admins
|
26
|
+
end
|
27
|
+
match '/admin' => redirect('/admin/site_maps')
|
28
|
+
|
29
|
+
match 'slices/templates(/:slice)/:name.:format' => 'static_assets#templates'
|
30
|
+
match ':action/:asset_type(/:folder)/*name.:format' => 'static_assets',
|
31
|
+
:constraints => {
|
32
|
+
:asset_type => /(stylesheets|javascripts|images)/,
|
33
|
+
:action => /(slices|sites)/
|
34
|
+
}, :as => :static_assets
|
35
|
+
|
36
|
+
match ':status.html' => 'pages#virtual_error_pages'
|
37
|
+
match '*path' => 'pages#create', :via => :post
|
38
|
+
match '*path' => 'pages#show', :as => :page, :constraints => PageConstraints.new
|
39
|
+
|
40
|
+
root :to => 'pages#show'
|
41
|
+
end
|
data/lib/slices/version.rb
CHANGED
metadata
CHANGED
@@ -1,228 +1,200 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slices
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- With Associates
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-13 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: bson_ext
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 1.7.1
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 1.7.1
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: cocaine
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- - ~>
|
31
|
+
- - "~>"
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 0.3.2
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- - ~>
|
38
|
+
- - "~>"
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 0.3.2
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: devise
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- - ~>
|
45
|
+
- - "~>"
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: 1.3.4
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- - ~>
|
52
|
+
- - "~>"
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: 1.3.4
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: highline
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- - ~>
|
59
|
+
- - "~>"
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: 1.6.0
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- - ~>
|
66
|
+
- - "~>"
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: 1.6.0
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: mongo
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- - ~>
|
73
|
+
- - "~>"
|
84
74
|
- !ruby/object:Gem::Version
|
85
75
|
version: 1.7.1
|
86
76
|
type: :runtime
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- - ~>
|
80
|
+
- - "~>"
|
92
81
|
- !ruby/object:Gem::Version
|
93
82
|
version: 1.7.1
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: mongoid
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
|
-
- - ~>
|
87
|
+
- - "~>"
|
100
88
|
- !ruby/object:Gem::Version
|
101
89
|
version: 2.5.1
|
102
90
|
type: :runtime
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
|
-
- - ~>
|
94
|
+
- - "~>"
|
108
95
|
- !ruby/object:Gem::Version
|
109
96
|
version: 2.5.1
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: mongoid-paperclip
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
|
-
- - ~>
|
101
|
+
- - "~>"
|
116
102
|
- !ruby/object:Gem::Version
|
117
103
|
version: 0.0.8
|
118
104
|
type: :runtime
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
|
-
- - ~>
|
108
|
+
- - "~>"
|
124
109
|
- !ruby/object:Gem::Version
|
125
110
|
version: 0.0.8
|
126
111
|
- !ruby/object:Gem::Dependency
|
127
112
|
name: oa-openid
|
128
113
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
114
|
requirements:
|
131
|
-
- - ~>
|
115
|
+
- - "~>"
|
132
116
|
- !ruby/object:Gem::Version
|
133
117
|
version: 0.3.2
|
134
118
|
type: :runtime
|
135
119
|
prerelease: false
|
136
120
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
121
|
requirements:
|
139
|
-
- - ~>
|
122
|
+
- - "~>"
|
140
123
|
- !ruby/object:Gem::Version
|
141
124
|
version: 0.3.2
|
142
125
|
- !ruby/object:Gem::Dependency
|
143
126
|
name: paperclip
|
144
127
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
128
|
requirements:
|
147
|
-
- - ~>
|
129
|
+
- - "~>"
|
148
130
|
- !ruby/object:Gem::Version
|
149
131
|
version: 3.1.4
|
150
132
|
type: :runtime
|
151
133
|
prerelease: false
|
152
134
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
135
|
requirements:
|
155
|
-
- - ~>
|
136
|
+
- - "~>"
|
156
137
|
- !ruby/object:Gem::Version
|
157
138
|
version: 3.1.4
|
158
139
|
- !ruby/object:Gem::Dependency
|
159
140
|
name: rails
|
160
141
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
142
|
requirements:
|
163
|
-
- - ~>
|
143
|
+
- - "~>"
|
164
144
|
- !ruby/object:Gem::Version
|
165
145
|
version: 3.2.16
|
166
146
|
type: :runtime
|
167
147
|
prerelease: false
|
168
148
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
149
|
requirements:
|
171
|
-
- - ~>
|
150
|
+
- - "~>"
|
172
151
|
- !ruby/object:Gem::Version
|
173
152
|
version: 3.2.16
|
174
153
|
- !ruby/object:Gem::Dependency
|
175
154
|
name: redcarpet
|
176
155
|
requirement: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
156
|
requirements:
|
179
|
-
- - ~>
|
157
|
+
- - "~>"
|
180
158
|
- !ruby/object:Gem::Version
|
181
159
|
version: 3.0.0
|
182
160
|
type: :runtime
|
183
161
|
prerelease: false
|
184
162
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
163
|
requirements:
|
187
|
-
- - ~>
|
164
|
+
- - "~>"
|
188
165
|
- !ruby/object:Gem::Version
|
189
166
|
version: 3.0.0
|
190
167
|
- !ruby/object:Gem::Dependency
|
191
168
|
name: RedCloth
|
192
169
|
requirement: !ruby/object:Gem::Requirement
|
193
|
-
none: false
|
194
170
|
requirements:
|
195
|
-
- - ~>
|
171
|
+
- - "~>"
|
196
172
|
- !ruby/object:Gem::Version
|
197
173
|
version: 4.2.9
|
198
174
|
type: :runtime
|
199
175
|
prerelease: false
|
200
176
|
version_requirements: !ruby/object:Gem::Requirement
|
201
|
-
none: false
|
202
177
|
requirements:
|
203
|
-
- - ~>
|
178
|
+
- - "~>"
|
204
179
|
- !ruby/object:Gem::Version
|
205
180
|
version: 4.2.9
|
206
181
|
- !ruby/object:Gem::Dependency
|
207
182
|
name: stringex
|
208
183
|
requirement: !ruby/object:Gem::Requirement
|
209
|
-
none: false
|
210
184
|
requirements:
|
211
|
-
- - ~>
|
185
|
+
- - "~>"
|
212
186
|
- !ruby/object:Gem::Version
|
213
187
|
version: 1.4.0
|
214
188
|
type: :runtime
|
215
189
|
prerelease: false
|
216
190
|
version_requirements: !ruby/object:Gem::Requirement
|
217
|
-
none: false
|
218
191
|
requirements:
|
219
|
-
- - ~>
|
192
|
+
- - "~>"
|
220
193
|
- !ruby/object:Gem::Version
|
221
194
|
version: 1.4.0
|
222
195
|
- !ruby/object:Gem::Dependency
|
223
196
|
name: will_paginate
|
224
197
|
requirement: !ruby/object:Gem::Requirement
|
225
|
-
none: false
|
226
198
|
requirements:
|
227
199
|
- - '='
|
228
200
|
- !ruby/object:Gem::Version
|
@@ -230,7 +202,6 @@ dependencies:
|
|
230
202
|
type: :runtime
|
231
203
|
prerelease: false
|
232
204
|
version_requirements: !ruby/object:Gem::Requirement
|
233
|
-
none: false
|
234
205
|
requirements:
|
235
206
|
- - '='
|
236
207
|
- !ruby/object:Gem::Version
|
@@ -242,6 +213,8 @@ executables: []
|
|
242
213
|
extensions: []
|
243
214
|
extra_rdoc_files: []
|
244
215
|
files:
|
216
|
+
- CHANGELOG.md
|
217
|
+
- README.md
|
245
218
|
- app/assets/images/slices/ajax-loader.gif
|
246
219
|
- app/assets/images/slices/asset-background.png
|
247
220
|
- app/assets/images/slices/asset-spinner.gif
|
@@ -403,10 +376,19 @@ files:
|
|
403
376
|
- app/views/admin/snippets/index.html.erb
|
404
377
|
- app/views/admin/snippets/update.html.erb
|
405
378
|
- app/views/layouts/admin.html.erb
|
379
|
+
- config/initializers/backtrace_silencers.rb
|
380
|
+
- config/initializers/devise.rb
|
381
|
+
- config/initializers/formtastic.rb
|
382
|
+
- config/initializers/inflections.rb
|
383
|
+
- config/initializers/mime_types.rb
|
384
|
+
- config/initializers/secret_token.rb
|
385
|
+
- config/initializers/session_store.rb
|
386
|
+
- config/routes.rb
|
406
387
|
- lib/ext/file_store_cache.rb
|
388
|
+
- lib/generators/humans/USAGE
|
407
389
|
- lib/generators/humans/humans_generator.rb
|
408
390
|
- lib/generators/humans/templates/humans.txt
|
409
|
-
- lib/generators/
|
391
|
+
- lib/generators/slice/USAGE
|
410
392
|
- lib/generators/slice/slice_generator.rb
|
411
393
|
- lib/generators/slice/templates/main_fields.hbs
|
412
394
|
- lib/generators/slice/templates/meta_fields.hbs
|
@@ -419,12 +401,13 @@ files:
|
|
419
401
|
- lib/generators/slice/templates/show_slice.rb
|
420
402
|
- lib/generators/slice/templates/slice.rb
|
421
403
|
- lib/generators/slice/templates/slice_fields.hbs
|
422
|
-
- lib/generators/slice/USAGE
|
423
404
|
- lib/generators/templates/slices.rb
|
424
405
|
- lib/mongo_search.rb
|
425
406
|
- lib/paperclip_validator.rb
|
426
407
|
- lib/rack_utf8_fix.rb
|
408
|
+
- lib/sRGB.icc
|
427
409
|
- lib/set_link_renderer.rb
|
410
|
+
- lib/slices.rb
|
428
411
|
- lib/slices/asset/maker.rb
|
429
412
|
- lib/slices/asset/rename.rb
|
430
413
|
- lib/slices/available_slices.rb
|
@@ -434,8 +417,8 @@ files:
|
|
434
417
|
- lib/slices/generator_macros.rb
|
435
418
|
- lib/slices/has_attachments.rb
|
436
419
|
- lib/slices/has_slices.rb
|
437
|
-
- lib/slices/i18n/backend.rb
|
438
420
|
- lib/slices/i18n.rb
|
421
|
+
- lib/slices/i18n/backend.rb
|
439
422
|
- lib/slices/i18n_backend.rb
|
440
423
|
- lib/slices/paperclip.rb
|
441
424
|
- lib/slices/position_helper.rb
|
@@ -450,34 +433,30 @@ files:
|
|
450
433
|
- lib/slices/version.rb
|
451
434
|
- lib/slices/will_paginate.rb
|
452
435
|
- lib/slices/will_paginate_mongoid.rb
|
453
|
-
- lib/slices.rb
|
454
|
-
- lib/sRGB.icc
|
455
436
|
- lib/standard_tree.rb
|
456
|
-
- CHANGELOG.md
|
457
|
-
- README.md
|
458
|
-
- Rakefile
|
459
437
|
homepage: http://www.withassociates.com
|
460
|
-
licenses:
|
438
|
+
licenses:
|
439
|
+
- MIT
|
440
|
+
metadata: {}
|
461
441
|
post_install_message:
|
462
442
|
rdoc_options: []
|
463
443
|
require_paths:
|
464
444
|
- lib
|
465
445
|
required_ruby_version: !ruby/object:Gem::Requirement
|
466
|
-
none: false
|
467
446
|
requirements:
|
468
|
-
- -
|
447
|
+
- - ">="
|
469
448
|
- !ruby/object:Gem::Version
|
470
449
|
version: '0'
|
471
450
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
472
|
-
none: false
|
473
451
|
requirements:
|
474
|
-
- -
|
452
|
+
- - ">="
|
475
453
|
- !ruby/object:Gem::Version
|
476
454
|
version: 1.3.6
|
477
455
|
requirements: []
|
478
456
|
rubyforge_project: slices
|
479
|
-
rubygems_version:
|
457
|
+
rubygems_version: 2.2.1
|
480
458
|
signing_key:
|
481
|
-
specification_version:
|
459
|
+
specification_version: 4
|
482
460
|
summary: Slices CMS, from With Associates
|
483
461
|
test_files: []
|
462
|
+
has_rdoc:
|
data/Rakefile
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
2
|
-
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
3
|
-
|
4
|
-
require File.expand_path('../config/application', __FILE__)
|
5
|
-
require 'rake'
|
6
|
-
|
7
|
-
require 'bundler'
|
8
|
-
Bundler::GemHelper.install_tasks
|
9
|
-
Slices::Application.load_tasks
|