terminal 0.4 → 1.0.0
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 +4 -4
- data/.DS_Store +0 -0
- data/images/.DS_Store +0 -0
- data/lib/terminal/renderer.rb +1 -2
- data/lib/terminal/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6a1fd9f219146ed4463a928b67224582819d8757
|
|
4
|
+
data.tar.gz: 53c7767794c1bb69439d5e6e441bc70cb97e0b86
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9d1e0f48a43edfed6e63d95740fc51de8ad5ee17415f630dc43c1a39d1cbc5052927976614109633d0f3eaad57d736f52fa1c630bbda4db2ac951a9254cf4e59
|
|
7
|
+
data.tar.gz: debe42f4483592f784a20c739f95407852ed690c5924d58d587b9c7de3fca3592597b23c954a9145a7fcb6a802178eb6ee5f5ab6d8e3791b2f24026aaeec2fca
|
data/.DS_Store
ADDED
|
Binary file
|
data/images/.DS_Store
ADDED
|
Binary file
|
data/lib/terminal/renderer.rb
CHANGED
|
@@ -168,10 +168,9 @@ module Terminal
|
|
|
168
168
|
emoji = Emoji.find_by_unicode(unicode)
|
|
169
169
|
|
|
170
170
|
if emoji && !EMOJI_IGNORE.include?(emoji.name)
|
|
171
|
-
name = ":#{emoji.name}:"
|
|
172
171
|
path = File.join(@options[:emoji_asset_path], emoji.image_filename)
|
|
173
172
|
|
|
174
|
-
%(<img alt="#{name}" title="#{name}" src="#{path}" class="emoji" width="20" height="20" />)
|
|
173
|
+
%(<img alt="#{emoji.name}" title="#{emoji.name}" src="#{path}" class="emoji" width="20" height="20" />)
|
|
175
174
|
else
|
|
176
175
|
unicode
|
|
177
176
|
end
|
data/lib/terminal/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: terminal
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Keith Pitt
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-02-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: escape_utils
|
|
@@ -116,6 +116,7 @@ executables:
|
|
|
116
116
|
extensions: []
|
|
117
117
|
extra_rdoc_files: []
|
|
118
118
|
files:
|
|
119
|
+
- ".DS_Store"
|
|
119
120
|
- ".gitignore"
|
|
120
121
|
- ".rspec"
|
|
121
122
|
- Gemfile
|
|
@@ -130,6 +131,7 @@ files:
|
|
|
130
131
|
- examples/homer.sh
|
|
131
132
|
- examples/pikachu.ansi
|
|
132
133
|
- examples/pikachu.sh
|
|
134
|
+
- images/.DS_Store
|
|
133
135
|
- lib/terminal.rb
|
|
134
136
|
- lib/terminal/cache.rb
|
|
135
137
|
- lib/terminal/cli.rb
|
|
@@ -175,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
175
177
|
version: '0'
|
|
176
178
|
requirements: []
|
|
177
179
|
rubyforge_project:
|
|
178
|
-
rubygems_version: 2.
|
|
180
|
+
rubygems_version: 2.4.5
|
|
179
181
|
signing_key:
|
|
180
182
|
specification_version: 4
|
|
181
183
|
summary: Converts ANSI to HTML
|