trustlink 0.0.5 → 0.0.6

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: 7cc17f6bcbffbc31dae6a34cdddaa16eb55f7c11
4
- data.tar.gz: 9dcdc6a40c5ed12fde7cd6b95c0c5540612292a3
3
+ metadata.gz: 4345571a217336300ec97c6d0c48f5ba47b41a53
4
+ data.tar.gz: 7ae0d86f0a92acc081d60dcc8ac6c1e1a0196eaf
5
5
  SHA512:
6
- metadata.gz: 7d23d5e5b01ccebb89e3c7948924f4a4113749dcf3200ce6bebf30e8e148a2e620cc75a0f1b7e4aff6550a988fdff476c538d738ed006d3c3502c3f6b3d9f6a8
7
- data.tar.gz: 1823c68a4777d81909e0b2f868197f6738d185e69583d4d848db7ceceaa7c4eac49cc7578d54a1d8761014538a7b0f6baea2dbebec33ac64d76ea63166963d2f
6
+ metadata.gz: 9c07c3d639d310831f21058cf72f963d3223b531acf8a01e014acb84fc9674eac711e568f2ab7c4f5448cbd774deb48042cbcdd88b77e4c94bf13c80a5d3c6b7
7
+ data.tar.gz: ddb611fe0563b94b72bdaef960a4648c23af15c2418aabb9761db0a1d14b963ae7e5b2aeb61068d93f5396d738d7793cfd9aec8f70067160f95cb44fee1d8cf8
data/README.md CHANGED
@@ -14,7 +14,7 @@
14
14
  ### Installation
15
15
  Include the gem in your Gemfile:
16
16
  ```ruby
17
- gem "trustlink"
17
+ gem 'trustlink'
18
18
  ```
19
19
 
20
20
  #### Preparing db
@@ -37,10 +37,12 @@ Simply put helper call in desired place. Like this:
37
37
 
38
38
  #### Fetching links
39
39
  * `rake trustlink:fetch`
40
+
40
41
  Run it by cron or use whenever gem or something other way you like.
41
42
 
42
43
  #### Customizing templates (optional)
43
44
  * `rails g trustlink:views`
45
+
44
46
  Templates will be copied to views/trustlink folder.
45
47
 
46
48
  ### Notes
@@ -9,7 +9,7 @@ class TrustlinkConfig < ActiveRecord::Base
9
9
  end
10
10
 
11
11
  def stop_code
12
- where(name: 'stop').first.value
12
+ where(name: 'end').first.value
13
13
  end
14
14
  end
15
15
  end
@@ -4,4 +4,4 @@
4
4
  <%= render partial: 'trustlink/link', collection: links -%>
5
5
  </ul>
6
6
  <% end -%>
7
- <%= stop.html_safe if defined?(start) -%>
7
+ <%= stop.html_safe if defined?(stop) -%>
@@ -1,3 +1,3 @@
1
1
  module Trustlink
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trustlink
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artyom Nikolaev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-15 00:00:00.000000000 Z
11
+ date: 2014-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails