gemoji 1.3.1 → 1.4.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.
data/README.md CHANGED
@@ -15,7 +15,7 @@ gem 'gemoji'
15
15
 
16
16
  **Sync images**
17
17
 
18
- Images can be copied to your public directory with `rake emoji` in your Rails app. This is the recommended approach since the images will be available at a consistent location. This works best with cached formatted user content generated by tools like [html-pipeline](https://github.com/jch/html-pipeline).
18
+ Images can be copied to your public directory with `rake emoji` in your app. This is the recommended approach since the images will be available at a consistent location. This works best with cached formatted user content generated by tools like [html-pipeline](https://github.com/jch/html-pipeline).
19
19
 
20
20
  ``` ruby
21
21
  # Rakefile
data/images/emoji/fu.png CHANGED
Binary file
data/lib/tasks/emoji.rake CHANGED
@@ -1,8 +1,8 @@
1
1
  desc "Copy emoji to the Rails `public/images/emoji` directory"
2
- task :emoji => :environment do
2
+ task :emoji do
3
3
  require 'emoji'
4
4
 
5
- target = "#{Rails.root}/public/images/emoji"
5
+ target = "#{Rake.original_dir}/public/images/emoji"
6
6
 
7
7
  mkdir_p "#{target}"
8
8
  Dir["#{Emoji.images_path}/emoji/*.png"].each do |src|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemoji
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.4.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-08 00:00:00.000000000 Z
12
+ date: 2013-01-15 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Emoji assets
15
15
  email: support@github.com