muck-profiles 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -56,44 +56,10 @@ begin
56
56
  gemspec.rubyforge_project = 'muck-profiles'
57
57
  gemspec.add_dependency "muck-engine"
58
58
  gemspec.add_dependency "muck-users"
59
- gemspec.files.include %w(
60
- tasks/*
61
- db/migrate/*.rb
62
- app/**/**/**/*
63
- config/*
64
- locales/*
65
- rails/*
66
- test/*
67
- lib/**/*
68
- public/**/* )
59
+ end
60
+ Jeweler::RubyforgeTasks.new do |rubyforge|
61
+ rubyforge.doc_task = "rdoc"
69
62
  end
70
63
  rescue LoadError
71
64
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
72
65
  end
73
-
74
- # rubyforge tasks
75
- begin
76
- require 'rake/contrib/sshpublisher'
77
- namespace :rubyforge do
78
-
79
- desc "Release gem and RDoc documentation to RubyForge"
80
- task :release => ["rubyforge:release:gem", "rubyforge:release:docs"]
81
-
82
- namespace :release do
83
- desc "Publish RDoc to RubyForge."
84
- task :docs => [:rdoc] do
85
- config = YAML.load(
86
- File.read(File.expand_path('~/.rubyforge/user-config.yml'))
87
- )
88
-
89
- host = "#{config['username']}@rubyforge.org"
90
- remote_dir = "/var/www/gforge-projects/muck-profiles/"
91
- local_dir = 'rdoc'
92
-
93
- Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload
94
- end
95
- end
96
- end
97
- rescue LoadError
98
- puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured."
99
- end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.7
1
+ 0.1.8
@@ -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-profiles}
5
- s.version = "0.1.7"
8
+ s.version = "0.1.8"
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-08}
12
+ s.date = %q{2009-08-12}
10
13
  s.description = %q{Profile engine for the muck system.}
11
14
  s.email = %q{justinball@gmail.com}
12
15
  s.extra_rdoc_files = [
@@ -19,128 +22,67 @@ Gem::Specification.new do |s|
19
22
  "Rakefile",
20
23
  "VERSION",
21
24
  "app/controllers/admin/muck/profiles_controller.rb",
22
- "app/controllers/admin/muck/profiles_controller.rb",
23
- "app/controllers/muck/profiles_controller.rb",
24
25
  "app/controllers/muck/profiles_controller.rb",
25
26
  "app/helpers/muck_profiles_helper.rb",
26
- "app/helpers/muck_profiles_helper.rb",
27
- "app/views/admin/profiles/edit.html.erb",
28
27
  "app/views/admin/profiles/edit.html.erb",
29
28
  "app/views/profiles/edit.html.erb",
30
- "app/views/profiles/edit.html.erb",
31
- "app/views/profiles/index.html.erb",
32
29
  "app/views/profiles/index.html.erb",
33
30
  "app/views/profiles/show.html.erb",
34
- "app/views/profiles/show.html.erb",
35
- "config/muck_profiles_routes.rb",
36
31
  "config/muck_profiles_routes.rb",
37
32
  "db/migrate/20090512013727_create_profiles.rb",
38
- "db/migrate/20090512013727_create_profiles.rb",
39
33
  "install.rb",
40
34
  "lib/active_record/acts/muck_profile.rb",
41
- "lib/active_record/acts/muck_profile.rb",
42
35
  "lib/active_record/has/muck_profile.rb",
43
- "lib/active_record/has/muck_profile.rb",
44
- "lib/muck_profiles.rb",
45
36
  "lib/muck_profiles.rb",
46
37
  "lib/muck_profiles/initialize_routes.rb",
47
- "lib/muck_profiles/initialize_routes.rb",
48
- "lib/muck_profiles/tasks.rb",
49
38
  "lib/muck_profiles/tasks.rb",
50
39
  "locales/ar.yml",
51
- "locales/ar.yml",
52
- "locales/bg.yml",
53
40
  "locales/bg.yml",
54
41
  "locales/ca.yml",
55
- "locales/ca.yml",
56
- "locales/cs.yml",
57
42
  "locales/cs.yml",
58
43
  "locales/da.yml",
59
- "locales/da.yml",
60
- "locales/de.yml",
61
44
  "locales/de.yml",
62
45
  "locales/el.yml",
63
- "locales/el.yml",
64
- "locales/en.yml",
65
46
  "locales/en.yml",
66
47
  "locales/es.yml",
67
- "locales/es.yml",
68
- "locales/et.yml",
69
48
  "locales/et.yml",
70
49
  "locales/fa.yml",
71
- "locales/fa.yml",
72
- "locales/fi.yml",
73
50
  "locales/fi.yml",
74
51
  "locales/fr.yml",
75
- "locales/fr.yml",
76
- "locales/gl.yml",
77
52
  "locales/gl.yml",
78
53
  "locales/hi.yml",
79
- "locales/hi.yml",
80
- "locales/hr.yml",
81
54
  "locales/hr.yml",
82
55
  "locales/hu.yml",
83
- "locales/hu.yml",
84
56
  "locales/id.yml",
85
- "locales/id.yml",
86
- "locales/it.yml",
87
57
  "locales/it.yml",
88
58
  "locales/iw.yml",
89
- "locales/iw.yml",
90
- "locales/ja.yml",
91
59
  "locales/ja.yml",
92
60
  "locales/ko.yml",
93
- "locales/ko.yml",
94
- "locales/lt.yml",
95
61
  "locales/lt.yml",
96
62
  "locales/lv.yml",
97
- "locales/lv.yml",
98
- "locales/mt.yml",
99
63
  "locales/mt.yml",
100
64
  "locales/nl.yml",
101
- "locales/nl.yml",
102
- "locales/no.yml",
103
65
  "locales/no.yml",
104
66
  "locales/pl.yml",
105
- "locales/pl.yml",
106
- "locales/pt-PT.yml",
107
67
  "locales/pt-PT.yml",
108
68
  "locales/pt.yml",
109
- "locales/pt.yml",
110
- "locales/ro.yml",
111
69
  "locales/ro.yml",
112
70
  "locales/ru.yml",
113
- "locales/ru.yml",
114
71
  "locales/sk.yml",
115
- "locales/sk.yml",
116
- "locales/sl.yml",
117
72
  "locales/sl.yml",
118
73
  "locales/sq.yml",
119
- "locales/sq.yml",
120
- "locales/sr.yml",
121
74
  "locales/sr.yml",
122
75
  "locales/sv.yml",
123
- "locales/sv.yml",
124
- "locales/th.yml",
125
76
  "locales/th.yml",
126
77
  "locales/tl.yml",
127
- "locales/tl.yml",
128
- "locales/tr.yml",
129
78
  "locales/tr.yml",
130
79
  "locales/uk.yml",
131
- "locales/uk.yml",
132
- "locales/vi.yml",
133
80
  "locales/vi.yml",
134
81
  "locales/zh-CN.yml",
135
- "locales/zh-CN.yml",
136
- "locales/zh-TW.yml",
137
82
  "locales/zh-TW.yml",
138
83
  "locales/zh.yml",
139
- "locales/zh.yml",
140
84
  "muck-profiles.gemspec",
141
85
  "rails/init.rb",
142
- "rails/init.rb",
143
- "tasks/rails.rake",
144
86
  "tasks/rails.rake",
145
87
  "test/rails_root/.gitignore",
146
88
  "test/rails_root/.rake_tasks",
@@ -373,7 +315,6 @@ Gem::Specification.new do |s|
373
315
  "test/rails_root/db/migrate/20090320174818_create_muck_permissions_and_roles.rb",
374
316
  "test/rails_root/db/migrate/20090512013727_create_profiles.rb",
375
317
  "test/rails_root/db/migrate/20090602041838_create_users.rb",
376
- "test/rails_root/db/schema.rb",
377
318
  "test/rails_root/features/step_definitions/webrat_steps.rb",
378
319
  "test/rails_root/features/support/env.rb",
379
320
  "test/rails_root/public/dispatch.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muck-profiles
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
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-08 00:00:00 -06:00
12
+ date: 2009-08-12 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -358,7 +358,6 @@ test_files:
358
358
  - test/rails_root/db/migrate/20090320174818_create_muck_permissions_and_roles.rb
359
359
  - test/rails_root/db/migrate/20090512013727_create_profiles.rb
360
360
  - test/rails_root/db/migrate/20090602041838_create_users.rb
361
- - test/rails_root/db/schema.rb
362
361
  - test/rails_root/features/step_definitions/webrat_steps.rb
363
362
  - test/rails_root/features/support/env.rb
364
363
  - test/rails_root/public/dispatch.rb
@@ -1,142 +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 "profiles", :force => true do |t|
84
- t.integer "user_id"
85
- t.string "photo_file_name"
86
- t.string "photo_content_type"
87
- t.integer "photo_file_size"
88
- t.datetime "created_at"
89
- t.datetime "updated_at"
90
- end
91
-
92
- add_index "profiles", ["user_id"], :name => "index_profiles_on_user_id"
93
-
94
- create_table "roles", :force => true do |t|
95
- t.string "rolename"
96
- t.datetime "created_at"
97
- t.datetime "updated_at"
98
- end
99
-
100
- create_table "states", :force => true do |t|
101
- t.string "name", :limit => 128, :default => "", :null => false
102
- t.string "abbreviation", :limit => 3, :default => "", :null => false
103
- t.integer "country_id", :limit => 8, :null => false
104
- end
105
-
106
- add_index "states", ["abbreviation"], :name => "index_states_on_abbreviation"
107
- add_index "states", ["country_id"], :name => "index_states_on_country_id"
108
- add_index "states", ["name"], :name => "index_states_on_name"
109
-
110
- create_table "users", :force => true do |t|
111
- t.string "login"
112
- t.string "email"
113
- t.string "first_name"
114
- t.string "last_name"
115
- t.string "crypted_password"
116
- t.string "password_salt"
117
- t.string "persistence_token"
118
- t.string "single_access_token"
119
- t.string "perishable_token"
120
- t.integer "login_count", :default => 0, :null => false
121
- t.integer "failed_login_count", :default => 0, :null => false
122
- t.datetime "last_request_at"
123
- t.datetime "last_login_at"
124
- t.datetime "current_login_at"
125
- t.string "current_login_ip"
126
- t.string "last_login_ip"
127
- t.boolean "terms_of_service", :default => false, :null => false
128
- t.string "time_zone", :default => "UTC"
129
- t.datetime "disabled_at"
130
- t.datetime "activated_at"
131
- t.datetime "created_at"
132
- t.datetime "updated_at"
133
- end
134
-
135
- add_index "users", ["email"], :name => "index_users_on_email"
136
- add_index "users", ["last_request_at"], :name => "index_users_on_last_request_at"
137
- add_index "users", ["login"], :name => "index_users_on_login"
138
- add_index "users", ["perishable_token"], :name => "index_users_on_perishable_token"
139
- add_index "users", ["persistence_token"], :name => "index_users_on_persistence_token"
140
- add_index "users", ["single_access_token"], :name => "index_users_on_single_access_token"
141
-
142
- end