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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ac6efdf331bb0b17f63ab0cac25a119b81d4d777
4
- data.tar.gz: b65569f6c75839a15386af593e8b3ffa97bb6243
3
+ metadata.gz: c93b52444d1e9c0c1907c405d046c79f5f2794ef
4
+ data.tar.gz: f74a1c81258c489b4e00c9476e1618e8db970fd5
5
5
  SHA512:
6
- metadata.gz: 109bb9fb982545a19088753d7853d4d190cf23c6efcbe88406ffa230e3912a5a9f64457aa62ac63c61ba03fcb7defd20404066394347d33c02ea36a60e51195b
7
- data.tar.gz: 14a2dbdca298612e79a27d13fc4f8ded53c38fd22daa6ab483a1c5101a74db96516bda8afe30792ee41419ccde23c75aab8bbb231cabac41b1f24e228cb82102
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
- render :json => arr
14
+ respond_to do |format|
15
+ format.json { render :json => arr }
16
+ end
17
17
  end
18
18
 
19
19
  end
@@ -1,3 +1,3 @@
1
1
  module Timepiece
2
- VERSION = "0.2.11"
2
+ VERSION = "0.2.12"
3
3
  end
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.11
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-05-29 00:00:00.000000000 Z
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.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.