vimfluence 0.0.2 → 0.0.3

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: 17b19b09ef589c50e82f5130ab1b949c6f5e933a
4
- data.tar.gz: ac4910390c2c899eb03d38da786e6e3c6a9ee128
3
+ metadata.gz: 8a2c53f6176f42328b133737986f1f0fbf859b30
4
+ data.tar.gz: 8c172888539a32d651d04db54a62b8c56612eb3f
5
5
  SHA512:
6
- metadata.gz: 3e7db98914ed15f10b3304724080560fc5c4bffd794ac32575f800f1e94b3f0c67afe173f48b0627fc6e009c3073fc3915a142ffe39e392e2d27d8b49224c4b7
7
- data.tar.gz: 8cad6c3235f30d2029358e646c3dd417fdf91f48b56966840313aa78d44d91fa68c581a0328e1ad283c7d1ec91f090520c7bf964b2cb7c5847ad8defd32461a4
6
+ metadata.gz: b87a17e30a3d482ccaad9cd884482e6744afc96e6ad9a9ff5d54f6aa4de2caae4bfc16a2430964d65a9d3433149c750ca01c7a5f3dbe49bf83930c1d4599ffc8
7
+ data.tar.gz: c42fabea02e0862449563d2307703800c4652a472cf7f6c1da10b9b902bb0ed247e6ee22d8f3d8434679c2225e35fe9090fa5eb2d2f7d04c6e67da68717af47f
@@ -20,6 +20,7 @@ page = client.getPage(token, SPACE, PAGE)
20
20
  file = Tempfile.new(["#{SPACE}-#{PAGE}", ".#{WIKI_EXTENSION}"])
21
21
  old_content = page["content"]
22
22
  file.write(old_content)
23
+ file.flush
23
24
  system("#{EDITOR} '#{file.path}'")
24
25
  new_content = File.read(file.path)
25
26
  unless old_content.eql? new_content
@@ -1,3 +1,3 @@
1
1
  module Vimfluence
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vimfluence
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sumit Shah
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-23 00:00:00.000000000 Z
11
+ date: 2013-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler