saucy 0.14.0 → 0.14.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ 0.14.1
2
+
3
+ * Split up billing address form
4
+ * Billing address line 2 is not required
5
+
1
6
  0.14.0
2
7
 
3
8
  * Accept user billing address.
@@ -3,11 +3,15 @@
3
3
  <%= form.input :verification_code, :required => true, :input_html => { :autocomplete => "off" } %>
4
4
  <%= form.input :expiration_month, :collection => [['January', '01'], ['February', '02'], ['March', '03'], ['April', '04'], ['May', '05'], ['June', '06'], ['July', '07'], ['August', '08'], ['September', '09'], ['October', '10'], ['November', '11'], ['December', '12']], :required => true %>
5
5
  <%= form.input :expiration_year, :collection => (Date.today.year..(Date.today.year+10)).to_a, :required => true %>
6
+ <% end %>
7
+
8
+ <h5 class="legend">Billing Address</h5>
9
+ <%= form.inputs do %>
6
10
  <%= form.input :cardholder_name, :required => true %>
7
11
  <%= form.input :billing_email, :required => true, :hint => "We'll send receipts and billing issues to this address." %>
8
12
 
9
13
  <%= form.input :street_address, :label => "Address Line 1", :required => true %>
10
- <%= form.input :extended_address, :label => "Address Line 2", :required => true %>
14
+ <%= form.input :extended_address, :label => "Address Line 2", :required => false %>
11
15
  <%= form.input :locality, :label => "City", :required => true %>
12
16
  <%= form.input :region, :label => "State or Province", :required => true %>
13
17
  <%= form.input :postal_code, :label => "ZIP or Postal Code", :required => true %>
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: saucy
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.14.0
5
+ version: 0.14.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - thoughtbot, inc.