gridy 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8dda01ccf56bc2c2a1bbce11a8255e53bbdf29e2e00cce66c6d3a7be89434d73
4
- data.tar.gz: d045f910f97777dac23b85ebb35c6a74e3104fc5022f578ca8e81f2129dec49f
3
+ metadata.gz: 66c0d42e946cb8ceafe4a111a998494c955f4a9a035c903d0d0027744679323e
4
+ data.tar.gz: 6527df2efdc6bf95009558ae508fcfcd9970ea7185add0ff32244b84b3c2d919
5
5
  SHA512:
6
- metadata.gz: b7a4d1cbba84d5a6489fb269d4c9af247d09b8b9c0d6b57b98bb8bca40383d4482fafcde67a085ed836815adb0cbbaf3e9323c0c3822357e6858dc65aa3afe31
7
- data.tar.gz: e66d39c68309e05d8d97f8e964002e7a449516f41f92651eb92d973f782befabcd322c5419432f2448864733ae250edf01f102d6551218d8bded2227cdc1f33e
6
+ metadata.gz: 44e0062d0aafa320326cf7904f7d699a164f6e4622780d5cb78ec455d20e5d9fae89ef59a062225de5e17b17675469572ac725d93bdd02e7f7c5ead7d01fadfa
7
+ data.tar.gz: 2a0ce19b7cecd8ff8b7b44dbbc4ae1b5e0f2bc83bcbc2076531812e277d0cff294493cd69f6c7958501d8b095b090c852df2ad1fe5c9f05bc1b8629fa6424ed4
data/lib/gridy/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Gridy
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -1,3 +1,6 @@
1
+ require "pagy"
2
+ require "turbo-rails"
3
+
1
4
  module Gridy
2
5
  module ViewHelpers
3
6
  include Turbo::FramesHelper
@@ -13,7 +16,7 @@ module Gridy
13
16
 
14
17
  def gridy_table_header(field, title = nil, sortable: false)
15
18
  unless sortable
16
- return content_tag(:th, title || field.to_s.titleize)
19
+ return title || field.to_s.titleize
17
20
  end
18
21
 
19
22
  uri = URI(request.url)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gridy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Melvin Sembrano