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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/service.rb +4 -1
  3. data/lib/version.info +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b2cdd14b7782a777fd2defb4e24e8ddaa5697a9c
4
- data.tar.gz: 50502344f4afe7e5d532460a26c8e49f2aacab63
3
+ metadata.gz: 100c06348065574c0bcb260bc4d9e56d1ee96065
4
+ data.tar.gz: fe01425a80a99e348c1010be2ca40aeaecbbe31c
5
5
  SHA512:
6
- metadata.gz: 2f41e2c6ffd61a71c6745e99c78c57b95fcd806b9322d072ac271b02ab74b3b1b8c5c8f0992b07554c0da3691e029a1c4274c300f006a509e017fea3e1e3ef2e
7
- data.tar.gz: 969e6a8591c322074bca41bc7dff661fa8a8b7ebf8c291250689260c53b549573d8f8864aea55b8827bc8efb42dc287b0d610385dba7ff2c59b817be34da09c9
6
+ metadata.gz: 64ff39598c75697ff0b5addfae1ebd77a8776c3a0a7d630332c36649718886e1dbc2b4131d277addd490d9ab6318726e517142bd6c930f7bb1f4dfb382bf5e00
7
+ data.tar.gz: 8bdf073d57c544bfdba607a8faed2b4a0fab2381ac5b2ef51cd1476c4eb909ac94a71ba8baccc8b3987030e2d44200f7704b5fee822275382a10d1018982f528
@@ -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
@@ -1 +1 @@
1
- 0.9.6
1
+ 0.9.7
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: diff_news
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6
4
+ version: 0.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Bruderer