phper 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/phper/commands.rb +2 -2
  3. data/phper.gemspec +1 -1
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.2
1
+ 0.5.3
@@ -398,7 +398,7 @@ class Phper::Commands < CommandLineUtils::Commands
398
398
  @summery = "dump file."
399
399
  return files_get_one if @help
400
400
  file = files_get_one
401
- puts Base64.decode(file["file"]["contents"])
401
+ puts Base64.decode64(file["file"]["contents"])
402
402
  end
403
403
 
404
404
  def files_modified
@@ -448,7 +448,7 @@ class Phper::Commands < CommandLineUtils::Commands
448
448
  name = File.join(git_root,name)
449
449
  FileUtils.mkdir_p(File.dirname(name))
450
450
  File.open(name,"w"){ |f|
451
- f.write Base64.decode(file["file"]["contents"])
451
+ f.write Base64.decode64(file["file"]["contents"])
452
452
  }
453
453
  puts "--> " + file["file"]["name"]
454
454
  end
data/phper.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{phper}
8
- s.version = "0.5.2"
8
+ s.version = "0.5.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Yoshihiro TAKAHARA"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phper
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 2
10
- version: 0.5.2
9
+ - 3
10
+ version: 0.5.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Yoshihiro TAKAHARA