emojione-rails 0.0.4 → 0.0.5
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/README.md +1 -1
- data/lib/emojione/rails/version.rb +1 -1
- data/lib/tasks/emojione.rake +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b5297062d7cff489f0cfc65cd648acc5829e808
|
4
|
+
data.tar.gz: 34634beca2dee5764f4cf792fedb0028b9ca1ea1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebf5e2198aa5f80ce85eaa7ce6ce6fb225541a445a08602d46ca337e3a1294eaf18c5f559a92a35700cd8bbae4b51bb2aeda59f054d924a352fc941424766507
|
7
|
+
data.tar.gz: 9c8506871852f7094b9517224fa513c6b6aaaa32b026f5f756bbbfa1641e6732f4e0b5d40986b52f428f689031dcf74332a5db45dfb94a8c54f307b5921ea828
|
data/README.md
CHANGED
@@ -20,7 +20,7 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
## Sync images
|
22
22
|
|
23
|
-
Images can be copied to your public directory with `rake emojione` in your app. This is the recommended approach since the images will be available at a consistent location
|
23
|
+
Images can be copied to your public directory with `rake emojione` in your app. This is the recommended approach since the images will be available at a consistent location and not slow down your asset pipeline.
|
24
24
|
|
25
25
|
```
|
26
26
|
$ rake emojione
|
data/lib/tasks/emojione.rake
CHANGED
@@ -1,7 +1,10 @@
|
|
1
|
+
require 'fileutils'
|
2
|
+
|
1
3
|
desc "Copy emojione to the Rails `public/images/emojione` directory"
|
2
4
|
task :emojione do
|
3
5
|
require 'emojione-rails'
|
4
6
|
|
5
7
|
target = "#{Rake.original_dir}/public/images"
|
6
|
-
|
8
|
+
FileUtils.mkdir_p(target)
|
9
|
+
FileUtils.cp_r File.join(Emojione.images_path,'emojione'), target, :preserve => true
|
7
10
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emojione-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Renaud (Nel) Morvan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Sprocket/Rails emojione package
|
14
14
|
email:
|