gyoku 1.2.0 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/gyoku/version.rb +1 -3
- data/lib/gyoku/xml_key.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e3d735bc992848923596d14a5a8538857a2d60f
|
4
|
+
data.tar.gz: 57e7d9bae3d6782dc24a4bbb60e5b8d7f73dc089
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a76520a35722177de93142da9b2f8ab286cfa872ceff5973dd840c3ba4e88763b2aed87c5e752f9b9b88f09a6ef5c57bf8eda75727d0153518e775ff29121643
|
7
|
+
data.tar.gz: 34ca8dc2c753034119387014ccdd2ce4e7fccf50818154c3e43b6da656bc697c6b1c9f1f6c68f2336e0bb2d2e6966419ba081df0bf1b22813d5c66cb07d6d576
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
## 1.2.2 (2014-09-22)
|
2
|
+
|
3
|
+
* Fixed a bug introduced by making Gyoku threadsafe. Who knew that `$1` and the block variable that `#gsub` provides are not the same?
|
4
|
+
|
5
|
+
## 1.2.1 (2014-09-22)
|
6
|
+
|
7
|
+
* Fix : [#46](https://github.com/savonrb/gyoku/pull/46) Fixed an issue where Gyoku was not threadsafe. Gyoku should now be relatively more threadsafe due to less usage of global variables.
|
8
|
+
|
1
9
|
## 1.2.0 (2014-09-18)
|
2
10
|
|
3
11
|
* Feature: [#44](https://github.com/savonrb/gyoku/pull/44) support for sorting via :order! with a string key
|
data/lib/gyoku/version.rb
CHANGED
data/lib/gyoku/xml_key.rb
CHANGED
@@ -2,7 +2,7 @@ module Gyoku
|
|
2
2
|
module XMLKey
|
3
3
|
class << self
|
4
4
|
|
5
|
-
CAMELCASE = lambda { |key| key.gsub(/\/(.?)/) { "::#{
|
5
|
+
CAMELCASE = lambda { |key| key.gsub(/\/(.?)/) { |m| "::#{m.split('').last.upcase}" }.gsub(/(?:^|_)(.)/) { |m| m.split('').last.upcase } }
|
6
6
|
LOWER_CAMELCASE = lambda { |key| key[0].chr.downcase + CAMELCASE.call(key)[1..-1] }
|
7
7
|
UPCASE = lambda { |key| key.upcase }
|
8
8
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gyoku
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Harrington
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: builder
|