muck-profiles 3.1.1 → 3.1.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
- 3.1.1
1
+ 3.1.2
@@ -1,6 +1,6 @@
1
1
  <div id="<%= "#{user.dom_id}" %>" class="edit_profile">
2
2
  <%= muck_form_for(user, :url => user_profile_path(user), :html => html.merge(:id => "edit-profile-form", :name => 'edit-profile-form', :method => :put, :multipart => true ) ) do |f| -%>
3
- <%= capture(f, &block) %>
3
+ <%= capture(f, &block) if block -%>
4
4
  <div id="edit_profile_submit" class="button form-row">
5
5
  <%= f.submit t('muck.general.update') %>
6
6
  </div>
@@ -2,6 +2,7 @@
2
2
  <%= I18n.t('muck.profiles.location_suggestion', :location => location) %>
3
3
  <a href="#" id="set_<%=field_id%>"><%=I18n.t('muck.profiles.click_to_set')%></a>
4
4
  </div>
5
+ <% content_for :javascript do -%>
5
6
  <script type="text/javascript">
6
7
  jQuery(document).ready(function() {
7
8
  jQuery("#set_<%=field_id%>").click(function() {
@@ -9,4 +10,5 @@ jQuery(document).ready(function() {
9
10
  return false;
10
11
  });
11
12
  });
12
- </script>
13
+ </script>
14
+ <% end -%>
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{muck-profiles}
8
- s.version = "3.1.1"
8
+ s.version = "3.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Justin Ball", "Joel Duffin"]
12
- s.date = %q{2011-01-28}
12
+ s.date = %q{2011-03-19}
13
13
  s.description = %q{Profile engine for the muck system.}
14
14
  s.email = %q{justin@tatemae.com}
15
15
  s.extra_rdoc_files = [
@@ -91,11 +91,10 @@ Gem::Specification.new do |s|
91
91
  ]
92
92
  s.homepage = %q{http://github.com/tatemae/muck-profiles}
93
93
  s.require_paths = ["lib"]
94
- s.rubygems_version = %q{1.3.7}
94
+ s.rubygems_version = %q{1.6.0}
95
95
  s.summary = %q{Profile engine for the muck system}
96
96
 
97
97
  if s.respond_to? :specification_version then
98
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
99
98
  s.specification_version = 3
100
99
 
101
100
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muck-profiles
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
5
- prerelease: false
4
+ hash: 7
5
+ prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 1
9
- - 1
10
- version: 3.1.1
9
+ - 2
10
+ version: 3.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Justin Ball
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-01-28 00:00:00 -07:00
19
+ date: 2011-03-19 00:00:00 -06:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -284,7 +284,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
284
284
  requirements: []
285
285
 
286
286
  rubyforge_project:
287
- rubygems_version: 1.3.7
287
+ rubygems_version: 1.6.0
288
288
  signing_key:
289
289
  specification_version: 3
290
290
  summary: Profile engine for the muck system