routes 0.1.2 → 0.1.3

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/VERSION +1 -1
  2. data/bin/routes +9 -0
  3. metadata +4 -4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
data/bin/routes CHANGED
@@ -29,11 +29,20 @@ opts.banner = "Usage: routes [options]"
29
29
  opts.on("-i", "--init", "Initialize the routes cache") do |v|
30
30
  options[:init] = 1
31
31
  end
32
+
33
+ opts.on("-v", "--version", "Version") do |v|
34
+ options[:version] = 1
35
+ end
36
+
32
37
  end.parse!
33
38
 
34
39
  #p options
35
40
  #p ARGV
36
41
 
42
+ if options.include? :version
43
+ puts "0.1.3"
44
+ exit
45
+ end
37
46
 
38
47
  # is Dir .routess exist
39
48
  if Dir.glob(".routes").empty?
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: routes
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Caccinolo Benoit
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-19 00:00:00 +02:00
18
+ date: 2011-05-19 00:00:00 +02:00
19
19
  default_executable: routes
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency