rocco-obb 0.5 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/rocco.rb +1 -1
  2. data/rocco.gemspec +1 -1
  3. metadata +3 -2
data/lib/rocco.rb CHANGED
@@ -173,7 +173,7 @@ class Rocco
173
173
  "cpp" => { :single => "//", :multi => { :start => "/**", :middle => "*", :end => "*/" } },
174
174
  "java" => { :single => "//", :multi => { :start => "/**", :middle => "*", :end => "*/" } },
175
175
  "js" => { :single => "//", :multi => { :start => "/**", :middle => "*", :end => "*/" } },
176
- "php" => { :single => "//", :multi => { :start => "/**", :middle => "*", :end => "*/" } },
176
+ "php" => { :single => "\/\*[^*]*\*+([^\/*][^*]*\*+)*\/|^\s*\/\/ ?", :multi => { :start => "/**", :middle => "*", :end => "*/" } },
177
177
  "lua" => { :single => "--", :multi => nil },
178
178
  "python" => { :single => "#", :multi => { :start => '"""', :middle => nil, :end => '"""' } },
179
179
  "ruby" => { :single => "#", :multi => nil },
data/rocco.gemspec CHANGED
@@ -3,7 +3,7 @@ Gem::Specification.new do |s|
3
3
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
4
4
 
5
5
  s.name = 'rocco-obb'
6
- s.version = '0.5'
6
+ s.version = '0.5.1'
7
7
  s.date = '2010-09-10'
8
8
 
9
9
  s.description = "Docco in Ruby"
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rocco-obb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- version: "0.5"
9
+ - 1
10
+ version: 0.5.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Ryan Tomayko