chr 0.4.11 → 0.4.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/{LICENSE.md → LICENSE} +0 -0
- data/README.md +13 -40
- data/bin/rake +0 -0
- data/bin/setup +0 -0
- data/chr.gemspec +11 -10
- data/docs/demo.png +0 -0
- data/docs/notes.md +3 -0
- data/lib/chr/version.rb +2 -2
- metadata +77 -18
- data/docs/assets.md +0 -0
- data/docs/basics.md +0 -0
- data/docs/custom-inputs.md +0 -0
- data/docs/form.md +0 -0
- data/docs/internals.md +0 -0
- data/docs/nested-forms.md +0 -0
- data/docs/redactor-js.md +0 -0
- data/docs/scopes.md +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f731549e404ffdd9f1623583ddfe872e08b38aea
|
4
|
+
data.tar.gz: 490af2234f3464422866fdcdc1dc9026672752f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9edd09db6f3f410be71d8aecefca3b31170ee6521785fa1cd1deee18f11b3121efbecba25f7b05fb41a4afbc2c0859935642448759a1d56a4102e5c465263f1b
|
7
|
+
data.tar.gz: a256d972fadde06a5836df52db3d274400a528e92053cef9455a10d7b683e18c07ed11ee83a638c17ca091fb13fae5d780641578d7301fe724d574df173a62d6
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.2.
|
1
|
+
2.2.3
|
data/{LICENSE.md → LICENSE}
RENAMED
File without changes
|
data/README.md
CHANGED
@@ -1,60 +1,33 @@
|
|
1
|
-
# Character
|
1
|
+
# Character [![Build Status](https://travis-ci.org/slate-studio/chr.svg?branch=master)](https://travis-ci.org/slate-studio/chr)
|
2
2
|
|
3
|
-
[
|
4
|
-
|
5
|
-
|
6
|
-
*Powerful responsive javascript CMS for apps.*
|
3
|
+
Character is powerful responsive javascript-based CMS for website and applications used by [Slate Studio](https://www.slatestudio.com).
|
7
4
|
|
8
5
|
|
9
6
|
## Quick Start
|
10
7
|
|
11
|
-
|
12
|
-
|
13
|
-
```coffee
|
14
|
-
#= require jquery
|
15
|
-
#= require chr
|
16
|
-
|
17
|
-
postsConfig = (data) ->
|
18
|
-
itemTitleField: 'title'
|
19
|
-
arrayStore: new RestArrayStore({
|
20
|
-
path: '/admin/posts'
|
21
|
-
sortBy: 'title'
|
22
|
-
})
|
23
|
-
formSchema:
|
24
|
-
title: { type: 'string' }
|
25
|
-
body: { type: 'text' }
|
26
|
-
|
27
|
-
$ ->
|
28
|
-
config =
|
29
|
-
modules:
|
30
|
-
posts: postsConfig()
|
8
|
+
First install the character gem:
|
31
9
|
|
32
|
-
|
33
|
-
```
|
10
|
+
gem install chr
|
34
11
|
|
35
|
-
|
12
|
+
Then run:
|
36
13
|
|
37
|
-
|
38
|
-
@import "normalize-rails";
|
39
|
-
@import "chr";
|
40
|
-
```
|
14
|
+
chr projectname
|
41
15
|
|
16
|
+
This will create a Rails app in `projectname` using the latest version of Rails with character CMS integrated.
|
42
17
|
|
43
|
-
|
18
|
+
Go to created project folder, run `bin/setup` and start development server with `rails s`. Go to `localhost:3000/admin` and login with `user@example.com/password`. You see default character initial configuration, it gives `file uploader`, `admins` and `redirects` modules out of the box as shown on screenshot below.
|
44
19
|
|
45
|
-
|
46
|
-
* [Bootstrap Data](docs/bootstrap.md)
|
47
|
-
* [Tests](docs/tests.md)
|
20
|
+
![Default Character Setup Demo](https://raw.github.com/slate-studio/chr/master/docs/demo.png)
|
48
21
|
|
49
|
-
|
22
|
+
Project is ready to deploy to [Heroku](https://www.heroku.com). Take a look at projects `README.md` to add plugins, create S3 bucket and setup `ENV` settings required to run the app. After deploy first admin has to be created via `heroku run console`:
|
50
23
|
|
24
|
+
Admin.create(email: 'admin@example.com', password: 'password')
|
51
25
|
|
52
|
-
## Notes
|
53
26
|
|
54
|
-
|
27
|
+
## Connect Models
|
55
28
|
|
56
29
|
|
57
|
-
## Character
|
30
|
+
## Character Family:
|
58
31
|
|
59
32
|
- [Character](https://github.com/slate-studio/chr): Powerful responsive javascript CMS for apps
|
60
33
|
- [Mongosteen](https://github.com/slate-studio/mongosteen): An easy way to add RESTful actions for Mongoid models
|
data/bin/rake
CHANGED
File without changes
|
data/bin/setup
CHANGED
File without changes
|
data/chr.gemspec
CHANGED
@@ -16,15 +16,17 @@ build data management web applications in a fast and flexible way, e.g. CMS, new
|
|
16
16
|
email client etc. It's responsive by default and designed to be data source independent.
|
17
17
|
DESC
|
18
18
|
|
19
|
-
s.name
|
20
|
-
s.summary
|
21
|
-
s.homepage
|
22
|
-
s.
|
23
|
-
s.
|
24
|
-
s.
|
25
|
-
s.
|
26
|
-
s.
|
27
|
-
s.
|
19
|
+
s.name = 'chr'
|
20
|
+
s.summary = 'Character is powerful responsive javascript-based CMS.'
|
21
|
+
s.homepage = 'http://github.com/slate-studio/chr'
|
22
|
+
s.extra_rdoc_files = %w[README.md LICENSE]
|
23
|
+
s.license = 'MIT'
|
24
|
+
s.files = `git ls-files`.split("\n")
|
25
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
26
|
+
s.require_paths = [ 'lib' ]
|
27
|
+
s.executables = [ 'chr' ]
|
28
|
+
s.version = Chr::VERSION
|
29
|
+
s.platform = Gem::Platform::RUBY
|
28
30
|
|
29
31
|
s.add_dependency 'rails', Chr::RAILS_VERSION
|
30
32
|
s.add_dependency 'coffee-rails', '>= 4.0'
|
@@ -47,5 +49,4 @@ email client etc. It's responsive by default and designed to be data source inde
|
|
47
49
|
s.add_development_dependency 'capybara-screenshot'
|
48
50
|
s.add_development_dependency 'selenium-webdriver'
|
49
51
|
s.add_development_dependency 'minitest-reporters'
|
50
|
-
|
51
52
|
end
|
data/docs/demo.png
ADDED
Binary file
|
data/docs/notes.md
ADDED
data/lib/chr/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kravets
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-09-
|
13
|
+
date: 2015-09-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 4.2.
|
21
|
+
version: 4.2.4
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 4.2.
|
28
|
+
version: 4.2.4
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: coffee-rails
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -272,7 +272,9 @@ email: alex@slatestudio.com
|
|
272
272
|
executables:
|
273
273
|
- chr
|
274
274
|
extensions: []
|
275
|
-
extra_rdoc_files:
|
275
|
+
extra_rdoc_files:
|
276
|
+
- README.md
|
277
|
+
- LICENSE
|
276
278
|
files:
|
277
279
|
- ".coveralls.yml"
|
278
280
|
- ".gitignore"
|
@@ -280,7 +282,7 @@ files:
|
|
280
282
|
- ".travis.yml"
|
281
283
|
- CONTRIBUTING.md
|
282
284
|
- Gemfile
|
283
|
-
- LICENSE
|
285
|
+
- LICENSE
|
284
286
|
- README.md
|
285
287
|
- Rakefile
|
286
288
|
- app/assets/javascripts/chr.coffee
|
@@ -311,16 +313,10 @@ files:
|
|
311
313
|
- bin/rake
|
312
314
|
- bin/setup
|
313
315
|
- chr.gemspec
|
314
|
-
- docs/assets.md
|
315
|
-
- docs/basics.md
|
316
316
|
- docs/bootstrap.md
|
317
|
-
- docs/
|
318
|
-
- docs/
|
319
|
-
- docs/internals.md
|
320
|
-
- docs/nested-forms.md
|
317
|
+
- docs/demo.png
|
318
|
+
- docs/notes.md
|
321
319
|
- docs/rails.md
|
322
|
-
- docs/redactor-js.md
|
323
|
-
- docs/scopes.md
|
324
320
|
- docs/tests.md
|
325
321
|
- lib/chr.rb
|
326
322
|
- lib/chr/app_builder.rb
|
@@ -439,7 +435,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
439
435
|
requirements:
|
440
436
|
- - ">="
|
441
437
|
- !ruby/object:Gem::Version
|
442
|
-
version: 2.2.
|
438
|
+
version: 2.2.3
|
443
439
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
444
440
|
requirements:
|
445
441
|
- - ">="
|
@@ -447,8 +443,71 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
447
443
|
version: '0'
|
448
444
|
requirements: []
|
449
445
|
rubyforge_project:
|
450
|
-
rubygems_version: 2.4.
|
446
|
+
rubygems_version: 2.4.5.1
|
451
447
|
signing_key:
|
452
448
|
specification_version: 4
|
453
|
-
summary:
|
454
|
-
test_files:
|
449
|
+
summary: Character is powerful responsive javascript-based CMS.
|
450
|
+
test_files:
|
451
|
+
- test/factories/article_factory.rb
|
452
|
+
- test/files/test.jpg
|
453
|
+
- test/integration/article_fullsize_test.rb
|
454
|
+
- test/integration/article_test.rb
|
455
|
+
- test/integration/magazine_article_test.rb
|
456
|
+
- test/integration/restricted_article_test.rb
|
457
|
+
- test/integration/sport_article_test.rb
|
458
|
+
- test/rails_app/Rakefile
|
459
|
+
- test/rails_app/app/assets/javascripts/admin.coffee
|
460
|
+
- test/rails_app/app/assets/javascripts/application.js
|
461
|
+
- test/rails_app/app/assets/stylesheets/admin.scss
|
462
|
+
- test/rails_app/app/assets/stylesheets/application.css
|
463
|
+
- test/rails_app/app/controllers/admin/articles_controller.rb
|
464
|
+
- test/rails_app/app/controllers/admin/base_controller.rb
|
465
|
+
- test/rails_app/app/controllers/application_controller.rb
|
466
|
+
- test/rails_app/app/helpers/application_helper.rb
|
467
|
+
- test/rails_app/app/models/article.rb
|
468
|
+
- test/rails_app/app/uploaders/article_image_uploader.rb
|
469
|
+
- test/rails_app/app/views/admin/index.html.erb
|
470
|
+
- test/rails_app/app/views/layouts/admin.html.erb
|
471
|
+
- test/rails_app/app/views/layouts/application.html.erb
|
472
|
+
- test/rails_app/bin/bundle
|
473
|
+
- test/rails_app/bin/rails
|
474
|
+
- test/rails_app/bin/rake
|
475
|
+
- test/rails_app/bin/setup
|
476
|
+
- test/rails_app/bin/spring
|
477
|
+
- test/rails_app/config.ru
|
478
|
+
- test/rails_app/config/application.rb
|
479
|
+
- test/rails_app/config/boot.rb
|
480
|
+
- test/rails_app/config/environment.rb
|
481
|
+
- test/rails_app/config/environments/development.rb
|
482
|
+
- test/rails_app/config/environments/production.rb
|
483
|
+
- test/rails_app/config/environments/test.rb
|
484
|
+
- test/rails_app/config/initializers/assets.rb
|
485
|
+
- test/rails_app/config/initializers/backtrace_silencers.rb
|
486
|
+
- test/rails_app/config/initializers/carrierwave.rb
|
487
|
+
- test/rails_app/config/initializers/cookies_serializer.rb
|
488
|
+
- test/rails_app/config/initializers/filter_parameter_logging.rb
|
489
|
+
- test/rails_app/config/initializers/inflections.rb
|
490
|
+
- test/rails_app/config/initializers/mime_types.rb
|
491
|
+
- test/rails_app/config/initializers/session_store.rb
|
492
|
+
- test/rails_app/config/initializers/wrap_parameters.rb
|
493
|
+
- test/rails_app/config/locales/en.yml
|
494
|
+
- test/rails_app/config/mongoid.yml
|
495
|
+
- test/rails_app/config/routes.rb
|
496
|
+
- test/rails_app/config/secrets.yml
|
497
|
+
- test/rails_app/db/seeds.rb
|
498
|
+
- test/rails_app/log/development.log
|
499
|
+
- test/rails_app/public/404.html
|
500
|
+
- test/rails_app/public/422.html
|
501
|
+
- test/rails_app/public/500.html
|
502
|
+
- test/rails_app/public/favicon.ico
|
503
|
+
- test/rails_app/public/robots.txt
|
504
|
+
- test/support/character_front_end.rb
|
505
|
+
- test/support/chr/item.rb
|
506
|
+
- test/support/chr/list.rb
|
507
|
+
- test/support/chr/list_pagination.rb
|
508
|
+
- test/support/chr/list_reorder.rb
|
509
|
+
- test/support/chr/list_search.rb
|
510
|
+
- test/support/chr/view.rb
|
511
|
+
- test/support/stores/array.rb
|
512
|
+
- test/support/stores/rest-array.rb
|
513
|
+
- test/test_helper.rb
|
data/docs/assets.md
DELETED
File without changes
|
data/docs/basics.md
DELETED
File without changes
|
data/docs/custom-inputs.md
DELETED
File without changes
|
data/docs/form.md
DELETED
File without changes
|
data/docs/internals.md
DELETED
File without changes
|
data/docs/nested-forms.md
DELETED
File without changes
|
data/docs/redactor-js.md
DELETED
File without changes
|
data/docs/scopes.md
DELETED
File without changes
|