copy_tuner_client 0.1.1.beta3 → 0.1.1.beta4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NGRmMTk5MjZkM2EyYzZhMzM4ODk2ZTM3YjFhODFkNTQxY2ZiYTRjYQ==
4
+ Y2ZiOTYzNTc1YWM3MGI5ZDI0ZWMyNTQ0MmE2YjMwZjcwOWFkNzkwNA==
5
5
  data.tar.gz: !binary |-
6
- Njc5MDlkNDFhMDU3NWQyOTYwMGVmNDMxOTU0MmMyNTRkZGQ3Y2UyYQ==
6
+ MzE3NzNiOGQ5YmRhYjYzYWMyZmI3ODc4MmExOWUwOGRjMWMwMTA2ZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MTJlMDI5YmJmNTIzNTY3NGQwNGE1MGNkMTliMTk2ZDRjMGZkMTU3OWI4ZmZm
10
- ZWY1ZjRjOTMwMjI1YmNkMWYxMjNjMTNmMWRjMzk5NjA3Mzc1NWNhNGI3YTIw
11
- MWM3NjcxYTgzYzY3M2MyZGMyMDkxZmI2N2RmMWI2NzAyNGE5MWQ=
9
+ MTQ3NTNmMGU5NmI1NDQzZWYzMDRlMTEwZTRlY2Q4NTAwMTNhNjU4ZGYzMTU1
10
+ MmFjYjg3ZGIwMDkxZmM1Yzk4OTAzZDgzNzdkOWM4NzdmMmFiMjIwYzhmYzc5
11
+ YTM3ZWVmM2Y3MWNkYzIyNjI0OGYwNTVjNWU3YWRiZjNlYmI2NDg=
12
12
  data.tar.gz: !binary |-
13
- YTEyMzVmZGEyOGYzOTRjYTgwYWUyZmVhMWZmNTcwMWIxNDNmNTE0M2FlNGYw
14
- M2VlNDY2ZThkNjA5ODdiMDg2NmUyM2IwYWI2ZjVkNWZjOGJiMWU1OTY1MGZl
15
- N2UyODRiMjQyNjEyN2UyYTQxZTA1NmUyOWQ4NDMxNjdkODU2MTA=
13
+ ZWNlOWYzNWU3ODRiYjlhYTlhZGYwNzRlMjEyYmYxMDA5MDgxYjMyNzcwN2Yy
14
+ YmRiNzU3NjA4OGIwY2M4ZjJiMmRhYTMxNWZiNGFlZWRiNTg4OGVlYTNhZDcz
15
+ NDVkMWU5OGVlZGE5NjdjNThhNjk4MWJhYzlkZjM1NzQyMTAxNTM=
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- copy_tuner_client (0.1.1.beta3)
4
+ copy_tuner_client (0.1.1.beta4)
5
5
  i18n (>= 0.5.0)
6
6
  json
7
7
 
@@ -22,7 +22,7 @@ module CopyTunerClient
22
22
  end
23
23
  end
24
24
 
25
- initializer "copy_tuner.assets.precompile", group: :assets do |app|
25
+ initializer "copy_tuner.assets.precompile" do |app|
26
26
  app.config.assets.precompile += ["copyray.js", "copyray.css"]
27
27
  end
28
28
 
@@ -38,8 +38,9 @@ module CopyTunerClient
38
38
  # Returns locales availabile for this CopyTuner project.
39
39
  # @return [Array<String>] available locales
40
40
  def available_locales
41
+ return @available_locales if defined?(@available_locales)
41
42
  cached_locales = cache.keys.map { |key| key.split('.').first }
42
- (cached_locales + super).uniq.map { |locale| locale.to_sym }
43
+ @available_locales = (cached_locales + super).uniq.map { |locale| locale.to_sym }
43
44
  end
44
45
 
45
46
  # Stores the given translations.
@@ -1,6 +1,6 @@
1
1
  module CopyTunerClient
2
2
  # Client version
3
- VERSION = '0.1.1.beta3'
3
+ VERSION = '0.1.1.beta4'
4
4
 
5
5
  # API version being used to communicate with the server
6
6
  API_VERSION = '2.0'.freeze
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: copy_tuner_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.beta3
4
+ version: 0.1.1.beta4
5
5
  platform: ruby
6
6
  authors:
7
7
  - SonicGarden
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-18 00:00:00.000000000 Z
11
+ date: 2014-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n