bitmarkable 0.0.2 → 0.0.2.1

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: b7554826b5ebf3ec1a0c55ca167e8d2915067af5
4
- data.tar.gz: c2f68980e91187e5a8831f12b33ac8bfcace9160
3
+ metadata.gz: 95826a80024683841b5dff52af8e8eddb8ca75f5
4
+ data.tar.gz: 0e27b5bfdb83fcc52072e139d1027be8d41ace4c
5
5
  SHA512:
6
- metadata.gz: 1d027139bf4c3704e0810d6533c64fa65a91a70aec68143ae540ee6fa64602edf81b69fc5c99cb531d2806f4be31926796822e7614c781ce0c20395446c352a6
7
- data.tar.gz: 8c405a09f2ebc4a1cf31f33ded440bce72080a5c6fdcf45c30cb58394094666a126b2455ff4b184db7e5928b4043517b25aa923f907691295762533e368aa091
6
+ metadata.gz: d77ebedcc64ff72756f1803f139a6184968a5d86e0f4914958a502979193db9cd6fe73888653a96b5e23d234435ca7f597f6acbb32c7a5c58e2d3dfa9241487b
7
+ data.tar.gz: 081b5ef097be4ee54449255df636bb4daac8c2d9583898876dfd176355c773209922f142caef530da26a49d2d1794ecd996954d7f6847498f24c9a04fe5dc252
@@ -9,7 +9,7 @@ module Bitmarkable
9
9
  cattr_accessor :url_field
10
10
  after_save :generate_bitmark
11
11
 
12
- bitmark self.url_field || 'url'
12
+ bitmarks self.url_field || 'url'
13
13
 
14
14
  def generate_bitmark
15
15
  if self.class.respond_to? :delay
@@ -21,7 +21,7 @@ module Bitmarkable
21
21
  end
22
22
 
23
23
  module ClassMethods
24
- def bitmark(url_field = nil)
24
+ def bitmarks(url_field = nil)
25
25
  self.url_field = url_field
26
26
  end
27
27
 
data/lib/bitmarkable.rb CHANGED
@@ -7,5 +7,5 @@ require "bitmarkable/bitmark"
7
7
  require "bitmarkable/bitly"
8
8
 
9
9
  module Bitmarkable
10
- VERSION = "0.0.2"
10
+ VERSION = "0.0.2.1"
11
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitmarkable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Friedman