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 +4 -4
- data/README.md +1 -1
- data/lib/viewable/generators/viewable/templates/views/index.html.erb +2 -2
- data/viewable.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e34bb58c8ec943faab5afd5064fac1ae2030fa13
|
|
4
|
+
data.tar.gz: 8d4fc29e1d93cb891f5c06616612bb952799f3a8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7922d4bee619d26c01ee6965d5aac016ce3317ff5f77b792bdbafb149ad1bb239f2f55b3d317e00dd2f4f0778a5a2e0aab8e94a0fb7678faa8ad30be4cd1df58
|
|
7
|
+
data.tar.gz: 522675081dbc31a2118a899526fa12aa9412b2dca0bc389c38ace630de4461577101623a8a2a65ed5af08da98f9691eeded909226cbb336214a8b700c9eb9750
|
data/README.md
CHANGED
|
@@ -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
|
|
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.
|
|
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. }
|