usertime-rails 0.1.2 → 0.1.3

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
2
  SHA1:
3
- metadata.gz: c2aab5a758c2b205663ab60bab12d6c469e325d6
4
- data.tar.gz: 01b678c5a0db7bd14c3ed7a48647b4e36458e8d2
3
+ metadata.gz: 05b917884fd76ac62f4996e180d56df116417713
4
+ data.tar.gz: f5dffc8a880fec98e9f0ad379707795a518d27ce
5
5
  SHA512:
6
- metadata.gz: 3c9209b9abdc81faf362f479f10ee31317a253274b607a4e89e883e26fa664ebd42a26fa88aedc1683787fc6b7bfe01c4726ee4e4cccae759cfae4dee830a28c
7
- data.tar.gz: feb2641a568d4320d73b96a39cce6a06bcccb0c4c0469c91f04d022794b308655b78eef32a6e8b12ec7bedeff838f87e80735c839b69da355877a4f721996097
6
+ metadata.gz: 16d642d96b2fa119d2951fcb834a85e9dfa4a8af0278e51932446cfcdb438866b73ded966459e53cabaa146505f404786bc173b0f1f8a9d6082a41623a85cdc1
7
+ data.tar.gz: e7a3a692d4ac2f671c6342776164663fbdf476b731d302eb3b47937cb0410f30268be17700357eec4e7ee09c43fddd6de869f3029841d4a8310c5ab2c416bfb4
@@ -1,3 +1,7 @@
1
+ # v0.1.3 / 2016-08-25
2
+
3
+ Upgraded usertime.js to v0.1.3
4
+
1
5
  # v0.1.2 / 2016-08-23
2
6
 
3
7
  Upgraded usertime.js to v0.1.2
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2015 Chen Yi-Cyuan
3
+ Copyright (c) 2015-2016 Chen, Yi-Cyuan
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * [usertime.js]{@link https://github.com/emn178/usertime.js}
3
3
  *
4
- * @version 0.1.2
4
+ * @version 0.1.3
5
5
  * @author Chen, Yi-Cyuan [emn178@gmail.com]
6
6
  * @copyright Chen, Yi-Cyuan 2015-2016
7
7
  * @license MIT
@@ -15,7 +15,7 @@
15
15
 
16
16
  window.UserTime = {
17
17
  DefaultFormat: 'YYYY-MM-DD HH:mm:ss',
18
- convert: convert
18
+ convert: convertAll
19
19
  };
20
20
 
21
21
  function convert() {
@@ -48,9 +48,7 @@
48
48
  return;
49
49
  }
50
50
  Array.from(record.addedNodes).forEach(function (node) {
51
- if (node.tagName == 'USERTIME') {
52
- convert.call(node);
53
- }
51
+ $(TAG, node).each(convert);
54
52
  });
55
53
  });
56
54
  });
@@ -1,3 +1,3 @@
1
1
  module UsertimeRails
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usertime-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chen Yi-Cyuan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-23 00:00:00.000000000 Z
11
+ date: 2016-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler