path_rewriter 0.0.1 → 0.0.2

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.
data/.gitignore CHANGED
@@ -1 +1,2 @@
1
- coverage
1
+ coverage
2
+ pkg/*.gem
data/README.markdown ADDED
@@ -0,0 +1,8 @@
1
+ ## Usage
2
+
3
+ create path_rewriter.rb at `config/initializers/` and append:
4
+
5
+ PathRewriter::Rails.enable do |p|
6
+ p.codec.base_path = Settings.base_path
7
+ p.codec.root_path = ActionController::Base.relative_url_root
8
+ end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -0,0 +1,65 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{path_rewriter}
8
+ s.version = "0.0.2"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Sunteya"]
12
+ s.date = %q{2010-04-06}
13
+ s.email = %q{Sunteya@gmail.com}
14
+ s.extra_rdoc_files = [
15
+ "README.markdown"
16
+ ]
17
+ s.files = [
18
+ ".gitignore",
19
+ "README.markdown",
20
+ "Rakefile",
21
+ "VERSION",
22
+ "depends.rb",
23
+ "lib/path_rewriter.rb",
24
+ "lib/path_rewriter/rails.rb",
25
+ "lib/path_rewriter/url_codec.rb",
26
+ "path_rewriter.gemspec",
27
+ "spec/path_rewriter/url_codec_spec.rb",
28
+ "spec/path_rewriter_spec.rb",
29
+ "spec/spec.opts",
30
+ "spec/spec_helper.rb"
31
+ ]
32
+ s.homepage = %q{http://github.com/sunteya/path_rewriter}
33
+ s.rdoc_options = ["--charset=UTF-8"]
34
+ s.require_paths = ["lib"]
35
+ s.rubygems_version = %q{1.3.6}
36
+ s.summary = %q{rewrite rails generate url and route.}
37
+ s.test_files = [
38
+ "spec/path_rewriter/url_codec_spec.rb",
39
+ "spec/path_rewriter_spec.rb",
40
+ "spec/spec_helper.rb"
41
+ ]
42
+
43
+ if s.respond_to? :specification_version then
44
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
45
+ s.specification_version = 3
46
+
47
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
48
+ s.add_runtime_dependency(%q<gem_loader>, [">= 0.2.0"])
49
+ s.add_runtime_dependency(%q<actionpack>, ["~> 2.3.5"])
50
+ s.add_runtime_dependency(%q<addressable>, [">= 2.1.1"])
51
+ s.add_development_dependency(%q<rspec>, [">= 1.3.0"])
52
+ else
53
+ s.add_dependency(%q<gem_loader>, [">= 0.2.0"])
54
+ s.add_dependency(%q<actionpack>, ["~> 2.3.5"])
55
+ s.add_dependency(%q<addressable>, [">= 2.1.1"])
56
+ s.add_dependency(%q<rspec>, [">= 1.3.0"])
57
+ end
58
+ else
59
+ s.add_dependency(%q<gem_loader>, [">= 0.2.0"])
60
+ s.add_dependency(%q<actionpack>, ["~> 2.3.5"])
61
+ s.add_dependency(%q<addressable>, [">= 2.1.1"])
62
+ s.add_dependency(%q<rspec>, [">= 1.3.0"])
63
+ end
64
+ end
65
+
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sunteya
@@ -80,16 +80,17 @@ executables: []
80
80
  extensions: []
81
81
 
82
82
  extra_rdoc_files:
83
- - README
83
+ - README.markdown
84
84
  files:
85
85
  - .gitignore
86
- - README
86
+ - README.markdown
87
87
  - Rakefile
88
88
  - VERSION
89
89
  - depends.rb
90
90
  - lib/path_rewriter.rb
91
91
  - lib/path_rewriter/rails.rb
92
92
  - lib/path_rewriter/url_codec.rb
93
+ - path_rewriter.gemspec
93
94
  - spec/path_rewriter/url_codec_spec.rb
94
95
  - spec/path_rewriter_spec.rb
95
96
  - spec/spec.opts
data/README DELETED
File without changes