muck-users 0.2.6 → 0.2.7
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/Rakefile +3 -27
- data/VERSION +1 -1
- data/muck-users.gemspec +5 -3
- metadata +2 -3
- data/test/rails_root/db/schema.rb +0 -131
data/Rakefile
CHANGED
@@ -26,35 +26,11 @@ begin
|
|
26
26
|
gem.add_dependency "muck-engine"
|
27
27
|
gem.add_dependency "friendly_id"
|
28
28
|
end
|
29
|
-
|
30
|
-
|
31
|
-
end
|
32
|
-
|
33
|
-
# rubyforge tasks
|
34
|
-
begin
|
35
|
-
require 'rake/contrib/sshpublisher'
|
36
|
-
namespace :rubyforge do
|
37
|
-
|
38
|
-
desc "Release gem and RDoc documentation to RubyForge"
|
39
|
-
task :release => ["rubyforge:release:gem", "rubyforge:release:docs"]
|
40
|
-
|
41
|
-
namespace :release do
|
42
|
-
desc "Publish RDoc to RubyForge."
|
43
|
-
task :docs => [:rdoc] do
|
44
|
-
config = YAML.load(
|
45
|
-
File.read(File.expand_path('~/.rubyforge/user-config.yml'))
|
46
|
-
)
|
47
|
-
|
48
|
-
host = "#{config['username']}@rubyforge.org"
|
49
|
-
remote_dir = "/var/www/gforge-projects/muck-users/"
|
50
|
-
local_dir = 'rdoc'
|
51
|
-
|
52
|
-
Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload
|
53
|
-
end
|
54
|
-
end
|
29
|
+
Jeweler::RubyforgeTasks.new do |rubyforge|
|
30
|
+
rubyforge.doc_task = "rdoc"
|
55
31
|
end
|
56
32
|
rescue LoadError
|
57
|
-
puts "
|
33
|
+
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
|
58
34
|
end
|
59
35
|
|
60
36
|
desc 'Test the muck_users gem.'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.7
|
data/muck-users.gemspec
CHANGED
@@ -1,12 +1,15 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
|
1
4
|
# -*- encoding: utf-8 -*-
|
2
5
|
|
3
6
|
Gem::Specification.new do |s|
|
4
7
|
s.name = %q{muck-users}
|
5
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.7"
|
6
9
|
|
7
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
11
|
s.authors = ["Justin Ball"]
|
9
|
-
s.date = %q{2009-08-
|
12
|
+
s.date = %q{2009-08-12}
|
10
13
|
s.description = %q{Easily add user signup, login and other features to your application}
|
11
14
|
s.email = %q{justinball@gmail.com}
|
12
15
|
s.extra_rdoc_files = [
|
@@ -894,7 +897,6 @@ Gem::Specification.new do |s|
|
|
894
897
|
"test/rails_root/config/routes.rb",
|
895
898
|
"test/rails_root/db/migrate/20090320174818_create_muck_permissions_and_roles.rb",
|
896
899
|
"test/rails_root/db/migrate/20090602041838_create_users.rb",
|
897
|
-
"test/rails_root/db/schema.rb",
|
898
900
|
"test/rails_root/features/step_definitions/webrat_steps.rb",
|
899
901
|
"test/rails_root/features/support/env.rb",
|
900
902
|
"test/rails_root/public/dispatch.rb",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: muck-users
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Ball
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-08-
|
12
|
+
date: 2009-08-12 00:00:00 -06:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -970,7 +970,6 @@ test_files:
|
|
970
970
|
- test/rails_root/config/routes.rb
|
971
971
|
- test/rails_root/db/migrate/20090320174818_create_muck_permissions_and_roles.rb
|
972
972
|
- test/rails_root/db/migrate/20090602041838_create_users.rb
|
973
|
-
- test/rails_root/db/schema.rb
|
974
973
|
- test/rails_root/features/step_definitions/webrat_steps.rb
|
975
974
|
- test/rails_root/features/support/env.rb
|
976
975
|
- test/rails_root/public/dispatch.rb
|
@@ -1,131 +0,0 @@
|
|
1
|
-
# This file is auto-generated from the current state of the database. Instead of editing this file,
|
2
|
-
# please use the migrations feature of Active Record to incrementally modify your database, and
|
3
|
-
# then regenerate this schema definition.
|
4
|
-
#
|
5
|
-
# Note that this schema.rb definition is the authoritative source for your database schema. If you need
|
6
|
-
# to create the application database on another system, you should be using db:schema:load, not running
|
7
|
-
# all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
8
|
-
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
9
|
-
#
|
10
|
-
# It's strongly recommended to check this file into your version control system.
|
11
|
-
|
12
|
-
ActiveRecord::Schema.define(:version => 20090613173314) do
|
13
|
-
|
14
|
-
create_table "activities", :force => true do |t|
|
15
|
-
t.integer "item_id"
|
16
|
-
t.string "item_type"
|
17
|
-
t.string "template"
|
18
|
-
t.integer "source_id"
|
19
|
-
t.string "source_type"
|
20
|
-
t.text "content"
|
21
|
-
t.string "title"
|
22
|
-
t.boolean "is_status_update", :default => false
|
23
|
-
t.boolean "is_public", :default => true
|
24
|
-
t.datetime "created_at"
|
25
|
-
t.datetime "updated_at"
|
26
|
-
end
|
27
|
-
|
28
|
-
add_index "activities", ["item_id", "item_type"], :name => "index_activities_on_item_id_and_item_type"
|
29
|
-
|
30
|
-
create_table "activity_feeds", :force => true do |t|
|
31
|
-
t.integer "activity_id"
|
32
|
-
t.integer "ownable_id"
|
33
|
-
t.string "ownable_type"
|
34
|
-
end
|
35
|
-
|
36
|
-
add_index "activity_feeds", ["activity_id"], :name => "index_activity_feeds_on_activity_id"
|
37
|
-
add_index "activity_feeds", ["ownable_id", "ownable_type"], :name => "index_activity_feeds_on_ownable_id_and_ownable_type"
|
38
|
-
|
39
|
-
create_table "comments", :force => true do |t|
|
40
|
-
t.integer "commentable_id", :default => 0
|
41
|
-
t.string "commentable_type", :limit => 15, :default => ""
|
42
|
-
t.text "body", :default => ""
|
43
|
-
t.integer "user_id", :default => 0, :null => false
|
44
|
-
t.integer "parent_id"
|
45
|
-
t.integer "lft"
|
46
|
-
t.integer "rgt"
|
47
|
-
t.integer "is_denied", :default => 0, :null => false
|
48
|
-
t.boolean "is_reviewed", :default => false
|
49
|
-
t.datetime "created_at"
|
50
|
-
t.datetime "updated_at"
|
51
|
-
end
|
52
|
-
|
53
|
-
add_index "comments", ["commentable_id", "commentable_type"], :name => "index_comments_on_commentable_id_and_commentable_type"
|
54
|
-
add_index "comments", ["user_id"], :name => "index_comments_on_user_id"
|
55
|
-
|
56
|
-
create_table "countries", :force => true do |t|
|
57
|
-
t.string "name", :limit => 128, :default => "", :null => false
|
58
|
-
t.string "abbreviation", :limit => 3, :default => "", :null => false
|
59
|
-
t.integer "sort", :default => 1000, :null => false
|
60
|
-
end
|
61
|
-
|
62
|
-
add_index "countries", ["abbreviation"], :name => "index_countries_on_abbreviation"
|
63
|
-
add_index "countries", ["name"], :name => "index_countries_on_name"
|
64
|
-
|
65
|
-
create_table "languages", :force => true do |t|
|
66
|
-
t.string "name"
|
67
|
-
t.string "english_name"
|
68
|
-
t.string "locale"
|
69
|
-
t.boolean "supported", :default => true
|
70
|
-
t.integer "is_default", :default => 0
|
71
|
-
end
|
72
|
-
|
73
|
-
add_index "languages", ["locale"], :name => "index_languages_on_locale"
|
74
|
-
add_index "languages", ["name"], :name => "index_languages_on_name"
|
75
|
-
|
76
|
-
create_table "permissions", :force => true do |t|
|
77
|
-
t.integer "role_id", :null => false
|
78
|
-
t.integer "user_id", :null => false
|
79
|
-
t.datetime "created_at"
|
80
|
-
t.datetime "updated_at"
|
81
|
-
end
|
82
|
-
|
83
|
-
create_table "roles", :force => true do |t|
|
84
|
-
t.string "rolename"
|
85
|
-
t.datetime "created_at"
|
86
|
-
t.datetime "updated_at"
|
87
|
-
end
|
88
|
-
|
89
|
-
create_table "states", :force => true do |t|
|
90
|
-
t.string "name", :limit => 128, :default => "", :null => false
|
91
|
-
t.string "abbreviation", :limit => 3, :default => "", :null => false
|
92
|
-
t.integer "country_id", :limit => 8, :null => false
|
93
|
-
end
|
94
|
-
|
95
|
-
add_index "states", ["abbreviation"], :name => "index_states_on_abbreviation"
|
96
|
-
add_index "states", ["country_id"], :name => "index_states_on_country_id"
|
97
|
-
add_index "states", ["name"], :name => "index_states_on_name"
|
98
|
-
|
99
|
-
create_table "users", :force => true do |t|
|
100
|
-
t.string "login"
|
101
|
-
t.string "email"
|
102
|
-
t.string "first_name"
|
103
|
-
t.string "last_name"
|
104
|
-
t.string "crypted_password"
|
105
|
-
t.string "password_salt"
|
106
|
-
t.string "persistence_token"
|
107
|
-
t.string "single_access_token"
|
108
|
-
t.string "perishable_token"
|
109
|
-
t.integer "login_count", :default => 0, :null => false
|
110
|
-
t.integer "failed_login_count", :default => 0, :null => false
|
111
|
-
t.datetime "last_request_at"
|
112
|
-
t.datetime "last_login_at"
|
113
|
-
t.datetime "current_login_at"
|
114
|
-
t.string "current_login_ip"
|
115
|
-
t.string "last_login_ip"
|
116
|
-
t.boolean "terms_of_service", :default => false, :null => false
|
117
|
-
t.string "time_zone", :default => "UTC"
|
118
|
-
t.datetime "disabled_at"
|
119
|
-
t.datetime "activated_at"
|
120
|
-
t.datetime "created_at"
|
121
|
-
t.datetime "updated_at"
|
122
|
-
end
|
123
|
-
|
124
|
-
add_index "users", ["email"], :name => "index_users_on_email"
|
125
|
-
add_index "users", ["last_request_at"], :name => "index_users_on_last_request_at"
|
126
|
-
add_index "users", ["login"], :name => "index_users_on_login"
|
127
|
-
add_index "users", ["perishable_token"], :name => "index_users_on_perishable_token"
|
128
|
-
add_index "users", ["persistence_token"], :name => "index_users_on_persistence_token"
|
129
|
-
add_index "users", ["single_access_token"], :name => "index_users_on_single_access_token"
|
130
|
-
|
131
|
-
end
|