sinatra-r18n 0.4.13 → 0.4.14
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +3 -0
- data/Gemfile.lock +16 -23
- data/Rakefile +6 -19
- data/sinatra-r18n.gemspec +6 -7
- metadata +19 -31
data/.yardopts
ADDED
data/Gemfile.lock
CHANGED
@@ -1,55 +1,48 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
sinatra-r18n (0.4.
|
5
|
-
r18n-core (= 0.4.
|
4
|
+
sinatra-r18n (0.4.14)
|
5
|
+
r18n-core (= 0.4.14)
|
6
6
|
sinatra (>= 1.3)
|
7
7
|
|
8
8
|
PATH
|
9
9
|
remote: ../r18n-core/
|
10
10
|
specs:
|
11
|
-
r18n-core (0.4.
|
11
|
+
r18n-core (0.4.14)
|
12
12
|
|
13
13
|
GEM
|
14
14
|
remote: http://rubygems.org/
|
15
15
|
specs:
|
16
16
|
diff-lcs (1.1.3)
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
rake (~> 0.8.2)
|
21
|
-
rdoc (~> 2.3.0)
|
22
|
-
psych (1.2.1)
|
23
|
-
rack (1.3.4)
|
24
|
-
rack-protection (1.1.2)
|
17
|
+
psych (1.2.2)
|
18
|
+
rack (1.4.1)
|
19
|
+
rack-protection (1.2.0)
|
25
20
|
rack
|
26
21
|
rack-test (0.6.1)
|
27
22
|
rack (>= 1.0)
|
28
|
-
rake (0.
|
29
|
-
|
30
|
-
|
31
|
-
rspec-core (2.6.4)
|
32
|
-
rspec-expectations (2.6.0)
|
23
|
+
rake (0.9.2.2)
|
24
|
+
rspec-core (2.8.0)
|
25
|
+
rspec-expectations (2.8.0)
|
33
26
|
diff-lcs (~> 1.1.2)
|
34
|
-
rspec-mocks (2.
|
35
|
-
sinatra (1.3.
|
36
|
-
rack (~> 1.3)
|
37
|
-
rack-protection (~> 1.
|
38
|
-
tilt (~> 1.3)
|
27
|
+
rspec-mocks (2.8.0)
|
28
|
+
sinatra (1.3.2)
|
29
|
+
rack (~> 1.3, >= 1.3.6)
|
30
|
+
rack-protection (~> 1.2)
|
31
|
+
tilt (~> 1.3, >= 1.3.3)
|
39
32
|
tilt (1.3.3)
|
33
|
+
yard (0.7.4)
|
40
34
|
|
41
35
|
PLATFORMS
|
42
36
|
ruby
|
43
37
|
|
44
38
|
DEPENDENCIES
|
45
39
|
bundler (>= 1.0.10)
|
46
|
-
hanna
|
47
40
|
psych
|
48
41
|
r18n-core!
|
49
42
|
rack-test
|
50
43
|
rake (>= 0, != 0.9.0)
|
51
|
-
rcov
|
52
44
|
rspec-core
|
53
45
|
rspec-expectations
|
54
46
|
rspec-mocks
|
55
47
|
sinatra-r18n!
|
48
|
+
yard
|
data/Rakefile
CHANGED
@@ -9,12 +9,6 @@ rescue LoadError
|
|
9
9
|
puts "Bundler not available. Install it with: gem install bundler"
|
10
10
|
end
|
11
11
|
|
12
|
-
begin
|
13
|
-
require 'hanna/rdoctask'
|
14
|
-
rescue LoadError
|
15
|
-
require 'rake/rdoctask'
|
16
|
-
end
|
17
|
-
|
18
12
|
PKG_NAME = 'sinatra-r18n'
|
19
13
|
require '../r18n-core/lib/r18n-core/version'
|
20
14
|
|
@@ -22,24 +16,17 @@ require 'rspec/core/rake_task'
|
|
22
16
|
|
23
17
|
RSpec::Core::RakeTask.new
|
24
18
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
t.rcov_opts = ['--text-summary', '--charset UTF-8', '-x gem']
|
19
|
+
require 'yard'
|
20
|
+
YARD::Rake::YardocTask.new do |yard|
|
21
|
+
yard.options << "--title='Sinatra R18n #{R18n::VERSION}'"
|
29
22
|
end
|
30
23
|
|
31
|
-
|
32
|
-
|
33
|
-
rdoc.rdoc_files.include('README.rdoc', 'LICENSE', 'lib/**/*.rb')
|
34
|
-
rdoc.title = "Sinatra R18n #{R18n::VERSION} Documentation"
|
35
|
-
rdoc.rdoc_dir = 'doc'
|
36
|
-
rdoc.options << '-c utf-8'
|
37
|
-
rdoc.options << '--all'
|
24
|
+
task :clobber_doc do
|
25
|
+
rm_r 'doc' rescue nil
|
38
26
|
end
|
39
|
-
|
40
27
|
task :clobber_package do
|
41
28
|
rm_r 'pkg' rescue nil
|
42
29
|
end
|
43
|
-
task :clobber => [:clobber_package]
|
30
|
+
task :clobber => [:clobber_package, :clobber_doc]
|
44
31
|
|
45
32
|
task :default => :spec
|
data/sinatra-r18n.gemspec
CHANGED
@@ -29,12 +29,11 @@ Gem::Specification.new do |s|
|
|
29
29
|
s.add_dependency 'sinatra', [">= 1.3"]
|
30
30
|
s.add_dependency 'r18n-core', ["= #{R18n::VERSION}"]
|
31
31
|
|
32
|
-
s.add_development_dependency "bundler",
|
33
|
-
s.add_development_dependency "
|
34
|
-
s.add_development_dependency "rake",
|
35
|
-
s.add_development_dependency "rack-test",
|
36
|
-
s.add_development_dependency "rspec-core",
|
32
|
+
s.add_development_dependency "bundler", [">= 1.0.10"]
|
33
|
+
s.add_development_dependency "yard", [">= 0"]
|
34
|
+
s.add_development_dependency "rake", [">= 0", "!= 0.9.0"]
|
35
|
+
s.add_development_dependency "rack-test", [">= 0"]
|
36
|
+
s.add_development_dependency "rspec-core", [">= 0"]
|
37
37
|
s.add_development_dependency "rspec-expectations", [">= 0"]
|
38
|
-
s.add_development_dependency "rspec-mocks",
|
39
|
-
s.add_development_dependency "rcov", [">= 0"]
|
38
|
+
s.add_development_dependency "rspec-mocks", [">= 0"]
|
40
39
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-r18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 14
|
10
|
+
version: 0.4.14
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Andrey "A.I." Sitnik
|
@@ -15,12 +15,11 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2012-01-25 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
type: :runtime
|
22
22
|
name: sinatra
|
23
|
-
prerelease: false
|
24
23
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
25
24
|
none: false
|
26
25
|
requirements:
|
@@ -31,27 +30,27 @@ dependencies:
|
|
31
30
|
- 1
|
32
31
|
- 3
|
33
32
|
version: "1.3"
|
33
|
+
prerelease: false
|
34
34
|
requirement: *id001
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
type: :runtime
|
37
37
|
name: r18n-core
|
38
|
-
prerelease: false
|
39
38
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
40
39
|
none: false
|
41
40
|
requirements:
|
42
41
|
- - "="
|
43
42
|
- !ruby/object:Gem::Version
|
44
|
-
hash:
|
43
|
+
hash: 19
|
45
44
|
segments:
|
46
45
|
- 0
|
47
46
|
- 4
|
48
|
-
-
|
49
|
-
version: 0.4.
|
47
|
+
- 14
|
48
|
+
version: 0.4.14
|
49
|
+
prerelease: false
|
50
50
|
requirement: *id002
|
51
51
|
- !ruby/object:Gem::Dependency
|
52
52
|
type: :development
|
53
53
|
name: bundler
|
54
|
-
prerelease: false
|
55
54
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
56
55
|
none: false
|
57
56
|
requirements:
|
@@ -63,11 +62,11 @@ dependencies:
|
|
63
62
|
- 0
|
64
63
|
- 10
|
65
64
|
version: 1.0.10
|
65
|
+
prerelease: false
|
66
66
|
requirement: *id003
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
type: :development
|
69
|
-
name:
|
70
|
-
prerelease: false
|
69
|
+
name: yard
|
71
70
|
version_requirements: &id004 !ruby/object:Gem::Requirement
|
72
71
|
none: false
|
73
72
|
requirements:
|
@@ -77,11 +76,11 @@ dependencies:
|
|
77
76
|
segments:
|
78
77
|
- 0
|
79
78
|
version: "0"
|
79
|
+
prerelease: false
|
80
80
|
requirement: *id004
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
type: :development
|
83
83
|
name: rake
|
84
|
-
prerelease: false
|
85
84
|
version_requirements: &id005 !ruby/object:Gem::Requirement
|
86
85
|
none: false
|
87
86
|
requirements:
|
@@ -99,11 +98,11 @@ dependencies:
|
|
99
98
|
- 9
|
100
99
|
- 0
|
101
100
|
version: 0.9.0
|
101
|
+
prerelease: false
|
102
102
|
requirement: *id005
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
type: :development
|
105
105
|
name: rack-test
|
106
|
-
prerelease: false
|
107
106
|
version_requirements: &id006 !ruby/object:Gem::Requirement
|
108
107
|
none: false
|
109
108
|
requirements:
|
@@ -113,11 +112,11 @@ dependencies:
|
|
113
112
|
segments:
|
114
113
|
- 0
|
115
114
|
version: "0"
|
115
|
+
prerelease: false
|
116
116
|
requirement: *id006
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
type: :development
|
119
119
|
name: rspec-core
|
120
|
-
prerelease: false
|
121
120
|
version_requirements: &id007 !ruby/object:Gem::Requirement
|
122
121
|
none: false
|
123
122
|
requirements:
|
@@ -127,11 +126,11 @@ dependencies:
|
|
127
126
|
segments:
|
128
127
|
- 0
|
129
128
|
version: "0"
|
129
|
+
prerelease: false
|
130
130
|
requirement: *id007
|
131
131
|
- !ruby/object:Gem::Dependency
|
132
132
|
type: :development
|
133
133
|
name: rspec-expectations
|
134
|
-
prerelease: false
|
135
134
|
version_requirements: &id008 !ruby/object:Gem::Requirement
|
136
135
|
none: false
|
137
136
|
requirements:
|
@@ -141,11 +140,11 @@ dependencies:
|
|
141
140
|
segments:
|
142
141
|
- 0
|
143
142
|
version: "0"
|
143
|
+
prerelease: false
|
144
144
|
requirement: *id008
|
145
145
|
- !ruby/object:Gem::Dependency
|
146
146
|
type: :development
|
147
147
|
name: rspec-mocks
|
148
|
-
prerelease: false
|
149
148
|
version_requirements: &id009 !ruby/object:Gem::Requirement
|
150
149
|
none: false
|
151
150
|
requirements:
|
@@ -155,21 +154,8 @@ dependencies:
|
|
155
154
|
segments:
|
156
155
|
- 0
|
157
156
|
version: "0"
|
158
|
-
requirement: *id009
|
159
|
-
- !ruby/object:Gem::Dependency
|
160
|
-
type: :development
|
161
|
-
name: rcov
|
162
157
|
prerelease: false
|
163
|
-
|
164
|
-
none: false
|
165
|
-
requirements:
|
166
|
-
- - ">="
|
167
|
-
- !ruby/object:Gem::Version
|
168
|
-
hash: 3
|
169
|
-
segments:
|
170
|
-
- 0
|
171
|
-
version: "0"
|
172
|
-
requirement: *id010
|
158
|
+
requirement: *id009
|
173
159
|
description: " A Sinatra extension that provides i18n support to translate your web\n application. It is just a wrapper for R18n core library.\n It has nice Ruby-style syntax, filters, flexible locales, custom loaders,\n translation support for any classes, time and number localization, several\n user language support, agnostic core package with out-of-box support for\n Rails, Sinatra, Merb and desktop applications.\n"
|
174
160
|
email: andrey@sitnik.ru
|
175
161
|
executables: []
|
@@ -181,6 +167,7 @@ extra_rdoc_files:
|
|
181
167
|
- LICENSE
|
182
168
|
files:
|
183
169
|
- .rspec
|
170
|
+
- .yardopts
|
184
171
|
- Gemfile
|
185
172
|
- Gemfile.lock
|
186
173
|
- LICENSE
|
@@ -229,3 +216,4 @@ specification_version: 3
|
|
229
216
|
summary: A Sinatra extension that provides i18n support to translate your web application.
|
230
217
|
test_files: []
|
231
218
|
|
219
|
+
has_rdoc:
|