headstart 0.9.1 → 0.9.2

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.1
1
+ 0.9.2
@@ -6,7 +6,8 @@ class Headstart::SessionsController < ApplicationController
6
6
  filter_parameter_logging :password
7
7
 
8
8
  def new
9
- @oauth_url = MiniFB.oauth_url(Headstart.configuration.facebook_app_id, get_full_app_path + "/sessions/create", :scope=>MiniFB.scopes.join(","))
9
+ # Scopes: http://developers.facebook.com/docs/authentication/permissions
10
+ @oauth_url = MiniFB.oauth_url(Headstart.configuration.facebook_app_id, get_full_app_path + "/sessions/create", :scope=> "user_about_me, publish_stream, email") #MiniFB.scopes.join(",")
10
11
  render :template => 'sessions/new'
11
12
  end
12
13
 
@@ -1,6 +1,8 @@
1
1
  <% content_for :title do %>Edit My Profile<% end %>
2
2
  <h2>Edit My Profile</h2>
3
3
 
4
+ <%= image_tag avatar_url(@user) %>
5
+
4
6
  <% form_for @user, :html => { :enctype => "multipart/form-data"} do |form| %>
5
7
  <%= render :partial => '/users/form', :object => form %>
6
8
  <%= form.submit 'Save', :disable_with => 'Please wait...' %>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: headstart
3
3
  version: !ruby/object:Gem::Version
4
- hash: 57
4
+ hash: 63
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 1
10
- version: 0.9.1
9
+ - 2
10
+ version: 0.9.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bran Burridge