middleman-gemoji 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/features/emoji_build.feature +1 -1
- data/features/emoji_server.feature +1 -1
- data/features/haml.feature +2 -2
- data/features/markdown.feature +2 -2
- data/features/slim.feature +2 -2
- data/fixtures/gemoji-app/source/no-emoji.html.erb +1 -0
- data/fixtures/haml-app/source/no-emoji.html.haml +1 -1
- data/fixtures/markdown-app/source/no-emoji.html.md +1 -1
- data/fixtures/slim-app/source/no-emoji.html.slim +1 -1
- data/lib/middleman-gemoji/extension.rb +1 -1
- data/lib/middleman-gemoji/version.rb +1 -1
- data/middleman-gemoji.gemspec +1 -1
- metadata +7 -7
- data/fixtures/gemoji-app/source/no-emoji.erb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06f50f6f055ce328d71bf7eab706157e5f9efbc6
|
4
|
+
data.tar.gz: f5132e6faf7da809f7abca27cd731e51123bdd32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f24c540b99bfa279fdbd0d5c0e7fa720b2769b5511a548aafcf2d262436a0fd789bb44012dd588a5158328565ea4f10fee205e5bb5e63419650c298733dfd17
|
7
|
+
data.tar.gz: 633244ec0e09f0ae3de98fa67a2517e465215c19566699b2f30e5fa60b8d850911438693f070f288c0301cd1d900ac186d8cec5670d41a32f8b3f4a18fe1848d
|
@@ -21,7 +21,7 @@ Feature: Emoji convert when build
|
|
21
21
|
Given a fixture app "gemoji-app"
|
22
22
|
When I run `middleman build`
|
23
23
|
Then the exit status should be 0
|
24
|
-
And the file "build/no-emoji.html" should contain "
|
24
|
+
And the file "build/no-emoji.html" should contain "hoge"
|
25
25
|
|
26
26
|
Scenario: Convert ":+1+" to emoji with :size option
|
27
27
|
Given a fixture app "gemoji-app"
|
data/features/haml.feature
CHANGED
@@ -16,7 +16,7 @@ Feature: Emoji convert in Markdown
|
|
16
16
|
Then the exit status should be 0
|
17
17
|
And the file "build/no-emoji.html" should contain:
|
18
18
|
"""
|
19
|
-
<p>
|
19
|
+
<p>hoge</p>
|
20
20
|
"""
|
21
21
|
|
22
22
|
Scenario: Convert ":+1+" to emoji under `middleman server`
|
@@ -27,4 +27,4 @@ Feature: Emoji convert in Markdown
|
|
27
27
|
Scenario: Convert content that doesn't have :emoji: under `middleman server`
|
28
28
|
Given the Server is running at "haml-app"
|
29
29
|
When I go to "/no-emoji.html"
|
30
|
-
Then I should see '<p>
|
30
|
+
Then I should see '<p>hoge</p>'
|
data/features/markdown.feature
CHANGED
@@ -17,7 +17,7 @@ Feature: Emoji convert in Markdown
|
|
17
17
|
Then the exit status should be 0
|
18
18
|
And the file "build/no-emoji.html" should contain:
|
19
19
|
"""
|
20
|
-
<p>
|
20
|
+
<p>hoge</p>
|
21
21
|
"""
|
22
22
|
|
23
23
|
Scenario: Convert ":+1+" to emoji under `middleman server`
|
@@ -28,4 +28,4 @@ Feature: Emoji convert in Markdown
|
|
28
28
|
Scenario: Convert content that doesn't have :emoji: under `middleman server`
|
29
29
|
Given the Server is running at "markdown-app"
|
30
30
|
When I go to "/no-emoji.html"
|
31
|
-
Then I should see '<p>
|
31
|
+
Then I should see '<p>hoge</p>'
|
data/features/slim.feature
CHANGED
@@ -11,7 +11,7 @@ Feature: Emoji convert in Markdown
|
|
11
11
|
Given a fixture app "slim-app"
|
12
12
|
When I run `middleman build`
|
13
13
|
Then the exit status should be 0
|
14
|
-
And the file "build/no-emoji.html" should contain '<p>
|
14
|
+
And the file "build/no-emoji.html" should contain '<p>hoge</p>'
|
15
15
|
|
16
16
|
Scenario: Convert ":+1+" to emoji under `middleman server`
|
17
17
|
Given the Server is running at "slim-app"
|
@@ -21,4 +21,4 @@ Feature: Emoji convert in Markdown
|
|
21
21
|
Scenario: Convert content that doesn't have :emoji: under `middleman server`
|
22
22
|
Given the Server is running at "slim-app"
|
23
23
|
When I go to "/no-emoji.html"
|
24
|
-
Then I should see '<p>
|
24
|
+
Then I should see '<p>hoge</p>'
|
@@ -0,0 +1 @@
|
|
1
|
+
hoge
|
@@ -1 +1 @@
|
|
1
|
-
%p
|
1
|
+
%p hoge
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
hoge
|
@@ -1 +1 @@
|
|
1
|
-
p
|
1
|
+
p hoge
|
@@ -11,7 +11,7 @@ module Middleman
|
|
11
11
|
def initialize(app, options_hash = {}, &block)
|
12
12
|
super
|
13
13
|
@emoji_exist = Dir.exist?(
|
14
|
-
File.join(app.config.source, options[:emoji_dir], 'unicode')
|
14
|
+
File.join(app.root, app.config.source, options[:emoji_dir], 'unicode')
|
15
15
|
)
|
16
16
|
extension = self
|
17
17
|
|
data/middleman-gemoji.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.add_runtime_dependency "gemoji", ">= 2.1"
|
25
25
|
|
26
26
|
spec.add_development_dependency "cucumber", ">= 1.3"
|
27
|
-
spec.add_development_dependency "aruba", "
|
27
|
+
spec.add_development_dependency "aruba", "~> 0.7.4"
|
28
28
|
spec.add_development_dependency "bundler", ">= 1.5"
|
29
29
|
spec.add_development_dependency "rake", ">= 10"
|
30
30
|
spec.add_development_dependency "slim", ">= 3.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-gemoji
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yuya Terajima
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: middleman
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: aruba
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 0.7.4
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 0.7.4
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,7 +135,7 @@ files:
|
|
135
135
|
- fixtures/gemoji-app/source/images/emoji/unicode/.gitkeep
|
136
136
|
- fixtures/gemoji-app/source/img/emoji/unicode/.gitkeep
|
137
137
|
- fixtures/gemoji-app/source/index.html.erb
|
138
|
-
- fixtures/gemoji-app/source/no-emoji.erb
|
138
|
+
- fixtures/gemoji-app/source/no-emoji.html.erb
|
139
139
|
- fixtures/gemoji-empty-app/config.rb
|
140
140
|
- fixtures/gemoji-empty-app/source/images/.gitkeep
|
141
141
|
- fixtures/gemoji-empty-app/source/img/.gitkeep
|
@@ -1 +0,0 @@
|
|
1
|
-
nil
|