Compare commits

..

52 Commits

Author SHA1 Message Date
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
1726 changed files with 100 additions and 1042 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 +0,0 @@
$:.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')
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.2"
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.1.3"
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

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

1
images/emoji/anguished.png Symbolic link
View File

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

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

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

View File

View File

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