homesteading_helpers 0.0.8 → 0.0.9

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
  SHA1:
3
- metadata.gz: 09f96e4b8f77fed1ab53a1682d7c0b01e1fc7b72
4
- data.tar.gz: 5d41361f710e70b3f6a0ac16294bf611f9eeda50
3
+ metadata.gz: 03b5a617fc4e925182e3907e35b3c39f81801cae
4
+ data.tar.gz: 89367a64eb5ef704173f6a922460cbbc37390c52
5
5
  SHA512:
6
- metadata.gz: e251bfe777cb9da15ea81727aaf6c05f43e3c8fd8a18386a64811cf4451d6ef4e46eae4dc4457b9ff955a1042e3eaffd42f0e6fa73a5c73457e1deb5d3be8917
7
- data.tar.gz: 326390ae570e83000b5a3c6cc857cc4656726490122bbb95577e4417d81b302ec7662c1db3d4f6ced2ec0cf46e3f3fdaa9087c6bbb95950a69e5befd11dca3c4
6
+ metadata.gz: be8bbd0e36b773132a27ad5fba0035c628bc15d90d78852c617803d6eb1471931d46dc3d75de800e0015301b159260995f90e029a4f118df6579c2c9104398cb
7
+ data.tar.gz: 6b2a7b957b785001d87ef4723e46012b94542383c30832a961bb55502863aef4db376fd7d94064139a0fa37a137bf58298ebbbabc7440fc2c06353a6732a5d92
@@ -23,7 +23,10 @@ module HomesteadingHelpers
23
23
  end
24
24
 
25
25
  def nth_of_day(post)
26
- nth = post.class.constantize.where(
26
+ puts "post: #{post.inspect}"
27
+ puts "post.to_s: #{post.to_s.inspect}"
28
+ puts "post.to_s.constantize: #{post.to_s.inspect}"
29
+ nth = post.class.to_s.constantize.where(
27
30
  year: post.year,
28
31
  month: post.month,
29
32
  day: post.day
@@ -1,3 +1,3 @@
1
1
  module HomesteadingHelpers
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: homesteading_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shane Becker