fugleman 0.1.4 → 0.1.5

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: 261a2f989efd63fc647687d2076196097daf845c
4
- data.tar.gz: 75304c65320bd36b8f50fad326f0ce3842ae765a
3
+ metadata.gz: c26d02a05faf5aa69022c7b218e2c051a4414e5a
4
+ data.tar.gz: ee72238bccdb8bda1c5c903478a87c39e491a0a4
5
5
  SHA512:
6
- metadata.gz: 4b6f1cdae4531006c5fbea5d28eba2ad0e7e52f5457c4748064883da14d2d7450ae0f49d1814faee20a6d1d7ef13b83c7f7627764a17cee3c0ee6bd023df511b
7
- data.tar.gz: 67d783661832ff49fd0df87f48cf6049b66180faabcd630c3b2fbc855ffc3453fbd228791378daa6dfbfecc03f808d044d71d01a226df5dd1d3ff15e541c149c
6
+ metadata.gz: 2075bd1b382ce9548b43f8e0548fe5acd7ca04bf8785acccf7d5afcc0c4fec768c5114a4f9ce11618da79c14f40480752ec9a6d063a7460246b71a814f571540
7
+ data.tar.gz: caf021eedc4d73930d692b7eebcf35dd4d8bfae708a0b06833304860e4aef535e6b2ae45fba3d89f29cd51e2ac4aa1fc8cbb7b21e8709b7c3f9716692f44ec10
data/fugleman.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "fugleman"
5
- s.version = "0.1.4"
5
+ s.version = "0.1.5"
6
6
  s.summary = "Helpers and stuff for working with sinatra. Really simple."
7
7
  s.homepage = "https://bitbucket.org/technologyastronauts/fugleman"
8
8
  s.authors = ['Kaspar Schiess']
@@ -85,7 +85,6 @@ module Fugleman::Helpers
85
85
  def asset_timestamp(file_path)
86
86
  return nil if file_path =~ /\?/ || (self.class.respond_to?(:asset_stamp) && !self.class.asset_stamp)
87
87
  public_path = self.class.public_folder if self.class.respond_to?(:public_folder)
88
- public_path ||= Padrino.root("public") if Padrino.respond_to?(:root)
89
88
  public_file_path = File.join(public_path, file_path) if public_path
90
89
  stamp = File.mtime(public_file_path).to_i if public_file_path && File.exist?(public_file_path)
91
90
  stamp ||= Time.now.to_i
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fugleman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kaspar Schiess
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-27 00:00:00.000000000 Z
11
+ date: 2014-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack