timepiece 0.2.11 → 0.2.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/timepiece_controller.rb +3 -3
- data/lib/timepiece/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c93b52444d1e9c0c1907c405d046c79f5f2794ef
|
4
|
+
data.tar.gz: f74a1c81258c489b4e00c9476e1618e8db970fd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b094f18966f481864c28d266240ecaa723a687695ff70ea728a43d1252c32ae1d7b8c07801169eb55b013b47cf05b9bf9cad19b2b266900653e4b10142e2b49a
|
7
|
+
data.tar.gz: e51d8cfcdd754226be9bfb2ff29899c4442c6990ae2979df9e5cc45473480817623d855f96c1acad71e42210d637d7c8d0a8ed39f5040827024bf6523a0ffb2f
|
@@ -1,7 +1,5 @@
|
|
1
1
|
class TimepieceController < ApplicationController
|
2
2
|
|
3
|
-
respond_to :json
|
4
|
-
|
5
3
|
def clock
|
6
4
|
arr = Array.new
|
7
5
|
params[:timezones].each_with_index do | data, index |
|
@@ -13,7 +11,9 @@ class TimepieceController < ApplicationController
|
|
13
11
|
}
|
14
12
|
arr << time
|
15
13
|
end
|
16
|
-
|
14
|
+
respond_to do |format|
|
15
|
+
format.json { render :json => arr }
|
16
|
+
end
|
17
17
|
end
|
18
18
|
|
19
19
|
end
|
data/lib/timepiece/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: timepiece
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thom Bruce
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jquery-rails
|
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
100
|
version: '0'
|
101
101
|
requirements: []
|
102
102
|
rubyforge_project:
|
103
|
-
rubygems_version: 2.4.
|
103
|
+
rubygems_version: 2.4.8
|
104
104
|
signing_key:
|
105
105
|
specification_version: 4
|
106
106
|
summary: Provides a digital clock for Rails applications.
|