remetric 0.0.5 → 0.0.6

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: 46451d4b931cc7fd5d28bb5ccb7787ffa38b1fb8
4
- data.tar.gz: ba07b68a362194b97031a531ed6998aa9139e097
3
+ metadata.gz: 446c835bf88d105b1c073512715de50651b4c4bc
4
+ data.tar.gz: c6f974824f212dd25f5af74ef5ffa905b2791633
5
5
  SHA512:
6
- metadata.gz: d5d3776546da98a4ad60a2852fae4661b169fb1d9aca35e1f0f3e241df8c11e044823f61fc139fa593ae075475cc824fdb660ef3090f968e53b7bcea38bf4a9d
7
- data.tar.gz: 1c69d38cdb45438a5b92afd85afc57e511bd2a08f6e9cc876b96ee71266773e6f791d727b483d0d37377220337e5ae76cf594729872fe8962b9f7d0e2baee74a
6
+ metadata.gz: f6fceef078468d948699c035dba6f231daa7bd207b102dcfa80f09bd1e668b9d8b89ae75f216405a64d6330d82aed25004e35d185a200c73bae8c62351298bd8
7
+ data.tar.gz: 9cca9d8bbf7b974d40c65e0a90c0465c18f59db0727b7cb96557eedaa5fd955155541873a8bdecdf0b723ea68d2f9f272875e1326fa8df24523e6bb96b96fa24
@@ -9,7 +9,7 @@
9
9
  </p>
10
10
 
11
11
  <p class="align_center">
12
- <%= link_to "Remetric v#{Remetric.version}", "https://github.com/dallas22ca/remetric" %>
12
+ <%= link_to "Remetric v0.0.6", "https://github.com/dallas22ca/remetric" %>
13
13
  </p>
14
14
 
15
15
  <div class="clear"></div>
@@ -6,10 +6,10 @@
6
6
 
7
7
  <ul class="nav">
8
8
  <li><%= link_to "Dashboard", root_path, class: "#{"selected" if request.path == root_path}" %></li>
9
- <li><%= link_to "Events", events_path, class: "#{"selected" if request.path == events_path}" %></li>
9
+ <li><%= link_to "Events", events_path, class: "#{"selected" if controller_name == "events"}" %></li>
10
10
 
11
11
  <% @trackable_models.each do |model| %>
12
- <li><%= link_to model.pluralize.capitalize, trackables_path(model.downcase.pluralize), class: "#{"selected" if request.path == trackables_path(model.downcase.pluralize)}" %>
12
+ <li><%= link_to model.pluralize.capitalize, trackables_path(model.downcase.pluralize), class: "#{"selected" if request.path.include? model.downcase.pluralize}" %>
13
13
  <% end %>
14
14
 
15
15
  <li><%= link_to "Settings", settings_path, class: "#{"selected" if request.path == settings_path}" %></li>
@@ -22,9 +22,10 @@
22
22
  <tr>
23
23
  <td><%= event.linked_story.html_safe %></td>
24
24
  <td style="display: none; "><%= event.to_json %></td>
25
+ <td><%= link_to "&rarr;".html_safe, event %></td>
25
26
  </tr>
26
27
  <% end %>
27
28
  </tbody>
28
29
  </table>
29
30
 
30
- <% Remetric.track contact: { id: 1228, name: "Ready" }, organization: { id: "swell", name: "Swell Productions" }, adescription: "{{ contact.name }} from {{ organization.name }} laughs." %>
31
+ <!--< Remetric.track contact: { id: 1228, name: "Ready" }, organization: { id: "swell", name: "Swell Productions" }, adescription: "{{ contact.name }} from {{ organization.name }} laughs." >-->
@@ -14,8 +14,4 @@ module Remetric
14
14
  Event.create data
15
15
  }
16
16
  end
17
-
18
- def self.version
19
- Remetric::VERSION
20
- end
21
17
  end
@@ -1,3 +1,3 @@
1
1
  module Remetric
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remetric
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dallas Read