terminal 0.4 → 1.0.0

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: 5b9d146db6ddf99debcf30b8c90b7374ad22ba69
4
- data.tar.gz: 1a99c056dd3342b9af2f3bd773b9eb175593980a
3
+ metadata.gz: 6a1fd9f219146ed4463a928b67224582819d8757
4
+ data.tar.gz: 53c7767794c1bb69439d5e6e441bc70cb97e0b86
5
5
  SHA512:
6
- metadata.gz: 000d39ecd8c3874e5981dbd0316fca235313155dcd2bc6afc39043bc45f383f34d5fa2cc9b8bddf0aa28ef843da913cc0984610b5c728d457a05fafb88b9dacd
7
- data.tar.gz: d46da70bd4e22cdbcca0f9f352f78d10680e48579270424dc6a1b08ca04bfdad2368fc71b55757885bda3acb4a219258c37afad1b5f55e54625991a27e08a287
6
+ metadata.gz: 9d1e0f48a43edfed6e63d95740fc51de8ad5ee17415f630dc43c1a39d1cbc5052927976614109633d0f3eaad57d736f52fa1c630bbda4db2ac951a9254cf4e59
7
+ data.tar.gz: debe42f4483592f784a20c739f95407852ed690c5924d58d587b9c7de3fca3592597b23c954a9145a7fcb6a802178eb6ee5f5ab6d8e3791b2f24026aaeec2fca
Binary file
Binary file
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Terminal
2
- VERSION = "0.4"
2
+ VERSION = "1.0.0"
3
3
  end
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: '0.4'
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: 2014-10-21 00:00:00.000000000 Z
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.2.2
180
+ rubygems_version: 2.4.5
179
181
  signing_key:
180
182
  specification_version: 4
181
183
  summary: Converts ANSI to HTML