viewable 0.5.10 → 0.5.11

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a7a7bdf5e1ba1c0e1b97270ce8c8236454e66d1
4
- data.tar.gz: 55aba5525f9f8c123bd1e063eb4a9657c3ceb62f
3
+ metadata.gz: e34bb58c8ec943faab5afd5064fac1ae2030fa13
4
+ data.tar.gz: 8d4fc29e1d93cb891f5c06616612bb952799f3a8
5
5
  SHA512:
6
- metadata.gz: 7d9fd97364a896b422f075353c922dc784b9a0c782e4299620348a4d78afecf72b410412d7398e4089a51a634ba8cb54a15352578229d0734cbc2140cd1573b2
7
- data.tar.gz: b5c5603df5b0dd00a3d09a17d241dcc80f06dd6d252d1b312eed2af0625702721f414c6b29b56575d89f329d3b1b383fc08270f8675a6c9d493ee7aee5935244
6
+ metadata.gz: 7922d4bee619d26c01ee6965d5aac016ce3317ff5f77b792bdbafb149ad1bb239f2f55b3d317e00dd2f4f0778a5a2e0aab8e94a0fb7678faa8ad30be4cd1df58
7
+ data.tar.gz: 522675081dbc31a2118a899526fa12aa9412b2dca0bc389c38ace630de4461577101623a8a2a65ed5af08da98f9691eeded909226cbb336214a8b700c9eb9750
data/README.md CHANGED
@@ -11,7 +11,7 @@
11
11
 
12
12
  Viewable works with Rails 4.0. Add this line to your Gemfile:
13
13
 
14
- gem 'viewable', '~> 0.5.10'
14
+ gem 'viewable', '~> 0.5.11'
15
15
 
16
16
  Then execute:
17
17
 
@@ -3,10 +3,10 @@
3
3
  <%% @<%=viewable_views_name.pluralize%>.each do |<%=viewable_views_name.singularize%>| %>
4
4
  <div class="<%=viewable_views_name.singularize%>">
5
5
  <%%= <%=viewable_views_name.singularize%>.name %>
6
- <%%= link_to "Show all viewing", <%=viewable_views_name.singularize%>_viewings_path(<%=viewable_views_name.singularize%>) %>
6
+ <%%= link_to "Show all viewings", <%=viewable_views_name.singularize%>_viewings_path(<%=viewable_views_name.singularize%>) %>
7
7
  <%%= link_to "Delete", <%=viewable_views_name.singularize%>_path(<%=viewable_views_name.singularize%>), data: { confirm: 'Are you sure?' }, method: :delete %>
8
8
  <%%= link_to "Edit", edit_<%=viewable_views_name.singularize%>_path(<%=viewable_views_name.singularize%>) %>
9
9
  <%%= link_to "Add viewing", new_<%=viewable_views_name.singularize%>_viewing_path(<%=viewable_views_name.singularize%>) %>
10
+ <%%= link_to "New", new_<%=viewable_views_name.singularize%>_path(@<%=viewable_views_name.singularize%>) %>
10
11
  </div>
11
12
  <%% end %>
12
- <%%= link_to "New", new_<%=viewable_views_name.singularize%>_path(<%=viewable_views_name.singularize%>) %>
data/viewable.gemspec CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
  Gem::Specification.new do |s|
6
6
  # metadata
7
7
  s.name = 'viewable'
8
- s.version = '0.5.10'
8
+ s.version = '0.5.11'
9
9
  s.licenses = ['MIT']
10
10
  s.summary = %q{a viewings calendar gem for rails 4.0}
11
11
  s.description = %q{Viewable is a Rails 4.0 gem that enables you to add resource viewing functionality to your Rails application. A resource can be anything that is viewable e.g. function room, conference hall. }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: viewable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.10
4
+ version: 0.5.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Cox