spree_auth 0.70.0.rc2 → 0.70.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of spree_auth might be problematic. Click here for more details.

data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2007-2010, Rails Dog LLC and other contributors
1
+ Copyright (c) 2007-2011, Rails Dog LLC and other contributors
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without modification,
@@ -1,19 +1,19 @@
1
- <%= render "shared/error_messages", :target => @user %>
2
- <h2><%= t("registration")%></h2>
1
+ <%= render 'shared/error_messages', :target => @user %>
2
+ <h2><%= t(:registration)%></h2>
3
3
  <div id="registration">
4
4
  <div id="account">
5
5
  <%= render :file => 'user_sessions/new' %>
6
6
  </div>
7
7
  <% if Spree::Config[:allow_guest_checkout] %>
8
8
  <div id="guest_checkout">
9
- <%= render "shared/error_messages", :target => @order %>
9
+ <%= render 'shared/error_messages', :target => @order %>
10
10
  <h2><%= t(:guest_user_account) %></h2>
11
- <%= form_for @order, :url => update_checkout_registration_path, :html => { :method => :put, :id => "checkout_form_registration"} do |f| %>
11
+ <%= form_for @order, :url => update_checkout_registration_path, :html => { :method => :put, :id => 'checkout_form_registration'} do |f| %>
12
12
  <p>
13
- <%= f.label :email, t("email") %><br />
13
+ <%= f.label :email, t(:email) %><br />
14
14
  <%= f.text_field :email, :class => 'title' %>
15
15
  </p>
16
- <p><%= submit_tag t("continue"), :class => 'button primary' %></p>
16
+ <p><%= f.submit t(:continue), :class => 'button primary' %></p>
17
17
  <% end %>
18
18
  </div>
19
19
  <% end %>
@@ -1,8 +1,8 @@
1
- <% if current_user %>
1
+ <% if current_user %>
2
2
  <ul id="login-nav">
3
- <li><%= t('logged_in_as') %>: <%= current_user.email %></li>
4
- <li><%= link_to t('account'), edit_user_path(current_user) %></li>
5
- <li><%= link_to t('logout'), destroy_user_session_path %></li>
6
- <li><%= link_to t('store'), products_path %></li>
3
+ <li><%= t(:logged_in_as) %>: <%= current_user.email %></li>
4
+ <li><%= link_to t(:account), edit_user_path(current_user) %></li>
5
+ <li><%= link_to t(:logout), destroy_user_session_path %></li>
6
+ <li><%= link_to t(:store), products_path %></li>
7
7
  </ul>
8
8
  <% end %>
@@ -1,20 +1,20 @@
1
- <%= form_for(:user, :url => user_session_path) do |f| %>
2
- <div id='password-credentials'>
1
+ <%= form_for :user, :url => user_session_path do |f| %>
2
+ <div id="password-credentials">
3
3
  <p>
4
- <%= f.label(:email, t("email")) %><br />
5
- <%= f.text_field('email', :class => 'title') %>
4
+ <%= f.label :email, t(:email) %><br />
5
+ <%= f.text_field :email, :class => 'title' %>
6
6
  </p>
7
7
  <p>
8
- <%= f.label :password, t("password") %><br />
9
- <%= f.password_field 'password', :class => 'title' %>
8
+ <%= f.label :password, t(:password) %><br />
9
+ <%= f.password_field :password, :class => 'title' %>
10
10
  </p>
11
11
  </div>
12
12
  <p>
13
13
  <label>
14
14
  <%= f.check_box :remember_me %>
15
- <%= f.label :remember_me, t('remember_me') %>
15
+ <%= f.label :remember_me, t(:remember_me) %>
16
16
  </label>
17
17
  </p>
18
18
 
19
- <p><%= submit_tag t("log_in"), :class => 'button primary'%></p>
19
+ <p><%= f.submit t(:log_in), :class => 'button primary'%></p>
20
20
  <% end %>
@@ -1,6 +1,6 @@
1
1
  <% if current_user %>
2
- <li><%= link_to t('my_account'), account_path %></li>
3
- <li><%= link_to t('logout'), destroy_user_session_path %></li>
2
+ <li><%= link_to t(:my_account), account_path %></li>
3
+ <li><%= link_to t(:logout), destroy_user_session_path %></li>
4
4
  <% else %>
5
- <li><%= link_to t('log_in'), login_path %></li>
5
+ <li><%= link_to t(:log_in), login_path %></li>
6
6
  <% end %>
@@ -1,11 +1,11 @@
1
1
  <p>
2
- <%= f.label :email, t("email") %><br />
3
- <%= f.text_field :email, :class => 'title' %>
2
+ <%= f.label :email, t(:email) %><br />
3
+ <%= f.text_field :email, :class => 'title' %>
4
4
  </p>
5
5
  <div id="password-credentials">
6
6
  <p>
7
- <%= f.label :password, t("password") %><br />
8
- <%= f.password_field :password, :class => 'title' %>
7
+ <%= f.label :password, t(:password) %><br />
8
+ <%= f.password_field :password, :class => 'title' %>
9
9
  </p>
10
10
 
11
11
  <p>
@@ -1,4 +1,4 @@
1
- <%= render "shared/error_messages", :target => @user %>
1
+ <%= render 'shared/error_messages', :target => @user %>
2
2
  <h1><%= t(:change_my_password) %></h1>
3
3
 
4
4
  <%= form_for @user, :url => user_password_path, :html => {:method => :put} do |f| %>
@@ -11,5 +11,5 @@
11
11
  <%= f.password_field :password_confirmation %><br />
12
12
  </p>
13
13
  <%= f.hidden_field :reset_password_token %>
14
- <%= f.submit t("update_password") %>
14
+ <%= f.submit t(:update_password) %>
15
15
  <% end %>
@@ -4,10 +4,10 @@
4
4
 
5
5
  <%= form_for User.new, :as => :user, :url => user_password_path do |f| %>
6
6
  <p>
7
- <label><%= t(:email) %>:</label><br />
7
+ <%= f.label :email, t(:email) %>:<br />
8
8
  <%= f.email_field :email %>
9
9
  </p>
10
10
  <p>
11
- <%= f.submit t("reset_password") %>
11
+ <%= f.submit t(:reset_password) %>
12
12
  </p>
13
13
  <% end %>
@@ -1,21 +1,19 @@
1
1
  <% @body_id = 'signup' %>
2
2
 
3
- <%= render "shared/error_messages", :target => @user %>
3
+ <%= render 'shared/error_messages', :target => @user %>
4
4
 
5
5
  <div id="new-customer">
6
- <h2><%= t("new_customer") %></h2>
6
+ <h2><%= t(:new_customer) %></h2>
7
7
 
8
8
  <div data-hook="signup">
9
9
 
10
- <%= form_for(:user, :url => registration_path(@user)) do |f| %>
11
-
10
+ <%= form_for :user, :url => registration_path(@user) do |f| %>
12
11
  <div data-hook="signup_inside_form"%>
13
12
  <%= render 'shared/user_form', :f => f %>
14
- <p><%= submit_tag t("create"), :class => 'button primary' %></p>
13
+ <p><%= f.submit t(:create), :class => 'button primary' %></p>
15
14
  </div>
16
-
17
15
  <% end %>
18
- <%= t("or") %> <%= link_to t("login_as_existing"), login_path %>
16
+ <%= t(:or) %> <%= link_to t(:login_as_existing), login_path %>
19
17
 
20
18
  </div>
21
19
 
@@ -1,4 +1,4 @@
1
- <div style="height:50px; padding-top: 20px">
2
- <strong><%= t("authorization_failure")%></strong>
1
+ <div style="height:50px; padding-top:20px;">
2
+ <strong><%= t(:authorization_failure) %></strong>
3
3
  </div>
4
4
  <!-- Add your own custom access denied message here if you like -->
@@ -4,10 +4,10 @@
4
4
 
5
5
  <% @body_id = 'login' %>
6
6
  <div id="existing-customer">
7
- <h2><%= t("login_as_existing") %></h2>
7
+ <h2><%= t(:login_as_existing) %></h2>
8
8
  <div data-hook="login">
9
9
  <%= render :partial => 'shared/login' %>
10
- <%= t("or") %> <%= link_to t("create_a_new_account"), signup_path %> | <%= link_to t("forgot_password"), new_user_password_path %>
10
+ <%= t(:or) %> <%= link_to t(:create_a_new_account), signup_path %> | <%= link_to t(:forgot_password), new_user_password_path %>
11
11
  </div>
12
12
  </div>
13
13
  <div data-hook="login_extras"></div>
@@ -1,11 +1,11 @@
1
- <%= render "shared/error_messages", :target => @user %>
1
+ <%= render 'shared/error_messages', :target => @user %>
2
2
 
3
- <h1><%= t("editing_user") %></h1>
3
+ <h1><%= t(:editing_user) %></h1>
4
4
 
5
- <%= form_for(@user, :html => { :method => :put }) do |f| %>
5
+ <%= form_for @user, :html => { :method => :put } do |f| %>
6
6
  <%= render 'shared/user_form', :f => f %>
7
7
  <p>
8
- <%=submit_tag t("update") %>
8
+ <%= f.submit t(:update) %>
9
9
  </p>
10
10
  <% end %>
11
11
 
@@ -1,26 +1,26 @@
1
- <h1><%= t("my_account") %></h1>
1
+ <h1><%= t(:my_account) %></h1>
2
2
 
3
3
  <div data-hook="account_summary">
4
4
  <dl id="user-info">
5
- <dt><%= t("email") %></dt>
5
+ <dt><%= t(:email) %></dt>
6
6
  <dd><%= @user.email %></dd>
7
7
  </dl>
8
- <p><%= link_to t('edit'), edit_account_path %></p>
8
+ <p><%= link_to t(:edit), edit_account_path %></p>
9
9
  </div>
10
10
 
11
11
  <div data-hook="account_my_orders">
12
12
 
13
- <h2><%= t("my_orders") %></h2>
13
+ <h2><%= t(:my_orders) %></h2>
14
14
  <% if @orders.present? %>
15
- <table class="order-summary" width="545">
15
+ <table class="order-summary" style="width:545px;">
16
16
  <thead>
17
17
  <tr>
18
- <th><%= t("order_number") %></th>
19
- <th><%= t("order_date") %></th>
20
- <th><%= t("status") %></th>
21
- <th><%= t("payment_state") %></th>
22
- <th><%= t("shipment_state") %></th>
23
- <th><%= t("total") %></th>
18
+ <th><%= t(:order_number) %></th>
19
+ <th><%= t(:order_date) %></th>
20
+ <th><%= t(:status) %></th>
21
+ <th><%= t(:payment_state) %></th>
22
+ <th><%= t(:shipment_state) %></th>
23
+ <th><%= t(:total) %></th>
24
24
  </tr>
25
25
  </thead>
26
26
  <tbody>
metadata CHANGED
@@ -1,15 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_auth
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15425137
5
- prerelease: 7
4
+ hash: 263
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 70
9
9
  - 0
10
- - rc
11
- - 2
12
- version: 0.70.0.rc2
10
+ version: 0.70.0
13
11
  platform: ruby
14
12
  authors:
15
13
  - Sean Schofield
@@ -17,7 +15,7 @@ autorequire:
17
15
  bindir: bin
18
16
  cert_chain: []
19
17
 
20
- date: 2011-09-30 00:00:00 Z
18
+ date: 2011-10-07 00:00:00 Z
21
19
  dependencies:
22
20
  - !ruby/object:Gem::Dependency
23
21
  type: :runtime
@@ -27,14 +25,12 @@ dependencies:
27
25
  requirements:
28
26
  - - "="
29
27
  - !ruby/object:Gem::Version
30
- hash: 15425137
28
+ hash: 263
31
29
  segments:
32
30
  - 0
33
31
  - 70
34
32
  - 0
35
- - rc
36
- - 2
37
- version: 0.70.0.rc2
33
+ version: 0.70.0
38
34
  version_requirements: *id001
39
35
  name: spree_core
40
36
  - !ruby/object:Gem::Dependency
@@ -156,14 +152,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
156
152
  required_rubygems_version: !ruby/object:Gem::Requirement
157
153
  none: false
158
154
  requirements:
159
- - - ">"
155
+ - - ">="
160
156
  - !ruby/object:Gem::Version
161
- hash: 25
157
+ hash: 3
162
158
  segments:
163
- - 1
164
- - 3
165
- - 1
166
- version: 1.3.1
159
+ - 0
160
+ version: "0"
167
161
  requirements:
168
162
  - none
169
163
  rubyforge_project: spree_auth