lookout-ahoy 0.3.0 → 0.4.0
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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 43ca7a24f9a05a6c13e8953bb00633c57f86fccee8cb022d1e4558af8e524a39
|
|
4
|
+
data.tar.gz: fa173b00e17986052ae54987b8464d7903610f0f71f63b266303721df1629a33
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aebbbce5cfdddf26126f4669e944fbdd42e47cfa63f26310a780b1a8a796e4d6a77e7170f0074611dfc59f923435569d403f3870ce02197b13c86ee376d4ce6c
|
|
7
|
+
data.tar.gz: 1e2b06efdb5ea6a6af518c7a12918fb6470867f0c1dfcbf5fede35a88deea551938bdb4bc5d29dfd02984a4b36e9e9188c874dce45686d087264629993833a29
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
module Lookout
|
|
2
2
|
module ApplicationHelper
|
|
3
|
-
include Pagy::Frontend
|
|
4
|
-
|
|
5
3
|
def current_property_filter
|
|
6
4
|
return nil unless params[:q]
|
|
7
5
|
|
|
@@ -45,7 +43,7 @@ module Lookout
|
|
|
45
43
|
end
|
|
46
44
|
|
|
47
45
|
def number_to_percentage(number, options = {})
|
|
48
|
-
precision = options.fetch(:precision,
|
|
46
|
+
precision = options.fetch(:precision, 0)
|
|
49
47
|
"#{number.round(precision)}%"
|
|
50
48
|
end
|
|
51
49
|
|
|
@@ -115,7 +113,7 @@ module Lookout
|
|
|
115
113
|
|
|
116
114
|
def render_pagination
|
|
117
115
|
if @pagination
|
|
118
|
-
|
|
116
|
+
@pagination.series_nav.html_safe
|
|
119
117
|
else
|
|
120
118
|
""
|
|
121
119
|
end
|
data/lib/lookout/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lookout-ahoy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- nativestranger
|
|
@@ -128,6 +128,9 @@ dependencies:
|
|
|
128
128
|
- - ">="
|
|
129
129
|
- !ruby/object:Gem::Version
|
|
130
130
|
version: '9.0'
|
|
131
|
+
- - "<"
|
|
132
|
+
- !ruby/object:Gem::Version
|
|
133
|
+
version: '44'
|
|
131
134
|
type: :runtime
|
|
132
135
|
prerelease: false
|
|
133
136
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -135,6 +138,9 @@ dependencies:
|
|
|
135
138
|
- - ">="
|
|
136
139
|
- !ruby/object:Gem::Version
|
|
137
140
|
version: '9.0'
|
|
141
|
+
- - "<"
|
|
142
|
+
- !ruby/object:Gem::Version
|
|
143
|
+
version: '44'
|
|
138
144
|
- !ruby/object:Gem::Dependency
|
|
139
145
|
name: rubyzip
|
|
140
146
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -667,7 +673,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
667
673
|
- !ruby/object:Gem::Version
|
|
668
674
|
version: '0'
|
|
669
675
|
requirements: []
|
|
670
|
-
rubygems_version: 3.
|
|
676
|
+
rubygems_version: 3.6.9
|
|
671
677
|
specification_version: 4
|
|
672
678
|
summary: A full-featured, mountable analytics dashboard for Rails, powered by Ahoy.
|
|
673
679
|
SQLite & PostgreSQL support.
|