fugleman 0.1.4 → 0.1.5
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 +4 -4
- data/fugleman.gemspec +1 -1
- data/lib/fugleman/helpers.rb +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c26d02a05faf5aa69022c7b218e2c051a4414e5a
|
|
4
|
+
data.tar.gz: ee72238bccdb8bda1c5c903478a87c39e491a0a4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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']
|
data/lib/fugleman/helpers.rb
CHANGED
|
@@ -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
|
+
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-
|
|
11
|
+
date: 2014-06-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rack
|