brightcontent 2.0.33 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5c33822685340bcf282a4119ec9c3dff72f5d9af
4
- data.tar.gz: 682de86ebfd50da74c5c4dbd9e6a8e3f51b27aff
3
+ metadata.gz: f1ef409919a2f4f1e8dabe72cb0d873b563dcdcc
4
+ data.tar.gz: 588d01b17333f0f7dab5667b7e56e86a7a4b2a88
5
5
  SHA512:
6
- metadata.gz: c57ea64ce33b24707a811a8f5f7cfc2d09649179c4416189ce8cb3c3dbf4233b787482bb6bee6f927c9367c2cbafda38559c74146d63d5a05add46dbdb833b81
7
- data.tar.gz: 0ebfbee78508c7ea77f2c13fb0222a18a5c04a16103db2d899482ed4872904e72a3314b3b845afb5bfddf110565ff024e8864065b5930814d78b803eb71da32a
6
+ metadata.gz: 40337cb490bd199ad0604f7ae1744add3a3eca6936fbcd7651f6a8e9300a6def4b872180c5c57706a1d5c2141ede1e99a2c7dbd3d013674037fef3d5a71c4152
7
+ data.tar.gz: 72448b2ce8ef8de31b51fff67d60146e6b20b6ac6e7f49f3e5a93c4184a5210d0fa37d1094fffafc056a6fd7159fa56c2d634da78d856c645688f294ef7b9b83
data/README.md CHANGED
@@ -1,9 +1,5 @@
1
- ___ _ _ _ ___ _ _
2
- | _ )_ _(_)__ _| |_| |_ / __|___ _ _| |_ ___ _ _| |
3
- | _ \ '_| / _` | ' \ _| (__/ _ \ ' \ _/ -_) ' \ _|
4
- |___/_| |_\__, |_||_\__|\___\___/_||_\__\___|_||_\__|
5
- |___/
6
-
1
+ Brightcontent
2
+ =============
7
3
 
8
4
  [![Gem Version](https://badge.fury.io/rb/brightcontent.png)](http://badge.fury.io/rb/brightcontent)
9
5
  [![Code Climate](https://codeclimate.com/github/stexy/brightcontent.png)](https://codeclimate.com/github/stexy/brightcontent)
@@ -15,9 +11,10 @@ Brightcontent, yet another rails CMS / admin panel
15
11
  * No standard 'cms-modules', we hate those, making custom is easy enough
16
12
  * Build in the rails way, use your normals models, only controllers and views are provided
17
13
  * Only exception: Page model is provided with tree structure, sorting, hidden and pretty urls like `/services/cleaning/houses`
18
- * Rails 3.2+ only
14
+ * Rails 4 only
19
15
  * Strong Parameters support
20
16
 
17
+ ![Brightcontent preview](doc/browser.jpg)
21
18
  Installation
22
19
  ------------
23
20
 
@@ -41,6 +38,7 @@ Add a resource to Brightcontent
41
38
  -------------------------------
42
39
 
43
40
  Lets say, we want to add projects. Just create the `Project` model the rails way:
41
+
44
42
  $ rails g model Project name:string description:text
45
43
  $ rake db:migrate
46
44
 
@@ -58,5 +56,5 @@ Pages gives you a Page model with tree structure and pretty urls. Every page rel
58
56
  This adds an extra layer on top of your existing routes. However when there aren't any routes available for the specific url, Rails cannot render the page. Therefore it is best to add a catch-all route (at the very bottom of the file) for all general pages:
59
57
 
60
58
  ```ruby
61
- get "*path" => "pages#show"
59
+ get "*path" => "pages#show", constraints: Brightcontent::Pages::PathConstraint.new
62
60
  ```
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.33
1
+ 2.1.0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brightcontent
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.33
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Developers at Brightin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-07 00:00:00.000000000 Z
11
+ date: 2014-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: brightcontent-core
@@ -16,53 +16,51 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.0.33
19
+ version: 2.1.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 2.0.33
26
+ version: 2.1.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: brightcontent-pages
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.0.33
33
+ version: 2.1.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 2.0.33
40
+ version: 2.1.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: brightcontent-attachments
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 2.0.33
47
+ version: 2.1.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 2.0.33
54
+ version: 2.1.0
55
55
  description: Brightcontent, yet another Rails CMS / admin panel
56
56
  email: developers@brightin.nl
57
57
  executables: []
58
58
  extensions: []
59
59
  extra_rdoc_files: []
60
60
  files:
61
- - VERSION
62
61
  - README.md
62
+ - VERSION
63
63
  - lib/brightcontent.rb
64
- - lib/tasks/release.rake
65
- - lib/tasks/rspec.rake
66
64
  homepage: http://brightin.nl
67
65
  licenses: []
68
66
  metadata: {}
@@ -72,19 +70,18 @@ require_paths:
72
70
  - lib
73
71
  required_ruby_version: !ruby/object:Gem::Requirement
74
72
  requirements:
75
- - - '>='
73
+ - - ">="
76
74
  - !ruby/object:Gem::Version
77
75
  version: '0'
78
76
  required_rubygems_version: !ruby/object:Gem::Requirement
79
77
  requirements:
80
- - - '>='
78
+ - - ">="
81
79
  - !ruby/object:Gem::Version
82
80
  version: '0'
83
81
  requirements: []
84
82
  rubyforge_project:
85
- rubygems_version: 2.0.2
83
+ rubygems_version: 2.2.2
86
84
  signing_key:
87
85
  specification_version: 4
88
86
  summary: Brightcontent gem
89
87
  test_files: []
90
- has_rdoc:
@@ -1,8 +0,0 @@
1
- desc "Release all"
2
- task "release:all" do
3
- version = File.read(File.expand_path("../../../VERSION",__FILE__)).strip
4
- sh "rake release"
5
- %w{core pages attachments}.each do |name|
6
- sh "cd #{name} && rake build && gem push pkg/brightcontent-#{name}-#{version}.gem"
7
- end
8
- end
data/lib/tasks/rspec.rake DELETED
@@ -1,6 +0,0 @@
1
- desc "Run all specs"
2
- task :spec do
3
- sh "cd core && bundle exec rake spec"
4
- sh "cd pages && bundle exec rake spec"
5
- sh "cd attachments && bundle exec rake spec"
6
- end