sitemap 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sitemap.rb +0 -13
- data/lib/sitemap/ping.rb +2 -2
- data/lib/sitemap/version.rb +1 -1
- metadata +20 -20
data/lib/sitemap.rb
CHANGED
@@ -24,17 +24,4 @@ module Sitemap
|
|
24
24
|
yield configuration
|
25
25
|
end
|
26
26
|
|
27
|
-
# mattr_accessor :defaults
|
28
|
-
|
29
|
-
# self.defaults = {
|
30
|
-
# :params => {},
|
31
|
-
# :search => {
|
32
|
-
# :updated_at => proc { |obj|
|
33
|
-
# obj.updated_at.strftime("%Y-%m-%d") if obj.respond_to?(:updated_at)
|
34
|
-
# }
|
35
|
-
# },
|
36
|
-
# :query_batch_size => 500,
|
37
|
-
# :max_urls => 10000
|
38
|
-
# }
|
39
|
-
|
40
27
|
end
|
data/lib/sitemap/ping.rb
CHANGED
@@ -7,8 +7,8 @@ module Sitemap
|
|
7
7
|
|
8
8
|
SEARCH_ENGINES = {
|
9
9
|
"Google" => "http://www.google.com/webmasters/tools/ping?sitemap=%s",
|
10
|
-
"
|
11
|
-
"
|
10
|
+
"Bing" => "http://www.bing.com/webmaster/ping.aspx?siteMap=%s",
|
11
|
+
"Yandex" => "http://webmaster.yandex.ru/wmconsole/sitemap_list.xml?host=%s"
|
12
12
|
}
|
13
13
|
|
14
14
|
def self.send_request(file_path = false)
|
data/lib/sitemap/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sitemap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-07-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sqlite3
|
16
|
-
requirement: &
|
16
|
+
requirement: &15455960 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *15455960
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: nokogiri
|
27
|
-
requirement: &
|
27
|
+
requirement: &15472180 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *15472180
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: minitest
|
38
|
-
requirement: &
|
38
|
+
requirement: &15471260 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *15471260
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rails
|
49
|
-
requirement: &
|
49
|
+
requirement: &15470520 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 3.0.0
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *15470520
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: nokogiri
|
60
|
-
requirement: &
|
60
|
+
requirement: &15469440 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,26 +65,26 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *15469440
|
69
69
|
description: A simple ruby on rails sitemap generator
|
70
70
|
email: daniel@viseztrance.com
|
71
71
|
executables: []
|
72
72
|
extensions: []
|
73
73
|
extra_rdoc_files: []
|
74
74
|
files:
|
75
|
-
- lib/
|
76
|
-
- lib/sitemap/
|
77
|
-
- lib/sitemap/
|
75
|
+
- lib/sitemap.rb
|
76
|
+
- lib/generators/sitemap/install_generator.rb
|
77
|
+
- lib/generators/sitemap/templates/sitemap.rb
|
78
|
+
- lib/generators/sitemap/USAGE
|
78
79
|
- lib/sitemap/store.rb
|
80
|
+
- lib/sitemap/ping.rb
|
79
81
|
- lib/sitemap/configuration.rb
|
80
82
|
- lib/sitemap/generator.rb
|
81
83
|
- lib/sitemap/version.rb
|
84
|
+
- lib/sitemap/railtie.rb
|
85
|
+
- lib/tasks/sitemap.rake
|
82
86
|
- lib/views/index.xml.builder
|
83
87
|
- lib/views/fragment.xml.builder
|
84
|
-
- lib/sitemap.rb
|
85
|
-
- lib/generators/sitemap/USAGE
|
86
|
-
- lib/generators/sitemap/install_generator.rb
|
87
|
-
- lib/generators/sitemap/templates/sitemap.rb
|
88
88
|
- README.md
|
89
89
|
- LICENSE
|
90
90
|
- Rakefile
|
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project:
|
112
|
-
rubygems_version: 1.8.
|
112
|
+
rubygems_version: 1.8.17
|
113
113
|
signing_key:
|
114
114
|
specification_version: 3
|
115
115
|
summary: Sitemap
|