octopod 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDllZmJhOThmNzM4OWFkMjk4YWFmNDRhM2M2YTM1YzA2MjQ0MzFiMw==
4
+ NGU2ODdiNjZlNzc5NmY3NzBlMzVkN2VmNjg5YTE2NmMxZGE1OGZjNQ==
5
5
  data.tar.gz: !binary |-
6
- OGJjYmQ4MTFjZDlmOWE2OWEyYmU3OGJmODMwNWMyNjcwNmZiOTE0YQ==
6
+ NDBjZmNkYTAwMzgzODljMmMzNjZmNTRhMzY4Mjk3NWY1ZjM0MDRlOQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NmIzMTI3YTc1NGM5MGViZWYwYWZkYmYwM2VjZmJmMDQzODk1MjJiZGNkNGVk
10
- Zjc5YzhjODRkOTMzNWIyNzU5ZDY5YjE2M2JlODA3NDAxYzMyOGE1ZjlmNmNj
11
- OGQ1MTIxZjgyNDc2MjRmNzdmOGQyNTc5MjQ0Nzg4NWMxNTUxOTM=
9
+ ZWI2MTJkYzE0MDk1ZWEwZGUyYjE2OTRiMmI4Y2U4ODlmMTQyZmQxMmZmOWFj
10
+ YzAwZGZkY2Y3NzYxMTM1MTY1MDU4OGE1YzYyYTNiOTg4ZWY3NGNmNDQ2Y2Ni
11
+ ZjM0NDMwNDAxNTZhNDhhYmFlNGJlZjRmOWNiNGQ5MjBjOGIxMTU=
12
12
  data.tar.gz: !binary |-
13
- NDcyNGIzNjcwZThkNTdhMzI1OTgxNWIxNzljYzhmYWNhMjQ2NjBiMGQ5NTdi
14
- MzFiYWFmNGI4MmQ3NjgyMGExODlkZTU2NTBmODdkYmQzMTM5Mzg5ZmQyOTg1
15
- MTNmMjhmM2Y2MGIxYzZkM2Y2MTBjYWJjZTY1YWU4YmE4ZDEyNWQ=
13
+ N2M0NjgyOWQzZmU5MDhmMzY0YTlkM2E4NjI4OGYzNTBhMjI1Yjk3NjE4Y2Fl
14
+ YWY0NWY3YTI1ODUwNTU1NTAxNjExMTg4Yzc0YWZkNzI4OTE0MTVjZGNkNzY3
15
+ NjNiMDE3MjQ5NGFkN2ZhYmM2ODM0M2IyYTRhOTI1YzM5NDAxZjI=
@@ -0,0 +1,8 @@
1
+ == 0.1.1 [2013-02-28]
2
+
3
+ * [Fix] octopod didn't know the current pwd. That was a little unhandy. =^.^=
4
+
5
+ == 0.1.0 [2013-02-27]
6
+
7
+ * Here I am!
8
+
@@ -1,5 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ PWD = Dir.pwd
4
+
3
5
  require 'rubygems'
4
6
  require 'optparse'
5
7
  require 'yaml'
@@ -85,8 +87,8 @@ def get_stdin(message)
85
87
  end
86
88
 
87
89
  if ARGV.size > 0 && (ARGV[0] == 'episode' || ARGV[0] == 'deploy')
88
- options = YAML.load_file(File.join(ROOT_PATH, '_config.yml'))
89
- options['posts_dir'] = File.join(ROOT_PATH, '_posts')
90
+ options = YAML.load_file(File.join(PWD, '_config.yml'))
91
+ options['posts_dir'] = File.join(PWD, '_posts')
90
92
 
91
93
  case ARGV[0]
92
94
  when 'episode'
@@ -194,7 +196,7 @@ if ARGV.size > 0 && (ARGV[0] == 'episode' || ARGV[0] == 'deploy')
194
196
  end
195
197
  opts.parse!
196
198
 
197
- options['public_dir'] = ARGV[1] ? ARGV[1] : File.join(ROOT_PATH, '_site')
199
+ options['public_dir'] = ARGV[1] ? ARGV[1] : File.join(PWD, '_site')
198
200
  exclude = ""
199
201
  if File.exists?('./rsync-exclude')
200
202
  exclude = "--exclude-from '#{File.expand_path('./rsync-exclude')}'"
@@ -1,3 +1,3 @@
1
1
  module Octopod
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octopod
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arne Eilermann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-02-27 00:00:00.000000000 Z
11
+ date: 2013-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -61,6 +61,7 @@ extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
63
  - .gitignore
64
+ - ChangeLog
64
65
  - Gemfile
65
66
  - LICENSE.txt
66
67
  - README.md