tkh_illustrations 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # TKH Illustrations
2
2
 
3
3
 
4
+ ## 0.0.4
5
+
6
+ * Only logged in users can access this section
7
+
8
+
4
9
  ## 0.0.3
5
10
 
6
11
  * Added an install generator to copy over migration to the host app
data/README.md CHANGED
@@ -28,9 +28,17 @@ And then of course restart your server! Typically:
28
28
 
29
29
  $ rails s
30
30
 
31
- Your dev machine and production server must have imagemagick installed.
32
31
 
33
- You'll need an admin layout. You can of course use the tkh_admin_panel gem.
32
+ ## Pre-requisites
33
+
34
+
35
+ The following things are needed:
36
+
37
+ * an admin layout - optional use of the tkh_admin_panel gem
38
+ * the imagemagick library must be installed on your dev machine and production server
39
+ * current_user and authenticate methods should be provided by your authentication system. You can use the tkh_authentication gem to that effect
40
+
41
+ That's all
34
42
 
35
43
 
36
44
  ## Usage
@@ -40,7 +48,7 @@ The section is located at:
40
48
 
41
49
  $ /illustrations
42
50
 
43
- ... and it should work out of the box providing you have imagemagick on your system.
51
+ ... and it should work out of the box
44
52
 
45
53
 
46
54
  ## Contributing
@@ -1,5 +1,7 @@
1
1
  class IllustrationsController < ApplicationController
2
2
 
3
+ before_filter :authenticate
4
+
3
5
  def index
4
6
  @illustrations = Illustration.by_recent
5
7
  render layout: 'admin'
@@ -1,3 +1,3 @@
1
1
  module TkhIllustrations
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tkh_illustrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-28 00:00:00.000000000 Z
12
+ date: 2012-07-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -48,17 +48,17 @@ dependencies:
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  none: false
50
50
  requirements:
51
- - - ! '>='
51
+ - - ~>
52
52
  - !ruby/object:Gem::Version
53
- version: '0'
53
+ version: '0.0'
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  none: false
58
58
  requirements:
59
- - - ! '>='
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '0.0'
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: rmagick
64
64
  requirement: !ruby/object:Gem::Requirement
@@ -176,7 +176,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
176
176
  version: '0'
177
177
  segments:
178
178
  - 0
179
- hash: 1564260776884740944
179
+ hash: 3296147025081491510
180
180
  required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  none: false
182
182
  requirements:
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
185
  version: '0'
186
186
  segments:
187
187
  - 0
188
- hash: 1564260776884740944
188
+ hash: 3296147025081491510
189
189
  requirements: []
190
190
  rubyforge_project:
191
191
  rubygems_version: 1.8.23