annyong 0.2 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- run Annyong::Directory.new(`pwd`.chomp)
3
+ run Annyong::Directory.new(FileUtils.pwd.chomp)
@@ -3,7 +3,8 @@
3
3
  $:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
4
4
 
5
5
  require "rubygems"
6
- require 'optparse'
6
+ require "fileutils"
7
+ require "optparse"
7
8
  require "rack"
8
9
  require "annyong"
9
10
 
@@ -1,5 +1,5 @@
1
1
  module Annyong
2
- VERSION = '0.2'
2
+ VERSION = '0.3'
3
3
  autoload :Directory, "annyong/directory"
4
4
  end
5
5
 
@@ -20,7 +20,7 @@ module Annyong
20
20
  </tr>
21
21
  %s
22
22
  </table>
23
- <footer><code>#{`pwd`.chomp}</code>, <a target='_blank' title='Powered by annyong' href='https://github.com/remiprev/annyong'>annyong</a>!</footer></body
23
+ <footer><code>#{FileUtils.pwd.chomp}</code>, <a target='_blank' title='Powered by annyong' href='https://github.com/remiprev/annyong'>annyong</a>!</footer></body
24
24
  </body></html>
25
25
  PAGE
26
26
 
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: annyong
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 2
9
- version: "0.2"
8
+ - 3
9
+ version: "0.3"
10
10
  platform: ruby
11
11
  authors:
12
12
  - "R\xC3\xA9mi Pr\xC3\xA9vost"
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-04-06 00:00:00 -04:00
17
+ date: 2011-04-11 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency