i18n-assets 0.0.3 → 0.0.4

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
- MWE5NDUyNWQxMGQ1MmIzYmY4YjMxMWI4NTJkZWJlMTQ1OTVkZjg1OQ==
4
+ NTMzNDI4MjY4M2ZmZjgyMTZlZDk3NzMzYWQwYTlkMjMyNjQ3YjFhMw==
5
5
  data.tar.gz: !binary |-
6
- NzUxNjFkNTVhZDQ5YTIwN2RhZjNhMjA1NTI3ZTA1NDVlYjRmZjMyOQ==
6
+ YjI0NGY4ZDk2ZDczYWRhYTM0ZGRlMTY1YzEyZTYwMjkwZWQ0MWY3Yw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OTRmNTZmNjIwNmEwOGVhMzQyNmU0MTM2M2VhMjdkYjBkY2MwNjY0MDg2NDg1
10
- MTM0NTNmNWVjMzJkYTNmZDk0YTVkYWExMjA4ZDFiODBkM2U0NmNkZDVlMTYx
11
- NDExZTA3ZmIxOTg0OTU3M2VhZDViZTY0NTJmMTA1MjQ2NDFhNjI=
9
+ NjMwMmRkZWI1NjY2YzZhZjM5MWI2ZDljZTNhMGEyYTg3Njg2NzFkZjJhOWM3
10
+ YjRiMDA1MWYwMTdkNTNkMGQ3OWJmNmZiMmExOWJhMTJjNTliYTM1MmQ3MGI5
11
+ OTllMTYyMThjZWY1MjI4N2E1MjQ4ODdhMzhkMzA3ZmM0OGRkMDc=
12
12
  data.tar.gz: !binary |-
13
- ZmU4ZDk3YTdlN2EyNTRlNmJhMmQyYTBjNjk2OTg4MjI2NjdmY2IxZTA5Y2Y1
14
- NDJmM2JkNzVkYzZkMTdhMjNjYTRkNDNiYWE2ZDIwYTk4NTI2MGYzY2Y0NmMy
15
- OWUzNWY4YTE2YWQ1NDM1MjljYWNmZDlhNThjMjYxMWVkYTUwY2M=
13
+ MzI5ZTlhNTBkMTdkYWNiYzVkYmUwODY5M2I4OWMyMTkzODg2MzEyYzI5NTI3
14
+ Y2Q4NTQ1Njg5NDUzZGVmY2I0ZDZjMjZiMTdlNmJmYjY0NGI1NDlmMDUyYWZj
15
+ ZWUxNTQ1N2ZhNWI3NDlkOWE3OWU2NjgzZmFlZDA0ZDNkYzdmMTc=
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- i18n-assets (0.0.3)
4
+ i18n-assets (0.0.4)
5
5
  actionpack (~> 3.2.18)
6
6
  sprockets (~> 2.2.2)
7
7
 
@@ -15,7 +15,7 @@ unless defined?(Sprockets::LOCALIZABLE_ASSETS_REGEX)
15
15
  def asset_path(source, options = {})
16
16
  path = asset_path_without_locale(source, options)
17
17
 
18
- if path =~ LOCALIZABLE_ASSETS_REGEX
18
+ if !digest_assets? && path =~ LOCALIZABLE_ASSETS_REGEX
19
19
  separator = path =~ /\?/ ? '&' : '?'
20
20
  "#{ path }#{ separator }t=#{ Time.now.to_i }"
21
21
  else
@@ -1,5 +1,5 @@
1
1
  module I18n
2
2
  module Assets
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maxim Gladkov