chronic_ping 0.3.2 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/chronic_ping.js.erb +11 -9
- data/lib/chronic_ping/version.rb +1 -1
- metadata +17 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bae54c14661304132939c2f697be8cfd9c8e23b1
|
4
|
+
data.tar.gz: ad97a4cfb0f33e4c5b90f8ae0b1cfdc40b8648ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a50c2df8ff3d3b3a0d5493da839a97e79686774627a0049b48ae120da88da6cfcd9ba6e546953756be980308022352a2b953a898c76d677d38143f39f4d34c9b
|
7
|
+
data.tar.gz: b53119348fc6d70b17d5275b855a48038e5614049a215fe74a12cd5e02dfabc767e8a7435fefa47ee2e5ec089fa4960de85a1c3ab37e8b8b85b7dd33c2602d81
|
@@ -12,14 +12,16 @@ var parseField = function(input_field) {
|
|
12
12
|
});
|
13
13
|
}
|
14
14
|
|
15
|
-
$(
|
16
|
-
|
17
|
-
});
|
18
|
-
|
19
|
-
$('.chronic_ping').keydown(function(e) {
|
20
|
-
if (e.keyCode == 13) {
|
15
|
+
$(document).ready(function() {
|
16
|
+
$('.chronic_ping').change(function() {
|
21
17
|
parseField(this);
|
22
|
-
|
23
|
-
|
24
|
-
|
18
|
+
});
|
19
|
+
|
20
|
+
$('.chronic_ping').keydown(function(e) {
|
21
|
+
if (e.keyCode == 13) {
|
22
|
+
parseField(this);
|
23
|
+
e.preventDefault();
|
24
|
+
e.stopPropagation();
|
25
|
+
}
|
26
|
+
});
|
25
27
|
});
|
data/lib/chronic_ping/version.rb
CHANGED
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chronic_ping
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Hall
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: chronic
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: jquery-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
description: Simple rails engine that uses ajax to ping Chronic, giving users imediate
|
@@ -60,17 +60,17 @@ executables: []
|
|
60
60
|
extensions: []
|
61
61
|
extra_rdoc_files: []
|
62
62
|
files:
|
63
|
+
- MIT-LICENSE
|
64
|
+
- README.markdown
|
65
|
+
- Rakefile
|
63
66
|
- app/assets/javascripts/chronic_ping.js.erb
|
64
67
|
- app/controllers/chronic_ping_controller.rb
|
65
68
|
- config/routes.rb
|
66
|
-
- lib/tasks/chronic_ping_tasks.rake
|
67
69
|
- lib/chronic_ping.rb
|
68
|
-
- lib/chronic_ping/version.rb
|
69
|
-
- lib/chronic_ping/engine.rb
|
70
70
|
- lib/chronic_ping/configuration.rb
|
71
|
-
-
|
72
|
-
-
|
73
|
-
-
|
71
|
+
- lib/chronic_ping/engine.rb
|
72
|
+
- lib/chronic_ping/version.rb
|
73
|
+
- lib/tasks/chronic_ping_tasks.rake
|
74
74
|
homepage: https://chronic-ping.herokuapp.com
|
75
75
|
licenses:
|
76
76
|
- MIT
|
@@ -81,17 +81,17 @@ require_paths:
|
|
81
81
|
- lib
|
82
82
|
required_ruby_version: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
|
-
- -
|
84
|
+
- - ">="
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '0'
|
87
87
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
|
-
- -
|
89
|
+
- - ">="
|
90
90
|
- !ruby/object:Gem::Version
|
91
91
|
version: '0'
|
92
92
|
requirements: []
|
93
93
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.
|
94
|
+
rubygems_version: 2.2.2
|
95
95
|
signing_key:
|
96
96
|
specification_version: 4
|
97
97
|
summary: Uses ajax and chronic to parse date text_fields
|