evil-front-rails 0.2.0 → 0.3.0

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: 555f99e3d7eeb5ed57e9fbf8c8d20456274a3df2
4
- data.tar.gz: 9bd3c211951f81d030c47a2132c3524d99a80b68
3
+ metadata.gz: 31da7900b2c6e95fa9ef602048933a4a95eb2add
4
+ data.tar.gz: af4cc849cdc5307641afe0774cc8d77e980fb3a7
5
5
  SHA512:
6
- metadata.gz: a51684cb2fa22e87307734cb6d6b0336011fea2c80a1e7338856dacc02b03601655b5957c80bf298444c978aa140ec02209d863a06b669f1e19285498bfe9f16
7
- data.tar.gz: 96a6ef8dc96d43ff223f0db89483df48dd7e78824445aa76496ae28942a8a54ae3c380a18db877840aa6df92599f13f30cc56250faa8b0e2d717953845054629
6
+ metadata.gz: abfe0512ad41567dfb8acdda7a337a3af0bc95a5829473970d087e5484eb6bc381ba294281c5b61dd90d64429b94ce0f561be6e30ec36d664f38f7797136d582
7
+ data.tar.gz: 940b40373ace1748588ce7b7888c6bb4c7701f48bbe287feee507afe90a8943f2db0171a8081cc4b4cef910a5a5f811cf5763822db6dfbb524e8001d8f0dc871
data/ChangeLog.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.3 “Samara Vallis”
2
+
3
+ * Bump version to use latest Evil Front core.
4
+
1
5
  ## 0.2 “Ptolemaeus Crater”
2
6
 
3
7
  * Fix gem dependencies.
@@ -1,5 +1,5 @@
1
1
  module EvilFront
2
2
  module Rails
3
- VERSION = '0.2.0' unless defined? EvilFront::Rails::VERSION
3
+ VERSION = '0.3.0' unless defined? EvilFront::Rails::VERSION
4
4
  end
5
5
  end
@@ -0,0 +1,2 @@
1
+ = auto_flying_quotes do
2
+ b «a»
data/spec/helpers_spec.rb CHANGED
@@ -16,12 +16,22 @@ describe HelpersController, type: :controller do
16
16
 
17
17
  end
18
18
 
19
+ describe 'auto_flying_quotes' do
20
+
21
+ it 'accepts blocks' do
22
+ get :auto_flying_quotes
23
+ response.should be_success
24
+ response.body.should == '<b><span class="quotes">«a»</span></b>'
25
+ end
26
+
27
+ end
28
+
19
29
  describe 'russian_typograph' do
20
30
 
21
31
  it 'accepts blocks' do
22
32
  get :russian_typograph
23
33
  response.should be_success
24
- response.body.should == '<b><span class="quotes">«&lt;ф&gt;»</span></b>'
34
+ response.body.should == '<b>«&lt;ф&gt;»</b>'
25
35
  end
26
36
 
27
37
  end
@@ -100,8 +110,8 @@ describe HelpersController, type: :controller do
100
110
  response.body.should ==
101
111
  '<link href="/stylesheets/application.css" ' +
102
112
  'media="all" rel="stylesheet" />' +
103
- '<script src="//ajax.googleapis.com/ajax/libs/' +
104
- 'jquery/2.0.3/jquery.min.js"></script>' +
113
+ '<script src="//ajax.googleapis.com/ajax/libs/jquery/' +
114
+ "#{ JqueryCdn::VERSION }/jquery.min.js\"></script>" +
105
115
  "<script>window.jQuery || " +
106
116
  "document.write(unescape('%3Cscript " +
107
117
  "src=\"/assets/jquery.js\">%3C/script>'))</script>" +
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evil-front-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Sitnik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-31 00:00:00.000000000 Z
11
+ date: 2014-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: evil-front-all
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.2.0
19
+ version: 0.3.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.2.0
26
+ version: 0.3.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -97,6 +97,7 @@ files:
97
97
  - spec/app/.gitignore
98
98
  - spec/app/app/controllers/application_controller.rb
99
99
  - spec/app/app/controllers/helpers_controller.rb
100
+ - spec/app/app/views/helpers/auto_flying_quotes.slim
100
101
  - spec/app/app/views/helpers/flying_quotes.slim
101
102
  - spec/app/app/views/helpers/head.slim
102
103
  - spec/app/app/views/helpers/library.slim