growlyflash 0.2.1 → 0.2.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
  SHA1:
3
- metadata.gz: 323220dabb76a4cafc72b5f3bc0545f7a48a7f21
4
- data.tar.gz: 844d91cb573bb39a0fe9a93529400430c580df42
3
+ metadata.gz: 485585c27a4f5e90dfe84007c2cd0134e74f678f
4
+ data.tar.gz: f1f6e60ee67820bb9ca39c0a488397f7a0809e57
5
5
  SHA512:
6
- metadata.gz: 8ef042c03da982ac5f5392551356c84ceb9b64244921d2f592f423606991ecc1fd3244d85466376307b0600017f0cd8e4dec6e880755b6a1fd99fd1a955187e5
7
- data.tar.gz: b2c10ac12106e3dc27859d4a17ade8c431ddfbd500c19b140e0ce91fda4f40b19eb44915b484da7775201131d6e93e706b09161ef88db5d22e48e915cab8f710
6
+ metadata.gz: 3a13f00010ee6d5eba34cf62253b140405b6979d0f6fc6ae8fb6584859bf7091059fbc60804053cf412ebb461fff7fa9078de139240aa0402c827b8193070ea4
7
+ data.tar.gz: 3ec0206479ebe6aab5552b9a02e6d5722d0cd464efb8f2f314ead255496571ef3ab18abb65b658d20fcac1abd0c8e34c4cee5d81377d183226905daac83da1a4
@@ -1,3 +1,3 @@
1
1
  module Growlyflash
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -38,8 +38,8 @@ $.bootstrapGrowl = (message, options) ->
38
38
 
39
39
  box_alert.css switch settings.align
40
40
  when "center" then left: '50%', marginLeft:"-#{box_alert.outerWidth() / 2}px"
41
- when "left" then left: '20px'
42
- else right: '20px'
41
+ when "left" then left: "#{settings.alignAmount}px"
42
+ else right: "#{settings.alignAmount}px"
43
43
  box_alert.fadeIn()
44
44
 
45
45
  # Only remove after delay if delay is more than 0
@@ -53,6 +53,7 @@ $.bootstrapGrowl.defaults =
53
53
  spacing: 10
54
54
  target: 'body'
55
55
  align: 'right'
56
+ alignAmount: 20
56
57
  dismiss: true
57
58
  type: null
58
59
  offset:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: growlyflash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tõnis Simo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-26 00:00:00.000000000 Z
11
+ date: 2013-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties