diff_news 0.9.6 → 0.9.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/service.rb +4 -1
- data/lib/version.info +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 100c06348065574c0bcb260bc4d9e56d1ee96065
|
4
|
+
data.tar.gz: fe01425a80a99e348c1010be2ca40aeaecbbe31c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64ff39598c75697ff0b5addfae1ebd77a8776c3a0a7d630332c36649718886e1dbc2b4131d277addd490d9ab6318726e517142bd6c930f7bb1f4dfb382bf5e00
|
7
|
+
data.tar.gz: 8bdf073d57c544bfdba607a8faed2b4a0fab2381ac5b2ef51cd1476c4eb909ac94a71ba8baccc8b3987030e2d44200f7704b5fee822275382a10d1018982f528
|
data/lib/service.rb
CHANGED
@@ -46,8 +46,8 @@ module DiffNews
|
|
46
46
|
def initialize url
|
47
47
|
@url = url
|
48
48
|
@uuid = UUIDTools::UUID.sha1_create(UUIDTools::UUID_URL_NAMESPACE, url)
|
49
|
+
@doc = nil
|
49
50
|
load_history
|
50
|
-
load_document
|
51
51
|
end
|
52
52
|
|
53
53
|
def self.register_service
|
@@ -90,7 +90,10 @@ module DiffNews
|
|
90
90
|
@history = @@store_class.new provider, @uuid, @url
|
91
91
|
|
92
92
|
@history.load
|
93
|
+
|
94
|
+
load_document
|
93
95
|
@history.append_changed_revision title, teaser, text
|
96
|
+
|
94
97
|
@history.store
|
95
98
|
end
|
96
99
|
end
|
data/lib/version.info
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.7
|