moment_timezone-rails 0.5.0 → 0.5.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b8b450b46aedc9298f3caa572578bc95bd330197
4
- data.tar.gz: 0c0949dcf99c2737679158ddb1649530253527db
2
+ SHA256:
3
+ metadata.gz: 1bc41e57f8bb486045cf768b07ec632c5fc1b46c0265a716f5401a43cdc167ea
4
+ data.tar.gz: 2e549f6507ea9a5c8690f410ceb3e1dfd358b64d1274e51e7a11099c8118641f
5
5
  SHA512:
6
- metadata.gz: 353d1f90b50be7fce62705ecc73eb216103733b1230ba22846eef40de536df12bf2ef7e2616924c2f285aa3d556890e8d77f62331f0ee86a72bec60296128cf7
7
- data.tar.gz: 2e3193170e7ca75b967d17b03f192ca45e083549cb30a4e3e5cd880953df20874a3bfdaeb824bdfb9020f5dc4ceb18543695b6bde415cb04699f4836134a9687
6
+ metadata.gz: 376f967265f81c39121feb7673b96503b7b3ab5abd1362f5a5bf7e8f7c3bbceb2724c07cf57024c9c3217fd49ae7e0e69b71d9f98f5e1af57fab2dba4d6338b0
7
+ data.tar.gz: b055ecc7c287d8c64db4e509e933c71e01ead847bc5c1876b6bd52e42690d4cdf47e9b181e2acce5f19694295fc9147fb85ee360fa181623f2e44d60cd826e05
data/.gitignore CHANGED
@@ -12,6 +12,7 @@ spec/reports
12
12
  test/tmp
13
13
  test/version_tmp
14
14
  tmp
15
+ .DS_Store
15
16
 
16
17
  # YARD artifacts
17
18
  .yardoc
data/README.md CHANGED
@@ -32,7 +32,40 @@ $ gem install moment_timezone-rails
32
32
 
33
33
  Add the following directives to `application.js`.
34
34
 
35
- ### For v0.2.2 and up (latest version is 0.5.0)
35
+ ### For v0.5.25 and up
36
+
37
+ ```js
38
+ //= require moment
39
+
40
+ // moment-timezone without timezone data
41
+ //= require moment-timezone
42
+
43
+ // moment-timezone with timezone data from 1970-2030
44
+ //= require moment-timezone-with-data-1970-2030
45
+
46
+ // moment-timezone with timezone 10 years data range
47
+ //= require moment-timezone-with-data-10-year-range
48
+
49
+ // moment-timezone all timezone data
50
+ //= require moment-timezone-with-data
51
+ ```
52
+
53
+ ### For v0.5.14 and up
54
+
55
+ ```js
56
+ //= require moment
57
+
58
+ // moment-timezone without timezone data
59
+ //= require moment-timezone
60
+
61
+ // moment-timezone with timezone data from 2012-2022
62
+ //= require moment-timezone-with-data-2012-2022
63
+
64
+ // moment-timezone all timezone data
65
+ //= require moment-timezone-with-data
66
+ ```
67
+
68
+ ### For v0.2.2 and up
36
69
 
37
70
  ```js
38
71
  //= require moment
@@ -1,5 +1,5 @@
1
1
  module MomentTimezone
2
2
  module Rails
3
- VERSION = "0.5.0"
3
+ VERSION = "0.5.25"
4
4
  end
5
5
  end
@@ -19,4 +19,6 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_development_dependency "rails", "~> 3.2"
22
+
23
+ spec.add_runtime_dependency "momentjs-rails", ">= 2.15.1", "< 3.0.0"
22
24
  end