muck-engine 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. data/README.rdoc +14 -1
  2. data/Rakefile +1 -0
  3. data/VERSION +1 -1
  4. data/muck-engine.gemspec +5 -2
  5. metadata +13 -4
@@ -8,13 +8,26 @@ The easiest way to get started with muck is to generate your application using a
8
8
  Add optional functionality with the following command:
9
9
  $ rake rails:template LOCATION=http://github.com/jbasdf/rails-templates/raw/master/mucktoo.rb
10
10
 
11
+ == Installation
12
+
13
+ sudo gem install mislav-will_paginate -s 'http://gems.github.com'
14
+
15
+ sudo gem install muck-engine
16
+
11
17
  == Setup
12
18
  Be sure to include the muck_engine tasks in your Rakefile:
13
19
 
14
20
  require 'muck_engine'
15
21
  require 'muck_engine/tasks'
16
22
 
17
-
23
+ Add a method to application_controller.rb that will determine which users have access to the admin section of the website
24
+
25
+ # called by Admin::Muck::BaseController to check whether or not the
26
+ # user should have access to the admin UI
27
+ def admin_access?
28
+ admin?
29
+ end
30
+
18
31
  == Layout
19
32
 
20
33
  The muck template will build your basic application and construct all the needed files and configuration.
data/Rakefile CHANGED
@@ -33,6 +33,7 @@ begin
33
33
  gemspec.description = "The base engine for the muck system. Contains common tables, custom for, css and javascript."
34
34
  gemspec.authors = ["Justin Ball"]
35
35
  gemspec.rubyforge_project = 'muck-engine'
36
+ gemspec.add_dependency "mislav-will_paginate"
36
37
  gemspec.files.include %w( tasks/*
37
38
  db/migrate/*.rb
38
39
  app/**/**/**/*
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.5
1
+ 0.1.6
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{muck-engine}
5
- s.version = "0.1.5"
5
+ s.version = "0.1.6"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Justin Ball"]
9
- s.date = %q{2009-06-13}
9
+ s.date = %q{2009-06-18}
10
10
  s.description = %q{The base engine for the muck system. Contains common tables, custom for, css and javascript.}
11
11
  s.email = %q{justinball@gmail.com}
12
12
  s.extra_rdoc_files = [
@@ -249,8 +249,11 @@ Gem::Specification.new do |s|
249
249
  s.specification_version = 2
250
250
 
251
251
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
252
+ s.add_runtime_dependency(%q<mislav-will_paginate>, [">= 0"])
252
253
  else
254
+ s.add_dependency(%q<mislav-will_paginate>, [">= 0"])
253
255
  end
254
256
  else
257
+ s.add_dependency(%q<mislav-will_paginate>, [">= 0"])
255
258
  end
256
259
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muck-engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Ball
@@ -9,10 +9,19 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-13 00:00:00 -06:00
12
+ date: 2009-06-18 00:00:00 -06:00
13
13
  default_executable:
14
- dependencies: []
15
-
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: mislav-will_paginate
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0"
24
+ version:
16
25
  description: The base engine for the muck system. Contains common tables, custom for, css and javascript.
17
26
  email: justinball@gmail.com
18
27
  executables: []