captain_oveur 0.8.11 → 0.8.12
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.
- data/CHANGELOG.textile +6 -0
- data/Manifest +7 -6
- data/README +14 -0
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/app/controllers/{admin/captain_oveur → captain_oveur}/users_controller.rb +2 -1
- data/app/views/admin/{captain_oveur/users → users}/_form.erb +0 -0
- data/app/views/admin/{captain_oveur/users → users}/edit.html.erb +0 -0
- data/app/views/admin/{captain_oveur/users → users}/index.html.erb +0 -0
- data/app/views/admin/{captain_oveur/users → users}/new.html.erb +0 -0
- data/app/views/admin/{captain_oveur/users → users}/show.html.erb +0 -0
- data/captain_oveur.gemspec +3 -5
- data/generators/captain_oveur_features/README +6 -0
- metadata +12 -32
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -0
data/CHANGELOG.textile
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
0.8.12 (7/14/2010)
|
|
2
|
+
|
|
3
|
+
* removed "admin" level of folders under controllers - not needed when namespacing in the routes
|
|
4
|
+
* removed "captain_oveur" level of folders under views - made overriding kind of hairy...
|
|
5
|
+
* added append_view_path to users_controller to catch views in views/admin/users
|
|
6
|
+
|
|
1
7
|
0.8.11 (7/5/2010)
|
|
2
8
|
|
|
3
9
|
* moved controllers and views 1 level deeper in engine to facilitate overriding them (overriding example coming soon to wiki)
|
data/Manifest
CHANGED
|
@@ -5,12 +5,12 @@ README
|
|
|
5
5
|
README.textile
|
|
6
6
|
Rakefile
|
|
7
7
|
VERSION
|
|
8
|
-
app/controllers/
|
|
9
|
-
app/views/admin/
|
|
10
|
-
app/views/admin/
|
|
11
|
-
app/views/admin/
|
|
12
|
-
app/views/admin/
|
|
13
|
-
app/views/admin/
|
|
8
|
+
app/controllers/captain_oveur/users_controller.rb
|
|
9
|
+
app/views/admin/users/_form.erb
|
|
10
|
+
app/views/admin/users/edit.html.erb
|
|
11
|
+
app/views/admin/users/index.html.erb
|
|
12
|
+
app/views/admin/users/new.html.erb
|
|
13
|
+
app/views/admin/users/show.html.erb
|
|
14
14
|
generators/captain_oveur/README
|
|
15
15
|
generators/captain_oveur/USAGE
|
|
16
16
|
generators/captain_oveur/captain_oveur_generator.rb
|
|
@@ -18,6 +18,7 @@ generators/captain_oveur/lib/insert_commands.rb
|
|
|
18
18
|
generators/captain_oveur/lib/rake_commands.rb
|
|
19
19
|
generators/captain_oveur/templates/admins.rb
|
|
20
20
|
generators/captain_oveur/templates/migrations/update_admins.rb
|
|
21
|
+
generators/captain_oveur_features/README
|
|
21
22
|
generators/captain_oveur_features/USAGE
|
|
22
23
|
generators/captain_oveur_features/captain_oveur_features_generator.rb
|
|
23
24
|
generators/captain_oveur_features/templates/features/administration.feature
|
data/README
CHANGED
|
@@ -14,6 +14,20 @@ for the cucumber features:
|
|
|
14
14
|
|
|
15
15
|
script/generate captain_oveur_features
|
|
16
16
|
|
|
17
|
+
IDEAS
|
|
18
|
+
|
|
19
|
+
While the installable cucumber features are nice, internal testing with an embedded install of rails, like Clearance, would make revising CaptainOveur cleaner...
|
|
20
|
+
|
|
21
|
+
First User Should be an Admin
|
|
22
|
+
|
|
23
|
+
Role-based Authentication (in time for Clearance 1.0 release)
|
|
24
|
+
|
|
25
|
+
* roles table - admin is built-in
|
|
26
|
+
* user_roles
|
|
27
|
+
* script/generate captain_oveur_role :content_manager <= add a role to the roles
|
|
28
|
+
* authentication will use the roles (meta-programmed instance methods for user.rb and authentication.rb)
|
|
29
|
+
* before_filter :co_admins
|
|
30
|
+
|
|
17
31
|
NOTE
|
|
18
32
|
|
|
19
33
|
A lot of this gem looks exactly like clearance. Firstly, I am an unabashed fan of thoughtbot and clearance. Given the problem domain, I also think it was the best way to handle a lot of issues, but I am open to criticism and/or suggestions.
|
data/Rakefile
CHANGED
|
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
|
2
2
|
require 'rake'
|
|
3
3
|
require 'echoe'
|
|
4
4
|
|
|
5
|
-
Echoe.new('captain_oveur', '0.8.
|
|
5
|
+
Echoe.new('captain_oveur', '0.8.12') do |p|
|
|
6
6
|
p.description = "Admins for Clearance"
|
|
7
7
|
p.url = "http://disruptive.github.com/captain_oveur"
|
|
8
8
|
p.author = "Jerry Richardson, Zachery Maloney"
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.8.
|
|
1
|
+
0.8.12
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/captain_oveur.gemspec
CHANGED
|
@@ -2,22 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{captain_oveur}
|
|
5
|
-
s.version = "0.8.
|
|
5
|
+
s.version = "0.8.12"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["Jerry Richardson, Zachery Maloney"]
|
|
9
|
-
s.
|
|
10
|
-
s.date = %q{2010-07-05}
|
|
9
|
+
s.date = %q{2010-07-14}
|
|
11
10
|
s.description = %q{Admins for Clearance}
|
|
12
11
|
s.email = %q{jerry@disruptiveventures.com}
|
|
13
12
|
s.extra_rdoc_files = ["CHANGELOG.textile", "LICENSE", "README", "README.textile", "lib/captain_oveur.rb", "lib/captain_oveur/authentication.rb", "lib/captain_oveur/routes.rb", "lib/captain_oveur/user.rb"]
|
|
14
|
-
s.files = ["CHANGELOG.textile", "LICENSE", "Manifest", "README", "README.textile", "Rakefile", "VERSION", "app/controllers/
|
|
13
|
+
s.files = ["CHANGELOG.textile", "LICENSE", "Manifest", "README", "README.textile", "Rakefile", "VERSION", "app/controllers/captain_oveur/users_controller.rb", "app/views/admin/users/_form.erb", "app/views/admin/users/edit.html.erb", "app/views/admin/users/index.html.erb", "app/views/admin/users/new.html.erb", "app/views/admin/users/show.html.erb", "generators/captain_oveur/README", "generators/captain_oveur/USAGE", "generators/captain_oveur/captain_oveur_generator.rb", "generators/captain_oveur/lib/insert_commands.rb", "generators/captain_oveur/lib/rake_commands.rb", "generators/captain_oveur/templates/admins.rb", "generators/captain_oveur/templates/migrations/update_admins.rb", "generators/captain_oveur_features/README", "generators/captain_oveur_features/USAGE", "generators/captain_oveur_features/captain_oveur_features_generator.rb", "generators/captain_oveur_features/templates/features/administration.feature", "generators/captain_oveur_features/templates/features/step_definitions/administration_steps.rb", "generators/captain_oveur_features/templates/features/support/paths.rb", "lib/captain_oveur.rb", "lib/captain_oveur/authentication.rb", "lib/captain_oveur/routes.rb", "lib/captain_oveur/user.rb", "test/captain_oveur_test.rb", "test/factories/admins.rb", "test/test_helper.rb", "captain_oveur.gemspec"]
|
|
15
14
|
s.homepage = %q{http://disruptive.github.com/captain_oveur}
|
|
16
15
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Captain_oveur", "--main", "README"]
|
|
17
16
|
s.require_paths = ["lib"]
|
|
18
17
|
s.rubyforge_project = %q{captain_oveur}
|
|
19
18
|
s.rubygems_version = %q{1.3.7}
|
|
20
|
-
s.signing_key = %q{/users/jerry/.ssh/gem-private_key.pem}
|
|
21
19
|
s.summary = %q{Admins for Clearance}
|
|
22
20
|
s.test_files = ["test/captain_oveur_test.rb", "test/test_helper.rb"]
|
|
23
21
|
|
metadata
CHANGED
|
@@ -1,42 +1,21 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: captain_oveur
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 39
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 8
|
|
9
|
-
-
|
|
10
|
-
version: 0.8.
|
|
9
|
+
- 12
|
|
10
|
+
version: 0.8.12
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Jerry Richardson, Zachery Maloney
|
|
14
14
|
autorequire:
|
|
15
15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Z9aEHuBK0UMQboA0SXHk69LseZuTIbbIhorTPpF1vfnl+D98C/Y5ou
|
|
33
|
-
PTKGqqNhcAmv3v+r9EpRayQsP7HSbrKMtgPlEkqVQY2St7VQu3qKciFV1qJXJYPd
|
|
34
|
-
xbwowofGcVamEdKGpyX54opfSrmSZXfRUPYeJ25/d6dS+G3tvvnTYa9QgYWS2gJE
|
|
35
|
-
/eC3ArwUSNMnuP5i+2xXPsu7c82zIauU01bv3ywlC5C8KwmX8UjcIwsHtPnaGesF
|
|
36
|
-
MULeaT9wztQIvRS+mr/QYLKBA08UERlaUm4=
|
|
37
|
-
-----END CERTIFICATE-----
|
|
16
|
+
cert_chain: []
|
|
38
17
|
|
|
39
|
-
date: 2010-07-
|
|
18
|
+
date: 2010-07-14 00:00:00 -04:00
|
|
40
19
|
default_executable:
|
|
41
20
|
dependencies:
|
|
42
21
|
- !ruby/object:Gem::Dependency
|
|
@@ -94,12 +73,12 @@ files:
|
|
|
94
73
|
- README.textile
|
|
95
74
|
- Rakefile
|
|
96
75
|
- VERSION
|
|
97
|
-
- app/controllers/
|
|
98
|
-
- app/views/admin/
|
|
99
|
-
- app/views/admin/
|
|
100
|
-
- app/views/admin/
|
|
101
|
-
- app/views/admin/
|
|
102
|
-
- app/views/admin/
|
|
76
|
+
- app/controllers/captain_oveur/users_controller.rb
|
|
77
|
+
- app/views/admin/users/_form.erb
|
|
78
|
+
- app/views/admin/users/edit.html.erb
|
|
79
|
+
- app/views/admin/users/index.html.erb
|
|
80
|
+
- app/views/admin/users/new.html.erb
|
|
81
|
+
- app/views/admin/users/show.html.erb
|
|
103
82
|
- generators/captain_oveur/README
|
|
104
83
|
- generators/captain_oveur/USAGE
|
|
105
84
|
- generators/captain_oveur/captain_oveur_generator.rb
|
|
@@ -107,6 +86,7 @@ files:
|
|
|
107
86
|
- generators/captain_oveur/lib/rake_commands.rb
|
|
108
87
|
- generators/captain_oveur/templates/admins.rb
|
|
109
88
|
- generators/captain_oveur/templates/migrations/update_admins.rb
|
|
89
|
+
- generators/captain_oveur_features/README
|
|
110
90
|
- generators/captain_oveur_features/USAGE
|
|
111
91
|
- generators/captain_oveur_features/captain_oveur_features_generator.rb
|
|
112
92
|
- generators/captain_oveur_features/templates/features/administration.feature
|
data.tar.gz.sig
DELETED
|
Binary file
|
metadata.gz.sig
DELETED
|
Binary file
|