sinatra-r18n 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/sinatra-r18n.gemspec CHANGED
@@ -27,13 +27,4 @@ Gem::Specification.new do |s|
27
27
 
28
28
  s.add_dependency 'sinatra', [">= 1.3"]
29
29
  s.add_dependency 'r18n-core', ["= #{R18n::VERSION}"]
30
-
31
- s.add_development_dependency "bundler", [">= 1.0.10"]
32
- s.add_development_dependency "yard", [">= 0"]
33
- s.add_development_dependency "rake", [">= 0", "!= 0.9.0"]
34
- s.add_development_dependency "rack-test", [">= 0"]
35
- s.add_development_dependency "rspec-core", [">= 0"]
36
- s.add_development_dependency "rspec-expectations", [">= 0"]
37
- s.add_development_dependency "rspec-mocks", [">= 0"]
38
- s.add_development_dependency "redcarpet", [">= 0"]
39
30
  end
@@ -7,8 +7,8 @@ describe Sinatra::R18n do
7
7
  end
8
8
 
9
9
  after do
10
- set :default_locale, 'en'
11
- set :environment, :test
10
+ app.set :default_locale, 'en'
11
+ app.set :environment, :test
12
12
  end
13
13
 
14
14
  it "should translate messages" do
@@ -24,7 +24,7 @@ describe Sinatra::R18n do
24
24
  end
25
25
 
26
26
  it "should use default locale" do
27
- set :default_locale, 'ru'
27
+ app.set :default_locale, 'ru'
28
28
  get '/locale'
29
29
  last_response.should be_ok
30
30
  last_response.body.should == 'Русский'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-r18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-13 00:00:00.000000000 Z
12
+ date: 2013-08-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sinatra
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - '='
36
36
  - !ruby/object:Gem::Version
37
- version: 1.1.5
37
+ version: 1.1.6
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,141 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - '='
44
44
  - !ruby/object:Gem::Version
45
- version: 1.1.5
46
- - !ruby/object:Gem::Dependency
47
- name: bundler
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: 1.0.10
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: 1.0.10
62
- - !ruby/object:Gem::Dependency
63
- name: yard
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ! '>='
68
- - !ruby/object:Gem::Version
69
- version: '0'
70
- type: :development
71
- prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0'
78
- - !ruby/object:Gem::Dependency
79
- name: rake
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ! '>='
84
- - !ruby/object:Gem::Version
85
- version: '0'
86
- - - ! '!='
87
- - !ruby/object:Gem::Version
88
- version: 0.9.0
89
- type: :development
90
- prerelease: false
91
- version_requirements: !ruby/object:Gem::Requirement
92
- none: false
93
- requirements:
94
- - - ! '>='
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - - ! '!='
98
- - !ruby/object:Gem::Version
99
- version: 0.9.0
100
- - !ruby/object:Gem::Dependency
101
- name: rack-test
102
- requirement: !ruby/object:Gem::Requirement
103
- none: false
104
- requirements:
105
- - - ! '>='
106
- - !ruby/object:Gem::Version
107
- version: '0'
108
- type: :development
109
- prerelease: false
110
- version_requirements: !ruby/object:Gem::Requirement
111
- none: false
112
- requirements:
113
- - - ! '>='
114
- - !ruby/object:Gem::Version
115
- version: '0'
116
- - !ruby/object:Gem::Dependency
117
- name: rspec-core
118
- requirement: !ruby/object:Gem::Requirement
119
- none: false
120
- requirements:
121
- - - ! '>='
122
- - !ruby/object:Gem::Version
123
- version: '0'
124
- type: :development
125
- prerelease: false
126
- version_requirements: !ruby/object:Gem::Requirement
127
- none: false
128
- requirements:
129
- - - ! '>='
130
- - !ruby/object:Gem::Version
131
- version: '0'
132
- - !ruby/object:Gem::Dependency
133
- name: rspec-expectations
134
- requirement: !ruby/object:Gem::Requirement
135
- none: false
136
- requirements:
137
- - - ! '>='
138
- - !ruby/object:Gem::Version
139
- version: '0'
140
- type: :development
141
- prerelease: false
142
- version_requirements: !ruby/object:Gem::Requirement
143
- none: false
144
- requirements:
145
- - - ! '>='
146
- - !ruby/object:Gem::Version
147
- version: '0'
148
- - !ruby/object:Gem::Dependency
149
- name: rspec-mocks
150
- requirement: !ruby/object:Gem::Requirement
151
- none: false
152
- requirements:
153
- - - ! '>='
154
- - !ruby/object:Gem::Version
155
- version: '0'
156
- type: :development
157
- prerelease: false
158
- version_requirements: !ruby/object:Gem::Requirement
159
- none: false
160
- requirements:
161
- - - ! '>='
162
- - !ruby/object:Gem::Version
163
- version: '0'
164
- - !ruby/object:Gem::Dependency
165
- name: redcarpet
166
- requirement: !ruby/object:Gem::Requirement
167
- none: false
168
- requirements:
169
- - - ! '>='
170
- - !ruby/object:Gem::Version
171
- version: '0'
172
- type: :development
173
- prerelease: false
174
- version_requirements: !ruby/object:Gem::Requirement
175
- none: false
176
- requirements:
177
- - - ! '>='
178
- - !ruby/object:Gem::Version
179
- version: '0'
45
+ version: 1.1.6
180
46
  description: ! " A Sinatra extension that provides i18n support to translate your
181
47
  web\n application. It is just a wrapper for R18n core library.\n It has nice
182
48
  Ruby-style syntax, filters, flexible locales, custom loaders,\n translation support
@@ -217,7 +83,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
217
83
  version: '0'
218
84
  segments:
219
85
  - 0
220
- hash: -110521893967614443
86
+ hash: -3668101867439560857
221
87
  required_rubygems_version: !ruby/object:Gem::Requirement
222
88
  none: false
223
89
  requirements:
@@ -226,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
226
92
  version: '0'
227
93
  segments:
228
94
  - 0
229
- hash: -110521893967614443
95
+ hash: -3668101867439560857
230
96
  requirements: []
231
97
  rubyforge_project:
232
98
  rubygems_version: 1.8.23