sape 0.2.0 → 0.2.2

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: bf18a29b92268e1481aeec1fcf397de97e53c042
4
- data.tar.gz: b0458345ab9d422cf035e97bfd56fd2f838b2028
3
+ metadata.gz: e691c5c1c09d8916603f77b1af7f657e2d5277c6
4
+ data.tar.gz: 709125d423865e8240431152406f960619dff358
5
5
  SHA512:
6
- metadata.gz: 73e31c3f3789440a5847da5250423aff3a297d302666c95b14250cb718f36a52ac22a1bdad7664492ee921b5105a21b919c43df5fcd2591ab2ae42e9b628e4d2
7
- data.tar.gz: 521440f010cbb88ec26c21c8dc8441acc27e3ee6b238b24087759216aa327d83f1ca22cb5ac96d35b016c0089380651c43618aa70b02976cf4b076715b25f9d5
6
+ metadata.gz: bc214960169c31c657bbd819ce1dac04a3b83d407cf5fe994febebd8f9aa097cb52b431f9e8f2147c2612ff6ff4b65435a3c994d40a69482025d8fd2cabcf7a5
7
+ data.tar.gz: 2c9df2a04ad535e7f2b3531abf9aabfbb959b5bd10a61a191a41e76f9d0c02b9d16553c50b185afe7519a3580062957a03bf3517976ed8a413b9fdbd5aa94372
@@ -0,0 +1,6 @@
1
+ %li.block_links_icnt
2
+ %div
3
+ %span{:onclick => "window.open('http://#{link.host}/', '_blank'); return false;"}
4
+ %p.block_links_header= link.anchor.html_safe
5
+ %p.block_links_text= link.raw_link.html_safe
6
+ %p.block_links_url= link.host
@@ -0,0 +1,6 @@
1
+ li.block_links_icnt
2
+ div
3
+ span onclick="window.open('http://#{link.host}/', '_blank'); return false;"
4
+ p.block_links_header= link.anchor.html_safe
5
+ p.block_links_text= link.raw_link.html_safe
6
+ p.block_links_url= link.host
@@ -0,0 +1,4 @@
1
+ = check_code.html_safe if defined?(check_code)
2
+ - if links.any?
3
+ %ul.ads
4
+ = render partial: 'sape/link', collection: links
@@ -0,0 +1,4 @@
1
+ = check_code.html_safe if defined?(check_code)
2
+ - if links.any?
3
+ ul.ads
4
+ = render partial: 'sape/link', collection: links
@@ -1,3 +1,3 @@
1
1
  module Sape
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -0,0 +1 @@
1
+ spec/dummy/../../spec/
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sape
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Rodionov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-28 00:00:00.000000000 Z
11
+ date: 2017-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -210,7 +210,11 @@ files:
210
210
  - lib/app/models/sape_config.rb
211
211
  - lib/app/models/sape_link.rb
212
212
  - lib/app/views/sape/_link.html.erb
213
+ - lib/app/views/sape/_link.html.haml
214
+ - lib/app/views/sape/_link.html.slim
213
215
  - lib/app/views/sape/links.html.erb
216
+ - lib/app/views/sape/links.html.haml
217
+ - lib/app/views/sape/links.html.slim
214
218
  - lib/generators/sape/install_generator.rb
215
219
  - lib/generators/sape/migration_generator.rb
216
220
  - lib/generators/sape/templates/migration.rb
@@ -271,6 +275,7 @@ files:
271
275
  - spec/dummy/public/500.html
272
276
  - spec/dummy/public/favicon.ico
273
277
  - spec/dummy/public/robots.txt
278
+ - spec/dummy/spec
274
279
  - spec/dummy/test/controllers/.keep
275
280
  - spec/dummy/test/fixtures/.keep
276
281
  - spec/dummy/test/helpers/.keep
@@ -308,7 +313,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
308
313
  version: '0'
309
314
  requirements: []
310
315
  rubyforge_project:
311
- rubygems_version: 2.4.7
316
+ rubygems_version: 2.6.11
312
317
  signing_key:
313
318
  specification_version: 4
314
319
  summary: Sape.ru Ruby On Rails module
@@ -363,6 +368,7 @@ test_files:
363
368
  - spec/dummy/public/500.html
364
369
  - spec/dummy/public/favicon.ico
365
370
  - spec/dummy/public/robots.txt
371
+ - spec/dummy/spec
366
372
  - spec/dummy/test/controllers/.keep
367
373
  - spec/dummy/test/fixtures/.keep
368
374
  - spec/dummy/test/helpers/.keep