soywiki 0.9.3 → 0.9.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/.gitignore +1 -0
  2. data/README.markdown +12 -1
  3. data/lib/soywiki.rb +20 -12
  4. metadata +10 -7
  5. checksums.yaml +0 -7
data/.gitignore CHANGED
@@ -11,4 +11,5 @@ wiki/
11
11
  soywiki.html
12
12
  wiki2/
13
13
  responses/
14
+ *.gem
14
15
 
data/README.markdown CHANGED
@@ -497,7 +497,7 @@ SoyWiki is very new, so there are kinks and bugs to iron out and lot of
497
497
  desirable features to add. If you have a bug to report or a good feature to
498
498
  suggest, please file it on the [issue tracker][1]. That will help a lot.
499
499
 
500
- [1]:https://github.com/danchoi/soywiki/issues
500
+ [1]:https://github.com/0robustus1/soywiki/issues
501
501
 
502
502
  You can also join the [Google Group][group] and comment there.
503
503
 
@@ -508,4 +508,15 @@ You can also join the [Google Group][group] and comment there.
508
508
  My name is Daniel Choi. I am based in Cambridge, Massachusetts, USA, and you
509
509
  can email me at dhchoi {at} gmail.com.
510
510
 
511
+ ## Maintainer of project
512
+
513
+ Since Daniel doesn't have the time anymore, the project will be maintained
514
+ by Tim Reddehase. You can contact me via email at
515
+ robustus {at} rightsrestricted.com.
516
+
517
+ This also means, that current development and changes will be done
518
+ from my [fork][2] at github.
519
+
520
+ [2]: https://github.com/0robustus1/soywiki
521
+
511
522
 
data/lib/soywiki.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'string_ext'
2
2
  module Template_Substitution; end
3
3
  module Soywiki
4
- VERSION = '0.9.3'
4
+ VERSION = '0.9.4'
5
5
  WIKI_WORD = /\b([a-z0-9][\w_]+\.)?[A-Z][a-z]+[A-Z0-9]\w*\b/
6
6
  HYPERLINK = %r|\bhttps?://[^ >)\n\]]+|
7
7
 
@@ -13,15 +13,17 @@ module Soywiki
13
13
  [ '--version', '-v', GetoptLong::NO_ARGUMENT],
14
14
  [ '--html', GetoptLong::NO_ARGUMENT],
15
15
  [ '--markdown', GetoptLong::NO_ARGUMENT],
16
+ [ '--install-plugin', GetoptLong::NO_ARGUMENT],
16
17
  [ '--page', GetoptLong::REQUIRED_ARGUMENT],
17
18
  [ '--index', GetoptLong::REQUIRED_ARGUMENT],
18
19
  )
19
20
 
20
- usage =-> do
21
+ usage =->(version_only=false) do
21
22
  puts "soywiki #{Soywiki::VERSION}"
22
23
  puts "by Daniel Choi dhchoi@gmail.com"
24
+ exit if version_only
23
25
  puts
24
- puts <<END
26
+ puts <<-END
25
27
  ---
26
28
  Usage: soywiki
27
29
 
@@ -31,15 +33,21 @@ Soywiki will open the most recently modified wiki file or create a file
31
33
  called main/HomePage.
32
34
 
33
35
  Parse to html:
34
- -- html
35
- assume that wiki-files are in markdown syntax:
36
- --markdown
37
- replace default haml-page-template with the one supplied:
38
- --page template-file
39
- replace default haml-index-template with the one supplied:
40
- --index template-file
36
+ --html
37
+ assume that wiki-files are in markdown syntax:
38
+ --markdown
39
+ replace default haml-page-template with the one supplied:
40
+ --page template-file
41
+ replace default haml-index-template with the one supplied:
42
+ --index template-file
43
+ Install the soywiki vim plugin:
44
+ --install-plugin
45
+ Show this help:
46
+ [--help, -h]
47
+ Show version info:
48
+ [--version, -v]
41
49
  ---
42
- END
50
+ END
43
51
  exit
44
52
  end
45
53
  install_plugin = false
@@ -49,7 +57,7 @@ END
49
57
  opts.each do |opt, arg|
50
58
  case opt
51
59
  when '--help' then usage[]
52
- when '--version' then usage[]
60
+ when '--version' then usage[true]
53
61
  when '--html' then html = true
54
62
  when '--markdown' then md = true
55
63
  when '--install-plugin' then install_plugin = true
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soywiki
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.4
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Daniel Choi
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-07-25 00:00:00.000000000 Z
12
+ date: 2013-08-02 00:00:00.000000000 Z
12
13
  dependencies: []
13
14
  description: A personal and collaborative wiki for Vim users
14
15
  email:
@@ -44,25 +45,27 @@ files:
44
45
  - soywiki.gemspec
45
46
  homepage: http://danielchoi.com/software/soywiki.html
46
47
  licenses: []
47
- metadata: {}
48
48
  post_install_message:
49
49
  rdoc_options: []
50
50
  require_paths:
51
51
  - lib
52
52
  required_ruby_version: !ruby/object:Gem::Requirement
53
+ none: false
53
54
  requirements:
54
- - - '>='
55
+ - - ! '>='
55
56
  - !ruby/object:Gem::Version
56
57
  version: '0'
57
58
  required_rubygems_version: !ruby/object:Gem::Requirement
59
+ none: false
58
60
  requirements:
59
- - - '>='
61
+ - - ! '>='
60
62
  - !ruby/object:Gem::Version
61
63
  version: '0'
62
64
  requirements: []
63
65
  rubyforge_project: soywiki
64
- rubygems_version: 2.0.3
66
+ rubygems_version: 1.8.23
65
67
  signing_key:
66
- specification_version: 4
68
+ specification_version: 3
67
69
  summary: Wiki with Vim interface and Git repo
68
70
  test_files: []
71
+ has_rdoc:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 0d1d5102e2bf2eb59f9c54cf9343c9667ec8039c
4
- data.tar.gz: e4c1daeaffa441119b6d1326ace05f04c92ad20b
5
- SHA512:
6
- metadata.gz: f5587968c6a7d5bed8efd78d282c98fc95ac3841b14a403ff8427fb0228c54252875d85d6b44d23df463e8f9a099792adcbe4aedf288085d77e657c72c951cf3
7
- data.tar.gz: 294dce3c0cc16a3bac73b9c9f226be1ea9f5d8e961cfaaefef4f55774919c1ae5032759339087fbe1810690068e9ec8f802f02d3887f4b57b6157c248e0a29ac