Compare commits

...

71 Commits

Author SHA1 Message Date
Julia West
3ede22022f Gemoji 1.2.1 2012-11-16 14:07:08 -05:00
Julia West
8bf88ab86e Merge pull request #17 from github/more-missing-emoji
Adding missing squares, 'sparkle', 'package', and 'back'.
2012-11-16 10:34:42 -08:00
Julia West
1e9e262ddf Adding missing squares, sparkle, package, and back.
- Renaming existing squares for consistency with sized naming convention.
2012-11-16 11:31:26 -05:00
Joshua Peek
c03becb3a0 Gemoji 1.2.0 2012-11-15 00:14:54 -06:00
Joshua Peek
ffcccd85c7 More corrections 2012-11-15 00:10:52 -06:00
Joshua Peek
175fbfb2c3 Fix miss named emoji 2012-11-14 23:50:28 -06:00
Joshua Peek
a9e9415fcc Merge pull request #16 from github/updated-code-points
Updated the 1st-gen emoji code points
2012-11-14 16:08:03 -08:00
Joshua Peek
892ac6274d Copy unicode images too 2012-11-14 17:50:21 -06:00
Joshua Peek
7ffe22d83c Add task to find unnamed images 2012-11-14 17:38:51 -06:00
Julia West
c0c2f10406 Recoding 1st-gen emoji. 2012-11-14 17:53:42 -05:00
Joshua Peek
8cca11fdb1 Gemoji 1.1.3 2012-11-12 12:50:08 -06:00
Joshua Peek
91a5a025ca Add emoji path to assets group
Closes #15
2012-11-12 12:49:29 -06:00
Joshua Peek
01e1710b79 Gemoji 1.1.2 2012-10-25 09:17:17 -05:00
Trevor Turk
2f0ad36b67 lowercase! 2012-10-24 22:40:12 -05:00
Trevor Turk
b84e5754d9 lowercase! 2012-10-24 22:34:13 -05:00
Trevor Turk
c6af1af8f6 Merge pull request #14 from github/missing-emoji
Adding missing emoji
2012-10-24 14:59:22 -07:00
Julia West
8190c65f76 Renaming tongue emojis to be consistent with official names and each other. 2012-10-24 17:07:14 -04:00
Julia West
c921ef1b5b Adding missing emoji.
- Renaming kissing_face to kissing_closed_eyes.
- Adding alias for unlinked Heavy White Check Mark.
2012-10-24 16:53:35 -04:00
Jamie Dihiansan
bfa00106fc Merge pull request #13 from github/add-bee-alias
Add bee -> honeybee alias
2012-10-17 09:47:15 -07:00
Mike Skalnik
9ee88a974d Add bee -> honeybee 2012-10-17 11:12:58 -05:00
Joshua Peek
e11d502d4d Gemoji 1.1.1 2012-10-02 17:06:00 -05:00
Joshua Peek
24cb142c5e Fix rake task path 2012-10-02 17:05:39 -05:00
Joshua Peek
42503f1dfa Gemoji 1.1.0 2012-10-02 16:45:16 -05:00
Joshua Peek
3bf04c21ab Restrict gemspec file 2012-10-02 16:32:04 -05:00
Joshua Peek
dbb7e48c66 Update bundler instructions 2012-10-02 16:30:57 -05:00
Joshua Peek
ed273dee14 Fix config paths 2012-10-02 16:28:39 -05:00
Joshua Peek
b5542d5075 Assets not, config 2012-10-02 16:24:21 -05:00
Joshua Peek
e21a63645c Add images path directly 2012-10-02 16:20:53 -05:00
Joshua Peek
c79a1d69d0 Move images into subdir 2012-10-02 16:20:53 -05:00
Joshua Peek
971bcd6236 Separate railtie file 2012-10-02 16:20:51 -05:00
Trevor Turk
d1d6d35da9 add an example to the readme 2012-10-02 15:47:15 -05:00
Joshua Peek
97f5441ada Gemoji 1.0.0 2012-10-02 15:26:33 -05:00
Trevor Turk
e43f1ac171 try to give attribution where possible 2012-10-02 15:24:13 -05:00
Trevor Turk
fc275cad0a clean up readme 2012-10-02 15:17:17 -05:00
Joshua Peek
38731ced7e Stub gemoji require 2012-10-02 15:15:41 -05:00
Joshua Peek
0e3f686bbd Rename gemspec 2012-10-02 15:15:13 -05:00
Trevor Turk
bd929a9ee0 require emoji in the task 2012-10-01 16:57:41 -05:00
Trevor Turk
436209c12f require environment instead of emoji 2012-10-01 16:51:21 -05:00
Trevor Turk
24d9881f20 move rake task so we can require it in our apps 2012-10-01 16:42:43 -05:00
Trevor Turk
74372af2f8 draft new readme 2012-10-01 11:14:45 -05:00
Jamie Dihiansan
a94b90198a Update LICENSE
Added 37signals credit.
2012-10-01 10:09:40 -05:00
Joshua Peek
25da8c9323 Add copyrights 2012-10-01 10:07:18 -05:00
Joshua Peek
da797b13e3 Emoji 0.4.0 2012-10-01 09:40:40 -05:00
Joshua Peek
9fa5dcd311 Remove gitignore 2012-10-01 09:40:01 -05:00
Joshua Peek
f2f80d4e8a Merge pull request #11 from github/improved-octocat
Know a better Octocat emoji
2012-10-01 07:38:21 -07:00
Matt Burke
315015e90e Recreate symlinks from 97709fea55 with all lowercase file names. 2012-09-30 17:30:01 -04:00
Joshua Peek
d815c7f9b7 💥
Closes #10
2012-09-29 10:18:36 -05:00
Coby Chapple
5919a89968 use a better octocat image 2012-09-29 14:54:32 +10:00
Joshua Peek
3358ffbeb4 Remove some old instructions 2012-09-28 10:05:13 -05:00
Joshua Peek
e46c8207fc Just images/emoji 2012-09-28 10:00:59 -05:00
Joshua Peek
ded4714831 Merge pull request #9 from github/cleanup
Cleanup
2012-09-28 07:58:30 -07:00
Joshua Peek
8c15ced399 Add rake copy task 2012-09-28 09:53:41 -05:00
Joshua Peek
765df113e1 Remove stuff 2012-09-28 09:36:54 -05:00
Shay Frendt
52210cece2 Merge pull request #7 from github/remove-git-from-gemspec
Update gemspec to not rely on `git` executable
2012-08-24 13:07:48 -07:00
Shay Frendt
bcf62ad7cd Update gemspec to not rely on git executable
- This prevents runtime issues when this gem is vendored in an
  application running on systems that don't have git installed
2012-08-24 14:23:58 -04:00
Trevor Turk
db6bc0fb28 todo about the problematic symlinks 2012-08-01 13:01:44 -05:00
Trevor Turk
69e7ea119c Revert "Recreate symlinks from 97709fea55c97c55c467b983b2d98c927fbb5b3f"
This reverts commit 15fd347c8e.
2012-08-01 13:00:15 -05:00
Trevor Turk
1ebc4b1f74 Emoji 0.3.4 2012-08-01 12:01:37 -05:00
Trevor Turk
a2e1d15d13 notes and todos 2012-08-01 11:53:38 -05:00
Trevor Turk
ffaef44107 use replace for sprite and emojify for images 2012-08-01 11:45:06 -05:00
Joshua Peek
10a29606b6 Emoji 0.3.3 2012-08-01 11:43:56 -05:00
Joshua Peek
2f1da81b8c Fix dir again 2012-08-01 11:43:43 -05:00
Joshua Peek
65616aa784 Emoji 0.3.2 2012-08-01 11:39:57 -05:00
Joshua Peek
092e292fd5 Use real images dir for names listing 2012-08-01 11:39:30 -05:00
Joshua Peek
f3e24cdad2 Emoji 0.3.1 2012-08-01 11:16:09 -05:00
Joshua Peek
15fd347c8e Recreate symlinks from 97709fea55 2012-08-01 11:13:59 -05:00
Trevor Turk
97709fea55 try bypassing symlinks for the 3 images giving me problems :( 2012-08-01 10:43:29 -05:00
Trevor Turk
5c4f118291 optimize images using http://imageoptim.com 2012-08-01 10:10:54 -05:00
Trevor Turk
7add9b556c try re-adding those images 2012-07-31 17:30:12 -05:00
Trevor Turk
859732a2a3 remove problematic images for now 2012-07-31 17:18:30 -05:00
Trevor Turk
f54da96e86 try to re-save possibly corrupt images 2012-07-31 17:07:25 -05:00
3065 changed files with 613 additions and 1524 deletions

1
.gitignore vendored
View File

@@ -1 +0,0 @@
Gemfile.lock

View File

@@ -1,2 +0,0 @@
source :rubygems
gemspec

14
LICENSE Normal file
View File

@@ -0,0 +1,14 @@
octocat, squirrel, shipit
Copyright (c) 2012 GitHub Inc. All rights reserved.
bowtie, neckbeard
Copyright (c) 2012 37signals, LLC. All rights reserved.
feelsgood, finnadie, goberserk, godmode, hurtrealbad, rage 1-4, suspect
Copyright (c) 2012 id Software. All rights reserved.
trollface
Copyright (c) 2012 whynne@deviantart. All rights reserved.
All other images
Copyright (c) 2012 Apple Inc. All rights reserved.

View File

@@ -1,35 +1,36 @@
Emoji
=====
gemoji
======
Shared Emoji assets between GitHub, Campfire, and BCX.
Emoji images and names. See the LICENSE for copyright information.
Contributing
------------
### Designers
Installation
============
Drop a 64x64 png into `images/` and commit it.
Add `gemoji` to you Gemfile.
### Others
``` ruby
gem 'gemoji', :require => 'emoji/railtie'
```
Rerun `rake` to rebuild static assets and sprites. (Trying to make this step unnecessary)
Deploying
---------
Example Rails Helper
====================
### GitHub
This would allow emojifying content such as: `it's raining :cats: and :dogs:!`
1. Run `rake emoji` in app root
See the [Emoji cheat sheet](http://www.emoji-cheat-sheet.com) for more examples.
### Campfire
1. Push changes to 37signals/emoji
2. Update emoji version in config/externals.yml
3. Run `cap local externals:setup` in app root
4. Run `rake emoji` in app root
5. Run `Rails.cache.clear` in app console
### BCX
1. Push changes to 37signals/emoji
2. Run `bundle update emoji` in app root
```ruby
module EmojiHelper
def emojify(content)
h(content).to_str.gsub(/:([a-z0-9\+\-_]+):/) do |match|
if Emoji.names.include?($1)
'<img alt="' + $1 + '" height="20" src="' + asset_path("emoji/#{$1}.png") + '" style="vertical-align:middle" width="20" />'
else
match
end
end.html_safe if content.present?
end
end
```

View File

@@ -1,32 +1,7 @@
$:.unshift File.expand_path("../lib", __FILE__)
require 'emoji'
require 'sprockets'
require 'rake/clean'
Assets = Sprockets::Environment.new do |env|
env.append_path Emoji.path
env.append_path File.join(Emoji.path, 'assets')
desc "Checks for missing aliases to unicode sources"
task :unnamed do
unicodes = Dir["./images/emoji/unicode/*.png"].map { |fn| File.basename(fn) }
aliases = Dir["./images/emoji/*.png"].select { |fn| File.symlink?(fn) }.map { |fn| File.basename(fn) }
used_unicodes = aliases.map { |name| File.basename(File.readlink("./images/emoji/#{name}")) }.uniq
puts unicodes - used_unicodes
end
file "lib/emoji.png" do |f|
Assets["emoji.png.erb"].write_to(f.name)
end
file "lib/emoji.js" do |f|
Assets["emoji.js.erb"].write_to(f.name)
end
file "lib/emoji.css" do |f|
Assets["emoji.css.erb"].write_to(f.name)
end
assets = [
"lib/emoji.png",
"lib/emoji.js",
"lib/emoji.css"
]
assets.each { |asset| CLOBBER.include(asset) }
task :default => [:clobber] + assets

View File

@@ -1,14 +0,0 @@
Gem::Specification.new do |s|
s.name = "emoji"
s.version = "0.3.0"
s.summary = "Emoji Assets"
s.description = "Shared Emoji assets between GitHub, Campfire, and BCX."
s.authors = ["GitHub", "37signals"]
s.email = "support@github.com"
s.homepage = "https://github.com/github/emoji"
s.files = `git ls-files`.split("\n")
s.add_development_dependency "sprockets", "~> 2.0"
end

12
gemoji.gemspec Normal file
View File

@@ -0,0 +1,12 @@
Gem::Specification.new do |s|
s.name = "gemoji"
s.version = "1.2.1"
s.summary = "Emoji Assets"
s.description = "Emoji assets"
s.authors = ["GitHub"]
s.email = "support@github.com"
s.homepage = "https://github.com/github/gemoji"
s.files = Dir["README.md", "images/**/*.png", "lib/**/*.rb", "lib/tasks/*.rake"]
end

View File

@@ -1 +0,0 @@
unicode/e00e.png

View File

@@ -1 +0,0 @@
unicode/e421.png

View File

@@ -1 +0,0 @@
unicode/e50a.png

View File

@@ -1 +0,0 @@
unicode/e42c.png

View File

@@ -1 +0,0 @@
unicode/e532.png

View File

@@ -1 +0,0 @@
unicode/e534.png

View File

@@ -1 +0,0 @@
unicode/e01d.png

View File

@@ -1 +0,0 @@
unicode/e10c.png

View File

@@ -1 +0,0 @@
unicode/e431.png

View File

@@ -1 +0,0 @@
unicode/e04e.png

View File

@@ -1 +0,0 @@
unicode/e334.png

View File

@@ -1 +0,0 @@
unicode/e059.png

View File

@@ -1 +0,0 @@
unicode/e345.png

View File

@@ -1 +0,0 @@
unicode/e249.png

View File

@@ -1 +0,0 @@
unicode/e23f.png

View File

@@ -1 +0,0 @@
unicode/e23b.png

View File

@@ -1 +0,0 @@
unicode/e233.png

View File

@@ -1 +0,0 @@
unicode/e23a.png

View File

@@ -1 +0,0 @@
unicode/e235.png

View File

@@ -1 +0,0 @@
unicode/e239.png

View File

@@ -1 +0,0 @@
unicode/e238.png

View File

@@ -1 +0,0 @@
unicode/e234.png

View File

@@ -1 +0,0 @@
unicode/e232.png

View File

@@ -1 +0,0 @@
unicode/e237.png

View File

@@ -1 +0,0 @@
unicode/e236.png

View File

@@ -1 +0,0 @@
unicode/e502.png

View File

@@ -1 +0,0 @@
unicode/e410.png

View File

@@ -1 +0,0 @@
unicode/e154.png

View File

@@ -1 +0,0 @@
unicode/e533.png

View File

@@ -1 +0,0 @@
unicode/e51a.png

View File

@@ -1 +0,0 @@
unicode/e523.png

View File

@@ -1 +0,0 @@
unicode/e13a.png

View File

@@ -1 +0,0 @@
unicode/e310.png

View File

@@ -1 +0,0 @@
unicode/e436.png

View File

@@ -1 +0,0 @@
unicode/e14d.png

View File

@@ -1 +0,0 @@
unicode/e320.png

View File

@@ -1 +0,0 @@
unicode/e016.png

View File

@@ -1 +0,0 @@
unicode/e42a.png

View File

@@ -1 +0,0 @@
unicode/e13f.png

View File

@@ -1 +0,0 @@
unicode/e051.png

View File

@@ -1 +0,0 @@
unicode/e047.png

View File

@@ -1 +0,0 @@
unicode/e30c.png

View File

@@ -1 +0,0 @@
unicode/e209.png

View File

@@ -1 +0,0 @@
unicode/e325.png

View File

@@ -1 +0,0 @@
unicode/e34c.png

View File

@@ -1 +0,0 @@
unicode/e136.png

View File

@@ -1 +0,0 @@
unicode/e322.png

View File

@@ -1 +0,0 @@
unicode/e521.png

View File

@@ -1 +0,0 @@
unicode/e34b.png

View File

@@ -1 +0,0 @@
unicode/e21a.png

View File

@@ -1 +0,0 @@
unicode/e42e.png

View File

@@ -1 +0,0 @@
unicode/e32a.png

View File

@@ -1 +0,0 @@
unicode/e056.png

View File

@@ -1 +0,0 @@
unicode/e52f.png

View File

@@ -1 +0,0 @@
unicode/e01c.png

View File

@@ -1 +0,0 @@
unicode/e311.png

View File

@@ -1 +0,0 @@
unicode/e148.png

View File

@@ -1 +0,0 @@
unicode/e31b.png

View File

@@ -1 +0,0 @@
unicode/e306.png

View File

@@ -1 +0,0 @@
unicode/e426.png

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

View File

@@ -1 +0,0 @@
unicode/e001.png

View File

@@ -1 +0,0 @@
unicode/e339.png

View File

@@ -1 +0,0 @@
unicode/e11e.png

View File

@@ -1 +0,0 @@
unicode/e023.png

View File

@@ -1 +0,0 @@
unicode/e525.png

View File

@@ -1 +0,0 @@
unicode/e10f.png

View File

@@ -1 +0,0 @@
unicode/e01f.png

View File

@@ -1 +0,0 @@
unicode/e435.png

View File

@@ -1 +0,0 @@
unicode/e159.png

View File

@@ -1 +0,0 @@
unicode/e150.png

View File

@@ -1 +0,0 @@
unicode/e308.png

View File

@@ -1 +0,0 @@
unicode/e046.png

View File

@@ -1 +0,0 @@
unicode/e104.png

View File

@@ -1 +0,0 @@
unicode/e530.png

View File

@@ -1 +0,0 @@
unicode/e008.png

View File

@@ -1 +0,0 @@
unicode/e242.png

View File

@@ -1 +0,0 @@
unicode/e248.png

View File

@@ -1 +0,0 @@
unicode/e01b.png

View File

@@ -1 +0,0 @@
unicode/e04f.png

View File

@@ -1 +0,0 @@
unicode/e126.png

View File

@@ -1 +0,0 @@
unicode/e14a.png

View File

@@ -1 +0,0 @@
unicode/e132.png

View File

@@ -1 +0,0 @@
unicode/e030.png

View File

@@ -1 +0,0 @@
unicode/e52e.png

View File

@@ -1 +0,0 @@
unicode/e033.png

View File

@@ -1 +0,0 @@
unicode/e037.png

View File

@@ -1 +0,0 @@
unicode/e507.png

View File

@@ -1 +0,0 @@
unicode/e44a.png

View File

@@ -1 +0,0 @@
unicode/e146.png

View File

@@ -1 +0,0 @@
unicode/e41f.png

View File

@@ -1 +0,0 @@
unicode/e324.png

View File

@@ -1 +0,0 @@
unicode/e024.png

Some files were not shown because too many files have changed in this diff Show More