gitlab_emoji 0.2.0 → 0.2.1

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: 133e68ac4581b902f8739a7e988215dc138fdf4e
4
- data.tar.gz: 71e834dfc2f54b770da70024a84678fa5fe10db2
3
+ metadata.gz: 153d51a6a920c0972de913255de9dd7528bf6e4d
4
+ data.tar.gz: 9c351d879ceb44693c19fedb64e8f170f601437a
5
5
  SHA512:
6
- metadata.gz: 4016557cc7e5bf43fc33b322397d5990367a34854f402f4c58b903cdba308cf344e2e12aa277d07d368599086083cf71f24c731c74f827cb3f860f821305a0c6
7
- data.tar.gz: f8699f8ed05d9db6f83f7bb0ca7ffddd602e7c25b97543b59a376306c02ca7561c3feca761e90c9e15b9627f7407dd367ada40f3f9139c30c074aa1717c5e67a
6
+ metadata.gz: 31b0d0fc6683fe742c7b099e29e300b98a26527c418a18e34a7c0fb1c05f6169696d163cadbccca168830a317aeb066d03f309e3f65e5f004224b37050527ce3
7
+ data.tar.gz: 28652db95ce71dd5c1e0e0860a74aa85a8a5847caf6a09607029fb0ff1562916a48c207fc92ed92700adfb1d86960de9f2f34e82e8c6e77ad7a16aeb84ee79e7
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -7,6 +7,10 @@ module Emoji
7
7
  Gemojione.index.instance_variable_get(:@emoji_by_name)
8
8
  end
9
9
 
10
+ def emojis_by_moji
11
+ Gemojione.index.instance_variable_get(:@emoji_by_moji)
12
+ end
13
+
10
14
  def emojis_names
11
15
  emojis.keys.sort
12
16
  end
@@ -6,7 +6,14 @@ describe Emoji do
6
6
  let(:emojis) { Emoji.emojis }
7
7
 
8
8
  it { emojis.should be_a(Hash) }
9
- it { emojis.size.should eq(1267) }
9
+ it { emojis.size.should eq(1619) }
10
+ end
11
+
12
+ describe 'emojis_by_moji' do
13
+ let(:emojis) { Emoji.emojis_by_moji }
14
+
15
+ it { emojis.should be_a(Hash) }
16
+ it { emojis.size.should eq(824) }
10
17
  end
11
18
 
12
19
  describe 'emojis_names' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab_emoji
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marin Jankovski
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-10-29 00:00:00.000000000 Z
12
+ date: 2015-12-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gemojione
@@ -1329,7 +1329,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1329
1329
  version: '0'
1330
1330
  requirements: []
1331
1331
  rubyforge_project:
1332
- rubygems_version: 2.4.8
1332
+ rubygems_version: 2.4.3
1333
1333
  signing_key:
1334
1334
  specification_version: 4
1335
1335
  summary: Ruby gem for emojis in GitLab