somemoji 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9579bce4804e42f336f9a666e2a1808cc3ddea78
4
- data.tar.gz: 8f3d6fe0cda5564bda0b0c71545ec56addadf700
3
+ metadata.gz: 618fbd8c97d5934b629d8e754a4a1f6e404d9fef
4
+ data.tar.gz: e3b264e3897c2af8fb97accd0de0d62fda86b59c
5
5
  SHA512:
6
- metadata.gz: 024c1ada58e30358a51dbc70d63da21e7d1f99afc8103b76db67596420eccc1304a5409b423126bf464ff90cf49f94273e709e5897782ffe480e272cfb48e3ef
7
- data.tar.gz: a8509eae9da5c47bb6572671486b136f496c2e11bfbbcb69ced9a09f07f27bc8ae4414a75f24c29b109ae3e18394abf1a3e6d1e3de5e4e5b9d957812b6aeb217
6
+ metadata.gz: 9c60da14c781e5feba4e30f36865d74986626f2587bbac11a31dfcc53d99c965d9319fea88758a335ac7b23ceb17367f41a20694ff1c886641a7a53473bd292e
7
+ data.tar.gz: 327ab13c73fae175e2cc9d00ae41a48798a73a482af3437f1ee6c4fd7d66f676529b38e5d9a2c206487e98e9b38c732c8d61c61e2ae3637fa0091df937590045
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v0.4.3
2
+
3
+ - Support `Somemoji::Emoji#to_hash`
4
+
1
5
  ## v0.4.2
2
6
 
3
7
  - Support slop both v3 and v4
@@ -108,5 +108,19 @@ module Somemoji
108
108
  end.pack("U*")
109
109
  end
110
110
  end
111
+
112
+ # @return [Hash{Symbol => Object}]
113
+ def to_hash
114
+ {
115
+ aliases: aliases,
116
+ ascii_arts: ascii_arts,
117
+ category: category,
118
+ code:code,
119
+ code_points: code_points,
120
+ code_points_alternates: code_points_alternates,
121
+ keywords: keywords,
122
+ name: name,
123
+ }
124
+ end
111
125
  end
112
126
  end
@@ -1,3 +1,3 @@
1
1
  module Somemoji
2
- VERSION = "0.4.2"
2
+ VERSION = "0.4.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: somemoji
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-11 00:00:00.000000000 Z
11
+ date: 2016-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gemoji