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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb0e26c660d7becf3d02f846f9536b09f18ecc7a
4
- data.tar.gz: 966ff3a55a40c05db8daf56fe771fcd2195bc377
3
+ metadata.gz: 4b5297062d7cff489f0cfc65cd648acc5829e808
4
+ data.tar.gz: 34634beca2dee5764f4cf792fedb0028b9ca1ea1
5
5
  SHA512:
6
- metadata.gz: 8aebfb0fd78c77c78dd7fc936e31abfea1b1b2095a840a074938e14b1bcbfdd73bc5f40b48db0332fa2adcc7ddcbdf4999f6b8407ba4f99e5c4ef60d387ab41e
7
- data.tar.gz: 36c98b2ea3dfc11370057eef768f35dbe961fa5d9b80819495873cb4899ef8c9a01786be63d20092cb6c5a20df892d9c6abe59839ea72f1bf6bc87c4b066bc36
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. This works best with cached formatted user content generated by tools like [html-pipeline](https://github.com/jch/html-pipeline).
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
@@ -1,5 +1,5 @@
1
1
  module Emojione
2
2
  module Rails
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
@@ -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
- `mkdir -p #{target} && cp -Rp #{Emojione.images_path}/emojione #{target}`
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
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-03-11 00:00:00.000000000 Z
11
+ date: 2015-06-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Sprocket/Rails emojione package
14
14
  email: