phoenix_social 0.2.0.beta

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.
@@ -0,0 +1 @@
1
+ = PhoenixSocial
@@ -0,0 +1 @@
1
+ phoenix
@@ -0,0 +1,8 @@
1
+ Phoenix::UsersController.class_eval do
2
+
3
+ def show1
4
+ #@user = User.find_by_slug(params[:id])
5
+ #Rails.logger("eeee............................................")
6
+ render(:template => "phoenix/users/plan")
7
+ end
8
+ end
@@ -0,0 +1,2 @@
1
+ Phoenix::User.class_eval do
2
+ end
@@ -0,0 +1,2 @@
1
+ %h3
2
+ Override by Social
@@ -0,0 +1,2 @@
1
+ # Copyright (c) 2011, Phoenix Project.
2
+ # i18n English.
@@ -0,0 +1,3 @@
1
+ Phoenix::Core::Engine.routes.draw do
2
+ match 'plan' => 'users#plan'
3
+ end
@@ -0,0 +1,9 @@
1
+ require 'phoenix_core'
2
+ require 'phoenix_auth'
3
+
4
+ module Phoenix
5
+ module Social
6
+ end
7
+ end
8
+
9
+ require 'phoenix/auth/engine'
@@ -0,0 +1,22 @@
1
+ module Phoenix
2
+ module Social
3
+ class Engine < Rails::Engine
4
+ isolate_namespace Phoenix
5
+ engine_name 'phoenix_socail'
6
+
7
+ config.autoload_paths += %W(#{config.root}/lib)
8
+
9
+ def self.activate
10
+ Dir.glob(File.join(File.dirname(__FILE__), "../../../app/**/*_decorator*.rb")) do |c|
11
+ Rails.application.config.cache_classes ? require(c) : load(c)
12
+ end
13
+
14
+ Dir.glob(File.join(File.dirname(__FILE__), "../../../../app/overrides/*.rb")) do |c|
15
+ Rails.configuration.cache_classes ? require(c) : load(c)
16
+ end
17
+ end
18
+
19
+ config.to_prepare &method(:activate).to_proc
20
+ end
21
+ end
22
+ end
@@ -0,0 +1 @@
1
+ require "phoenix/social/engine"
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :phoenix_social do
3
+ # # Task goes here
4
+ # end
metadata ADDED
@@ -0,0 +1,81 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: phoenix_social
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0.beta
5
+ prerelease: 6
6
+ platform: ruby
7
+ authors:
8
+ - Lanvige Jiang
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-12-22 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: phoenix_core
16
+ requirement: &70177984775500 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - =
20
+ - !ruby/object:Gem::Version
21
+ version: 0.2.0.beta
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70177984775500
25
+ - !ruby/object:Gem::Dependency
26
+ name: phoenix_auth
27
+ requirement: &70177984791440 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - =
31
+ - !ruby/object:Gem::Version
32
+ version: 0.2.0.beta
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *70177984791440
36
+ description: Required dependency for Phoenix
37
+ email: lanvige@gmail.com
38
+ executables: []
39
+ extensions: []
40
+ extra_rdoc_files: []
41
+ files:
42
+ - app/assets/images/phoenix
43
+ - app/assets/javascripts/phoenix_social.js.coffee
44
+ - app/assets/stylesheets/phoenix_social.css.scss
45
+ - app/controllers/phoenix/users_controller_decorator.rb
46
+ - app/helpers/phoenix/application_helper.rb
47
+ - app/models/phoenix/user_decorator.rb
48
+ - app/views/phoenix/layouts/layout.html.haml
49
+ - app/views/phoenix/users/plan.html.haml
50
+ - config/locales/phoenix/en.yml
51
+ - config/routes.rb
52
+ - lib/phoenix/social/engine.rb
53
+ - lib/phoenix/social.rb
54
+ - lib/phoenix_social.rb
55
+ - lib/tasks/phoenix_social_tasks.rake
56
+ - README.md
57
+ homepage: http://lanvige.com
58
+ licenses: []
59
+ post_install_message:
60
+ rdoc_options: []
61
+ require_paths:
62
+ - lib
63
+ required_ruby_version: !ruby/object:Gem::Requirement
64
+ none: false
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: 1.9.2
69
+ required_rubygems_version: !ruby/object:Gem::Requirement
70
+ none: false
71
+ requirements:
72
+ - - ! '>'
73
+ - !ruby/object:Gem::Version
74
+ version: 1.3.1
75
+ requirements: []
76
+ rubyforge_project: phoenix_social
77
+ rubygems_version: 1.8.13
78
+ signing_key:
79
+ specification_version: 3
80
+ summary: The Social Module for Phoenix Engine.
81
+ test_files: []