apprise-me 0.0.4 → 0.0.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 +7 -0
- data/lib/apprise-me/version.rb +1 -1
- data/lib/apprise-me/view_helpers.rb +6 -1
- metadata +33 -53
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 01e2c27edf18ac9a2c6bb828f83169184d93bb70
|
|
4
|
+
data.tar.gz: 4c213183b18d79a68f67596634d835259745994b
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 1cac1892da4c95a1cb7d9d7c86d20b9a3bcfccb90e2affc9dedf99ca609df222e3a6b1307f3325f31fed2537821b47885051384a87a6a539b2a809629cda98a0
|
|
7
|
+
data.tar.gz: 465a8481dfd923fe4e5e0c3362cb58a950a15202e3d00f96c5496803073e7806e6fdf0a7c28b37af4b47360e975c900b3fdcd1a6c9ecfa9d3a8487961e4ca901
|
data/lib/apprise-me/version.rb
CHANGED
|
@@ -2,7 +2,12 @@ module AppriseMe
|
|
|
2
2
|
module ViewHelpers
|
|
3
3
|
def link_to(*args, &block)
|
|
4
4
|
html_options = args[block_given? ? 1 : 2] || {}
|
|
5
|
-
html_options[
|
|
5
|
+
if (html_options[:confirm] || (html_options[:data] && html_options[:data][:confirm]) &&
|
|
6
|
+
!html_options[:remote])
|
|
7
|
+
|
|
8
|
+
html_options['data-apprise-confirm'] = html_options.delete(:confirm) ||
|
|
9
|
+
html_options[:data].delete(:confirm)
|
|
10
|
+
end
|
|
6
11
|
super *args, &block
|
|
7
12
|
end
|
|
8
13
|
end
|
metadata
CHANGED
|
@@ -1,47 +1,37 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: apprise-me
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
prerelease:
|
|
6
|
-
segments:
|
|
7
|
-
- 0
|
|
8
|
-
- 0
|
|
9
|
-
- 4
|
|
10
|
-
version: 0.0.4
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.5
|
|
11
5
|
platform: ruby
|
|
12
|
-
authors:
|
|
6
|
+
authors:
|
|
13
7
|
- John Colvin
|
|
14
8
|
autorequire:
|
|
15
9
|
bindir: bin
|
|
16
10
|
cert_chain: []
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
- !ruby/object:Gem::Dependency
|
|
11
|
+
date: 2014-04-29 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
21
14
|
name: apprise-rails
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
none: false
|
|
25
|
-
requirements:
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
26
17
|
- - ">="
|
|
27
|
-
- !ruby/object:Gem::Version
|
|
28
|
-
|
|
29
|
-
segments:
|
|
30
|
-
- 0
|
|
31
|
-
version: "0"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '0'
|
|
32
20
|
type: :runtime
|
|
33
|
-
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '0'
|
|
34
27
|
description: Automatically uses apprise for confirms sent as a parameter to link_to
|
|
35
|
-
email:
|
|
28
|
+
email:
|
|
36
29
|
- colvin.john@gmail.com
|
|
37
30
|
executables: []
|
|
38
|
-
|
|
39
31
|
extensions: []
|
|
40
|
-
|
|
41
32
|
extra_rdoc_files: []
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
- .gitignore
|
|
33
|
+
files:
|
|
34
|
+
- ".gitignore"
|
|
45
35
|
- Gemfile
|
|
46
36
|
- README.md
|
|
47
37
|
- Rakefile
|
|
@@ -55,36 +45,26 @@ files:
|
|
|
55
45
|
- lib/assets/stylesheets/apprise-me.css
|
|
56
46
|
homepage: https://github.com/johncolvin/apprise-me
|
|
57
47
|
licenses: []
|
|
58
|
-
|
|
48
|
+
metadata: {}
|
|
59
49
|
post_install_message:
|
|
60
50
|
rdoc_options: []
|
|
61
|
-
|
|
62
|
-
require_paths:
|
|
51
|
+
require_paths:
|
|
63
52
|
- lib
|
|
64
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
65
|
-
|
|
66
|
-
requirements:
|
|
53
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
54
|
+
requirements:
|
|
67
55
|
- - ">="
|
|
68
|
-
- !ruby/object:Gem::Version
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
version: "0"
|
|
73
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
74
|
-
none: false
|
|
75
|
-
requirements:
|
|
56
|
+
- !ruby/object:Gem::Version
|
|
57
|
+
version: '0'
|
|
58
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
59
|
+
requirements:
|
|
76
60
|
- - ">="
|
|
77
|
-
- !ruby/object:Gem::Version
|
|
78
|
-
|
|
79
|
-
segments:
|
|
80
|
-
- 0
|
|
81
|
-
version: "0"
|
|
61
|
+
- !ruby/object:Gem::Version
|
|
62
|
+
version: '0'
|
|
82
63
|
requirements: []
|
|
83
|
-
|
|
84
64
|
rubyforge_project: apprise-me
|
|
85
|
-
rubygems_version:
|
|
65
|
+
rubygems_version: 2.2.2
|
|
86
66
|
signing_key:
|
|
87
|
-
specification_version:
|
|
67
|
+
specification_version: 4
|
|
88
68
|
summary: Replaces confirms with apprise style confirms
|
|
89
69
|
test_files: []
|
|
90
|
-
|
|
70
|
+
has_rdoc:
|