negarmoji 0.1.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +64 -0
- data/.gitignore +144 -5
- data/.gitlab-ci.yml +124 -0
- data/.gitlab/issue_templates/Default.md +20 -0
- data/.gitlab/merge_request_templates/Default.md +25 -0
- data/.rubocop.yml +47 -0
- data/.rubocop_todo.yml +7 -0
- data/CHANGELOG.md +6 -0
- data/CODE_OF_CONDUCT.md +78 -0
- data/CONTRIBUTING.md +190 -21
- data/CREDITS +11 -0
- data/Gemfile +5 -3
- data/README.md +81 -0
- data/ROADMAP.md +28 -0
- data/Rakefile +7 -5
- data/SUPPORT.md +6 -0
- data/db/dump.rb +35 -37
- data/db/emoji-test-parser.rb +28 -33
- data/db/negarmoji.json +20788 -18818
- data/lib/negarmoji/character.rb +12 -6
- data/lib/negarmoji/emoji.rb +71 -146
- data/lib/negarmoji/version.rb +1 -1
- data/logo.svg +200 -0
- data/negarmoji.gemspec +11 -4
- data/script/ci_rubygems.sh +13 -0
- data/script/dev_release.py +91 -0
- data/script/dev_revert_tag.py +39 -0
- data/script/test.sh +12 -0
- data/script/test_module.sh +10 -0
- data/script/test_style.sh +18 -0
- data/test/documentation_test.rb +17 -10
- data/test/emoji_test.rb +44 -54
- data/test/test_helper.rb +12 -2
- data/vendor/{unicode-negarmoji-test.txt → unicode-emoji-test.txt} +4028 -3842
- metadata +109 -11
- data/.travis.yml +0 -12
- data/script/console +0 -16
- data/script/release +0 -31
- data/script/test +0 -14
metadata
CHANGED
@@ -1,28 +1,122 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: negarmoji
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mohammad Mahdi Baghbani Pourvahid
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
12
|
-
dependencies:
|
13
|
-
|
11
|
+
date: 2019-12-12 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: minitest
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '5.13'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '5.13'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '13.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '13.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rubocop
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.77'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.77'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: simplecov
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.17.0
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.17.0
|
97
|
+
description: Character information and metadata for Unicode emoji.
|
14
98
|
email: MahdiBaghbani@protonmail.com
|
15
99
|
executables: []
|
16
100
|
extensions: []
|
17
101
|
extra_rdoc_files: []
|
18
102
|
files:
|
103
|
+
- ".codeclimate.yml"
|
19
104
|
- ".gitignore"
|
20
|
-
- ".
|
105
|
+
- ".gitlab-ci.yml"
|
106
|
+
- ".gitlab/issue_templates/Default.md"
|
107
|
+
- ".gitlab/merge_request_templates/Default.md"
|
108
|
+
- ".rubocop.yml"
|
109
|
+
- ".rubocop_todo.yml"
|
110
|
+
- CHANGELOG.md
|
111
|
+
- CODE_OF_CONDUCT.md
|
21
112
|
- CONTRIBUTING.md
|
113
|
+
- CREDITS
|
22
114
|
- Gemfile
|
23
115
|
- LICENSE
|
24
116
|
- README.md
|
117
|
+
- ROADMAP.md
|
25
118
|
- Rakefile
|
119
|
+
- SUPPORT.md
|
26
120
|
- db/dump.rb
|
27
121
|
- db/emoji-test-parser.rb
|
28
122
|
- db/index.html
|
@@ -31,15 +125,19 @@ files:
|
|
31
125
|
- lib/negarmoji/character.rb
|
32
126
|
- lib/negarmoji/emoji.rb
|
33
127
|
- lib/negarmoji/version.rb
|
128
|
+
- logo.svg
|
34
129
|
- negarmoji.gemspec
|
35
130
|
- script/bootstrap
|
36
|
-
- script/
|
37
|
-
- script/
|
38
|
-
- script/
|
131
|
+
- script/ci_rubygems.sh
|
132
|
+
- script/dev_release.py
|
133
|
+
- script/dev_revert_tag.py
|
134
|
+
- script/test.sh
|
135
|
+
- script/test_module.sh
|
136
|
+
- script/test_style.sh
|
39
137
|
- test/documentation_test.rb
|
40
138
|
- test/emoji_test.rb
|
41
139
|
- test/test_helper.rb
|
42
|
-
- vendor/unicode-
|
140
|
+
- vendor/unicode-emoji-test.txt
|
43
141
|
homepage: https://gitlab.com/Azadeh-Afzar/Web-Development/Negareh-Emoji-Library
|
44
142
|
licenses:
|
45
143
|
- GPL-3.0
|
@@ -59,10 +157,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
59
157
|
- !ruby/object:Gem::Version
|
60
158
|
version: '0'
|
61
159
|
requirements: []
|
62
|
-
rubygems_version: 3.0.
|
160
|
+
rubygems_version: 3.0.3
|
63
161
|
signing_key:
|
64
162
|
specification_version: 4
|
65
|
-
summary: Unicode emoji library
|
163
|
+
summary: Unicode emoji library.
|
66
164
|
test_files:
|
67
165
|
- test/documentation_test.rb
|
68
166
|
- test/emoji_test.rb
|
data/.travis.yml
DELETED
data/script/console
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
set -e
|
3
|
-
|
4
|
-
public_methods() {
|
5
|
-
sed '/^ *private/,$d' "$1" | grep -w def | sed -E 's/^ *def / /; s/).+/)/'
|
6
|
-
}
|
7
|
-
|
8
|
-
echo "Emoji methods:"
|
9
|
-
public_methods lib/negarmoji.rb
|
10
|
-
echo
|
11
|
-
echo "Emoji::Character methods:"
|
12
|
-
public_methods lib/negarmoji/character.rb
|
13
|
-
echo
|
14
|
-
|
15
|
-
exec irb -I lib -r negarmoji
|
16
|
-
zz
|
data/script/release
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
# Usage: script/release
|
3
|
-
#
|
4
|
-
# 1. Checks if tests pass,
|
5
|
-
# 2. commits gemspec,
|
6
|
-
# 3. tags the release with the version in the gemspec,
|
7
|
-
# 4. pushes "negarmoji" gem to RubyGems.org.
|
8
|
-
|
9
|
-
set -e
|
10
|
-
|
11
|
-
case "$1" in
|
12
|
-
-h | --help )
|
13
|
-
sed -ne '/^#/!q;s/.\{1,2\}//;1d;p' < "$0"
|
14
|
-
exit 0
|
15
|
-
;;
|
16
|
-
esac
|
17
|
-
|
18
|
-
if git diff --quiet negarmoji.gemspec; then
|
19
|
-
echo "You must bump the version in the gemspec first." >&2
|
20
|
-
exit 1
|
21
|
-
fi
|
22
|
-
|
23
|
-
script/test
|
24
|
-
|
25
|
-
trap 'rm *.gem' EXIT
|
26
|
-
|
27
|
-
version="$(gem build negarmoji.gemspec | awk '/Version:/ { print $2 }')"
|
28
|
-
git commit negarmoji.gemspec -m "negarmoji $version"
|
29
|
-
git tag "v${version}"
|
30
|
-
git push origin HEAD "v${version}"
|
31
|
-
|
data/script/test
DELETED