plato 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/VERSION +1 -1
- data/bin/plato-prepare-repo +24 -0
- data/dist/hooks/post-receive +9 -0
- data/plato.gemspec +4 -3
- metadata +7 -4
data/.gitignore
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0
|
1
|
+
0.1.0
|
@@ -0,0 +1,24 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
system "git status > /dev/null"
|
4
|
+
exit $? if $? != 0
|
5
|
+
|
6
|
+
GEM_DIR = File.expand_path('../..', __FILE__)
|
7
|
+
|
8
|
+
system "git config --add receive.denyCurrentBranch ignore"
|
9
|
+
|
10
|
+
hook = File.expand_path('dist/hooks/post-receive', GEM_DIR)
|
11
|
+
system "cp #{hook} .git/hooks/post-receive && chmod a+x .git/hooks/post-receive"
|
12
|
+
|
13
|
+
puts <<-END_HELP
|
14
|
+
#{'-' * 75}
|
15
|
+
|
16
|
+
Repo at #{File.expand_path('.')} configured for remote updates.
|
17
|
+
Add this repo as a remote for your content and updates will be compiled to
|
18
|
+
|
19
|
+
#{File.expand_path('.')}/cache.
|
20
|
+
|
21
|
+
#{'-' * 75}
|
22
|
+
END_HELP
|
23
|
+
|
24
|
+
|
data/plato.gemspec
CHANGED
@@ -5,20 +5,21 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{plato}
|
8
|
-
s.version = "0.0
|
8
|
+
s.version = "0.1.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Matt Freels"]
|
12
12
|
s.date = %q{2010-08-10}
|
13
|
-
s.default_executable = %q{plato}
|
14
13
|
s.description = %q{use templates and content to generate static sites.}
|
15
14
|
s.email = %q{matt@freels.name}
|
16
|
-
s.executables = ["plato"]
|
15
|
+
s.executables = ["plato", "plato-prepare-repo"]
|
17
16
|
s.files = [
|
18
17
|
".gitignore",
|
19
18
|
"Rakefile",
|
20
19
|
"VERSION",
|
21
20
|
"bin/plato",
|
21
|
+
"bin/plato-prepare-repo",
|
22
|
+
"dist/hooks/post-receive",
|
22
23
|
"lib/plato.rb",
|
23
24
|
"lib/plato/config.rb",
|
24
25
|
"lib/plato/document.rb",
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plato
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
- 0
|
9
8
|
- 1
|
10
|
-
|
9
|
+
- 0
|
10
|
+
version: 0.1.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Freels
|
@@ -16,7 +16,7 @@ bindir: bin
|
|
16
16
|
cert_chain: []
|
17
17
|
|
18
18
|
date: 2010-08-10 00:00:00 -07:00
|
19
|
-
default_executable:
|
19
|
+
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: tilt
|
@@ -66,6 +66,7 @@ description: use templates and content to generate static sites.
|
|
66
66
|
email: matt@freels.name
|
67
67
|
executables:
|
68
68
|
- plato
|
69
|
+
- plato-prepare-repo
|
69
70
|
extensions: []
|
70
71
|
|
71
72
|
extra_rdoc_files: []
|
@@ -75,6 +76,8 @@ files:
|
|
75
76
|
- Rakefile
|
76
77
|
- VERSION
|
77
78
|
- bin/plato
|
79
|
+
- bin/plato-prepare-repo
|
80
|
+
- dist/hooks/post-receive
|
78
81
|
- lib/plato.rb
|
79
82
|
- lib/plato/config.rb
|
80
83
|
- lib/plato/document.rb
|