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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d4dc867d4198397aa0eeb5fa5f97922e9883b18e
4
- data.tar.gz: 48f878d8fb5145195c414e0c76003acb67c9c1cc
3
+ metadata.gz: 06f50f6f055ce328d71bf7eab706157e5f9efbc6
4
+ data.tar.gz: f5132e6faf7da809f7abca27cd731e51123bdd32
5
5
  SHA512:
6
- metadata.gz: 418f51f1c33ee8f07f6c35c85aa5687c3cf8fb24ce27a4fecdb248ac9d82b873f8d016b277da1b23108c0e4ecec0dbb74668d6947cd8774b31ced40210eef49b
7
- data.tar.gz: 8ded88a7835c4cd05421f20924ce479b6c5705cc77fb7ed0781ff2bd7244b3a745365d795aa332cf5ffe669898945fed77a86d3e693e2b54a0ca9489ce6a43fc
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 "nil"
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"
@@ -14,5 +14,5 @@ Feature: Emoji convert under `middleman server`
14
14
  When I go to "/no-emoji.html"
15
15
  Then I should see:
16
16
  """
17
- nil
17
+ hoge
18
18
  """
@@ -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>nil</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>nil</p>'
30
+ Then I should see '<p>hoge</p>'
@@ -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>nil</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>nil</p>'
31
+ Then I should see '<p>hoge</p>'
@@ -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>nil</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>nil</p>'
24
+ Then I should see '<p>hoge</p>'
@@ -0,0 +1 @@
1
+ hoge
@@ -1 +1 @@
1
- %p nil
1
+ %p hoge
@@ -1 +1 @@
1
- nil
1
+ hoge
@@ -1 +1 @@
1
- p nil
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
 
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module Gemoji
3
- VERSION = '0.0.6'
3
+ VERSION = '0.0.7'
4
4
  end
5
5
  end
@@ -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", ">= 0.6"
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.6
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: 2015-12-11 00:00:00.000000000 Z
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: '0.6'
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: '0.6'
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