ruby_protobuf 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/History.txt +2 -1
  2. data/README.txt +1 -1
  3. data/lib/ruby_protobuf.rb +3 -3
  4. metadata +5 -4
data/History.txt CHANGED
@@ -1,5 +1,6 @@
1
- === 0.0.1 / 2008-07-26
1
+ === 0.1.0 / 2008-08-01
2
2
 
3
+ * 2 fixed a small bug
3
4
  * 1 major enhancement
4
5
  * Birthday!
5
6
 
data/README.txt CHANGED
@@ -22,7 +22,7 @@ Protocol Buffers for Ruby.
22
22
 
23
23
  == INSTALL:
24
24
 
25
- * sudo gem install ruby-protobuf
25
+ * sudo gem install ruby_protobuf
26
26
 
27
27
  == LICENSE:
28
28
 
data/lib/ruby_protobuf.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'protobuf/compiler'
2
2
 
3
3
  class RubyProtobuf
4
- VERSION = '0.0.1'
4
+ VERSION = '0.1.0'
5
5
 
6
6
  def start(proto_file, options)
7
7
  unless File.exist?(proto_file)
@@ -11,7 +11,7 @@ class RubyProtobuf
11
11
  raise ArgumentError.new("#{proto_file} does not exist.")
12
12
  end
13
13
  end
14
- rb_filename = File.basename proto_file
14
+ rb_filename = File.basename proto_file.dup
15
15
  rb_filename += '.rb' unless rb_filename.sub!(/.\w+$/, '.rb')
16
16
  rb_filepath = "#{options[:out] || '.'}/#{rb_filename}"
17
17
  puts "#{rb_filepath} writting..."
@@ -19,4 +19,4 @@ class RubyProtobuf
19
19
  f.write Protobuf::Compiler.compile(proto_file)
20
20
  end
21
21
  end
22
- end
22
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_protobuf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ANDO Yasushi
@@ -9,17 +9,18 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-07-31 00:00:00 +09:00
12
+ date: 2008-08-01 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: hoe
17
+ type: :development
17
18
  version_requirement:
18
19
  version_requirements: !ruby/object:Gem::Requirement
19
20
  requirements:
20
21
  - - ">="
21
22
  - !ruby/object:Gem::Version
22
- version: 1.5.0
23
+ version: 1.7.0
23
24
  version:
24
25
  description: "== DESCRIPTION: Protocol Buffers for Ruby. == FEATURES/PROBLEMS: * Compile .proto file to ruby script * Parse the binary wire format for protocol buffer * Serialize data to the binary wire format for protocol buffer"
25
26
  email: andyjpn@gmail.com
@@ -88,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
89
  requirements: []
89
90
 
90
91
  rubyforge_project: ruby-protobuf
91
- rubygems_version: 1.1.1
92
+ rubygems_version: 1.2.0
92
93
  signing_key:
93
94
  specification_version: 2
94
95
  summary: Protocol Buffers for Ruby