amfetamine 0.4.0 → 0.4.1

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: 7dff766487153f39f4c3031ea1ac716f296fbdf2
4
- data.tar.gz: 3a9435fdea9c38bda128504c9e74ecc044b15363
3
+ metadata.gz: 508fe247999f1772a3503610553052e4edfca9f4
4
+ data.tar.gz: c738eb8a65ccd90ed8c5e16fb0750277dd5f87dc
5
5
  SHA512:
6
- metadata.gz: 19d8b378c2ddcc16ad185c32c8f04b043c3b640307dc11c3e460bee9006edf57cff3dabf9bdfd8eba60802dcb3af5af8b51615933c0d0eb5c8f03036fcceea88
7
- data.tar.gz: b6bb834912b00d0e08a215ebfd0fa5e8aa5a37f37c5ded634bd1b5e821f2d64dc5c0959b0ffcf60595994a77eedd1df3b33e025ae36806667028a9161a771a31
6
+ metadata.gz: 526826ec7216d7ed306294ec9880a1953655b64b402fe756afde833000d0a73eae0ec4fd7b5da8676dfce4ae31a7eb5964b71c17aff5c0e0f3cbb5ee99dfb60c
7
+ data.tar.gz: 3f96bb55fc5a59b5ed4d6f442956d6868e952c07bfb262d200411352f0de1e4a327fb42748e1babd314e8fd81cc2e01b435ffa25afe95c75474ec4a9add2d9c3
data/.gitignore CHANGED
@@ -7,3 +7,5 @@ Guardfile
7
7
  doc/
8
8
  coverage/
9
9
  .rvmrc
10
+ .rspec
11
+ .tmp/
@@ -1,3 +1,7 @@
1
+ ## 0.4.1
2
+
3
+ * Fixed bundling in Rails applications
4
+
1
5
  ## 0.4.0
2
6
 
3
7
  * Add default cache settings (10 minutes)
@@ -45,7 +45,7 @@ module Amfetamine
45
45
  def expiration_time
46
46
  if defined?(Rails)
47
47
  method = "expiration_time_for_#{ Rails.env }"
48
- return send(method) if defined?(method)
48
+ return send(method) if respond_to?(method)
49
49
  end
50
50
 
51
51
  default_expiration_time
@@ -1,3 +1,3 @@
1
1
  module Amfetamine
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amfetamine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timon Vonk