juli 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.rdoc +28 -18
- data/Rakefile +17 -14
- data/juli.gemspec +9 -6
- data/lib/juli/macro/photo.rb +1 -1
- data/lib/juli/version.rb +1 -1
- metadata +24 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02d875c32a6a91a0cf006a8e98879e8ea4e5427e
|
4
|
+
data.tar.gz: dab0c5162d3156bc50627d371651d56f36a9dfec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe6418e5d4f282e023d229c6a2cd6ecf29132da2c61884ef9e13713e086d41c23fcc79aadfc6974cf93b0c8d26625635ac760e7b49423528974e2376a870dea7
|
7
|
+
data.tar.gz: d7170c6378aed0b4729a77de57c3c636f4c8996cfb8734c7adff3bd14f5edef47e27b3f53e4f1b89503bdaaa5f7ce2190e72c7e45aaf619dc05cb4352b319899
|
data/README.rdoc
CHANGED
@@ -1,39 +1,49 @@
|
|
1
1
|
== Juli
|
2
2
|
|
3
|
-
|
3
|
+
Juli is an offline wiki & outliner with your favorite editor.
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
## Installation
|
5
|
+
=== Installation
|
8
6
|
|
9
7
|
Add this line to your application's Gemfile:
|
10
8
|
|
11
|
-
|
12
|
-
gem 'juli'
|
13
|
-
```
|
9
|
+
gem 'juli'
|
14
10
|
|
15
11
|
And then execute:
|
16
12
|
|
17
|
-
|
13
|
+
$ bundle
|
18
14
|
|
19
15
|
Or install it yourself as:
|
20
16
|
|
21
|
-
|
17
|
+
$ gem install juli
|
18
|
+
|
19
|
+
=== Usage
|
20
|
+
|
21
|
+
$ cd [YOUR-WIKI-ROOT]
|
22
|
+
$ juli init # run just once on [YOUR-WIKI-ROOT]
|
23
|
+
$ $EDITOR hello.txt # write your document.
|
24
|
+
$ juli # compile it to generate static HTML.
|
22
25
|
|
23
|
-
|
26
|
+
=== Juli Version
|
24
27
|
|
25
|
-
|
28
|
+
1.*:: obsoleted
|
29
|
+
2.*:: for ruby2.2
|
26
30
|
|
27
|
-
|
31
|
+
=== Development
|
28
32
|
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies.
|
33
|
+
After checking out the repo, run `bin/setup` to install dependencies.
|
34
|
+
Then, run `bin/console` for an interactive prompt that will allow you to
|
35
|
+
experiment.
|
30
36
|
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`.
|
37
|
+
To install this gem onto your local machine, run `bundle exec rake install`.
|
38
|
+
To release a new version, update the version number in `version.rb`,
|
39
|
+
and then run `bundle exec rake release` to create a git tag for the version,
|
40
|
+
push git commits and tags, and push the `.gem` file to
|
41
|
+
[rubygems.org](https://rubygems.org).
|
32
42
|
|
33
|
-
|
43
|
+
=== Contributing
|
34
44
|
|
35
|
-
1. Fork it ( https://github.com/
|
36
|
-
2. Create your feature branch (`git checkout -b
|
45
|
+
1. Fork it ( https://github.com/fuminori-ido/juli/fork )
|
46
|
+
2. Create your feature branch (`git checkout -b feature_NNNN`, where NNNN is a ticket No.)
|
37
47
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
38
|
-
4. Push to the branch (`git push origin
|
48
|
+
4. Push to the branch (`git push origin feature_NNNN`)
|
39
49
|
5. Create a new Pull Request
|
data/Rakefile
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
#require 'byebug'; byebug
|
1
2
|
require "bundler/gem_tasks"
|
2
3
|
|
3
4
|
$LOAD_PATH.insert(0, File.join(File.dirname(__FILE__), 'lib'))
|
@@ -30,25 +31,27 @@ Rake::TestTask.new('test' => parsers) do |t|
|
|
30
31
|
t.verbose = true
|
31
32
|
end
|
32
33
|
|
33
|
-
desc "build
|
34
|
+
desc "build with parser.tab under right permission(022)"
|
34
35
|
task :dist do
|
35
|
-
|
36
|
-
|
37
|
-
|
36
|
+
old_umask = File.umask(022); begin
|
37
|
+
curr_dir = Dir.pwd
|
38
|
+
pkg_name = "juli-#{Juli::VERSION}"
|
39
|
+
work_prefix = "/tmp/#{pkg_name}-#{$$}"
|
38
40
|
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
41
|
+
# include racc geneerated files
|
42
|
+
FileUtils.mkdir_p work_prefix
|
43
|
+
Dir.chdir work_prefix do
|
44
|
+
sh "git clone --local --depth 1 #{curr_dir} juli"
|
45
|
+
Dir.chdir 'juli' do
|
46
|
+
sh 'rake'
|
47
|
+
sh 'rake build'
|
48
|
+
end
|
45
49
|
end
|
46
|
-
|
47
|
-
|
48
|
-
|
50
|
+
FileUtils.mv "#{work_prefix}/juli/pkg/#{pkg_name}.gem", 'pkg/'
|
51
|
+
FileUtils.rm_rf work_prefix
|
52
|
+
end; File.umask(old_umask)
|
49
53
|
end
|
50
54
|
|
51
|
-
|
52
55
|
namespace :doc do
|
53
56
|
desc 'generate HTML by juli'
|
54
57
|
task :juli do
|
data/juli.gemspec
CHANGED
@@ -10,19 +10,22 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.authors = ["ido"]
|
11
11
|
spec.email = ["fuminori_ido@yahoo.co.jp"]
|
12
12
|
|
13
|
-
spec.summary = %q{Offline wiki, and
|
14
|
-
spec.description = %q{Offline wiki, and
|
13
|
+
spec.summary = %q{Offline wiki, and outline processor}
|
14
|
+
spec.description = %q{Offline wiki, and outline processor}
|
15
15
|
spec.homepage = "https://github.com/fuminori-ido/juli"
|
16
16
|
spec.license = "MIT"
|
17
17
|
|
18
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
19
|
-
|
20
|
-
|
18
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } +
|
19
|
+
# generated by racc, should be in gem
|
20
|
+
%w(lib/juli/parser.tab.rb lib/juli/line_parser.tab.rb)
|
21
|
+
spec.bindir = 'bin'
|
22
|
+
spec.executables = 'juli'
|
21
23
|
spec.require_paths = ["lib"]
|
22
24
|
|
25
|
+
spec.add_runtime_dependency 'i18n'
|
23
26
|
spec.add_runtime_dependency 'racc'
|
24
27
|
spec.add_runtime_dependency 'simplecov'
|
25
|
-
spec.add_runtime_dependency '
|
28
|
+
spec.add_runtime_dependency 'rmagick'
|
26
29
|
|
27
30
|
spec.add_development_dependency "bundler", "~> 1.9"
|
28
31
|
spec.add_development_dependency "rake", "~> 10.0"
|
data/lib/juli/macro/photo.rb
CHANGED
data/lib/juli/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: juli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ido
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: i18n
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: racc
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -39,7 +53,7 @@ dependencies:
|
|
39
53
|
- !ruby/object:Gem::Version
|
40
54
|
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
56
|
+
name: rmagick
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
59
|
- - ">="
|
@@ -80,10 +94,11 @@ dependencies:
|
|
80
94
|
- - "~>"
|
81
95
|
- !ruby/object:Gem::Version
|
82
96
|
version: '10.0'
|
83
|
-
description: Offline wiki, and
|
97
|
+
description: Offline wiki, and outline processor
|
84
98
|
email:
|
85
99
|
- fuminori_ido@yahoo.co.jp
|
86
|
-
executables:
|
100
|
+
executables:
|
101
|
+
- juli
|
87
102
|
extensions: []
|
88
103
|
extra_rdoc_files: []
|
89
104
|
files:
|
@@ -143,6 +158,7 @@ files:
|
|
143
158
|
- lib/juli/command/recent_update.rb
|
144
159
|
- lib/juli/command/sitemap.rb
|
145
160
|
- lib/juli/command/tag.rb
|
161
|
+
- lib/juli/line_parser.tab.rb
|
146
162
|
- lib/juli/line_parser.y
|
147
163
|
- lib/juli/macro.rb
|
148
164
|
- lib/juli/macro/amazon.rb
|
@@ -152,6 +168,7 @@ files:
|
|
152
168
|
- lib/juli/macro/template.rb
|
153
169
|
- lib/juli/macro/template_base.rb
|
154
170
|
- lib/juli/macro/wikipedia.rb
|
171
|
+
- lib/juli/parser.tab.rb
|
155
172
|
- lib/juli/parser.y
|
156
173
|
- lib/juli/template/default.html
|
157
174
|
- lib/juli/template/facebook.html
|
@@ -207,5 +224,5 @@ rubyforge_project:
|
|
207
224
|
rubygems_version: 2.4.5
|
208
225
|
signing_key:
|
209
226
|
specification_version: 4
|
210
|
-
summary: Offline wiki, and
|
227
|
+
summary: Offline wiki, and outline processor
|
211
228
|
test_files: []
|