cudan 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/cudan.rb +1 -1
  2. data/lib/cudan/main.rb +1 -1
  3. metadata +3 -3
data/lib/cudan.rb CHANGED
@@ -4,5 +4,5 @@ module Cudan
4
4
  require 'cudan/regexp_cudan'
5
5
  require 'cudan/xpath_cudan'
6
6
  require 'cudan/main'
7
- VERSION="0.0.3"
7
+ VERSION="0.0.4"
8
8
  end
data/lib/cudan/main.rb CHANGED
@@ -26,7 +26,7 @@ class Cudan::Main
26
26
  puts opts.to_s
27
27
  exit
28
28
  end
29
- if /\/(.*)\// =~ @query
29
+ if /^\/(.*)\/$/ =~ @query
30
30
  klass = Cudan::RegexpCudan
31
31
  @query = $~[1]
32
32
  else
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 3
9
- version: 0.0.3
8
+ - 4
9
+ version: 0.0.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - takada-at
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  version: "0"
79
79
  requirements: []
80
80
 
81
- rubyforge_project: ""
81
+ rubyforge_project: cudan
82
82
  rubygems_version: 1.3.6
83
83
  signing_key:
84
84
  specification_version: 3