tr8n 3.1.6 → 3.1.7

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tr8n
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.6
4
+ version: 3.1.7
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-01-06 00:00:00.000000000Z
12
+ date: 2012-01-12 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &2164773560 !ruby/object:Gem::Requirement
16
+ requirement: &2161020140 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2164773560
24
+ version_requirements: *2161020140
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: will_filter
27
- requirement: &2164772700 !ruby/object:Gem::Requirement
27
+ requirement: &2161018480 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 3.1.2
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2164772700
35
+ version_requirements: *2161018480
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: kaminari
38
- requirement: &2164772000 !ruby/object:Gem::Requirement
38
+ requirement: &2161017580 !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: :runtime
45
45
  prerelease: false
46
- version_requirements: *2164772000
46
+ version_requirements: *2161017580
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: sass
49
- requirement: &2164771300 !ruby/object:Gem::Requirement
49
+ requirement: &2161016440 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *2164771300
57
+ version_requirements: *2161016440
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: coffee-script
60
- requirement: &2164770460 !ruby/object:Gem::Requirement
60
+ requirement: &2161015140 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *2164770460
68
+ version_requirements: *2161015140
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: pry
71
- requirement: &2164769780 !ruby/object:Gem::Requirement
71
+ requirement: &2161013980 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *2164769780
79
+ version_requirements: *2161013980
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: bundler
82
- requirement: &2164764600 !ruby/object:Gem::Requirement
82
+ requirement: &2161012960 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: 1.0.0
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *2164764600
90
+ version_requirements: *2161012960
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: sqlite3
93
- requirement: &2164763580 !ruby/object:Gem::Requirement
93
+ requirement: &2161011440 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: '0'
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *2164763580
101
+ version_requirements: *2161011440
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: rspec
104
- requirement: &2164762820 !ruby/object:Gem::Requirement
104
+ requirement: &2161009940 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: '0'
110
110
  type: :development
111
111
  prerelease: false
112
- version_requirements: *2164762820
112
+ version_requirements: *2161009940
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: rspec-rails
115
- requirement: &2164761940 !ruby/object:Gem::Requirement
115
+ requirement: &2161008580 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ! '>='
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: '0'
121
121
  type: :development
122
122
  prerelease: false
123
- version_requirements: *2164761940
123
+ version_requirements: *2161008580
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: factory_girl
126
- requirement: &2164761040 !ruby/object:Gem::Requirement
126
+ requirement: &2161006680 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - ! '>='
@@ -131,10 +131,10 @@ dependencies:
131
131
  version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
- version_requirements: *2164761040
134
+ version_requirements: *2161006680
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: rr
137
- requirement: &2164760200 !ruby/object:Gem::Requirement
137
+ requirement: &2161005100 !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements:
140
140
  - - ! '>='
@@ -142,10 +142,10 @@ dependencies:
142
142
  version: '0'
143
143
  type: :development
144
144
  prerelease: false
145
- version_requirements: *2164760200
145
+ version_requirements: *2161005100
146
146
  - !ruby/object:Gem::Dependency
147
147
  name: steak
148
- requirement: &2164759440 !ruby/object:Gem::Requirement
148
+ requirement: &2161003840 !ruby/object:Gem::Requirement
149
149
  none: false
150
150
  requirements:
151
151
  - - ! '>='
@@ -153,10 +153,10 @@ dependencies:
153
153
  version: '0'
154
154
  type: :development
155
155
  prerelease: false
156
- version_requirements: *2164759440
156
+ version_requirements: *2161003840
157
157
  - !ruby/object:Gem::Dependency
158
158
  name: capybara
159
- requirement: &2164758620 !ruby/object:Gem::Requirement
159
+ requirement: &2161002700 !ruby/object:Gem::Requirement
160
160
  none: false
161
161
  requirements:
162
162
  - - ! '>='
@@ -164,10 +164,10 @@ dependencies:
164
164
  version: '0'
165
165
  type: :development
166
166
  prerelease: false
167
- version_requirements: *2164758620
167
+ version_requirements: *2161002700
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: database_cleaner
170
- requirement: &2164757760 !ruby/object:Gem::Requirement
170
+ requirement: &2161001520 !ruby/object:Gem::Requirement
171
171
  none: false
172
172
  requirements:
173
173
  - - ! '>='
@@ -175,10 +175,10 @@ dependencies:
175
175
  version: '0'
176
176
  type: :development
177
177
  prerelease: false
178
- version_requirements: *2164757760
178
+ version_requirements: *2161001520
179
179
  - !ruby/object:Gem::Dependency
180
180
  name: memcache-client
181
- requirement: &2164756800 !ruby/object:Gem::Requirement
181
+ requirement: &2161000540 !ruby/object:Gem::Requirement
182
182
  none: false
183
183
  requirements:
184
184
  - - ! '>='
@@ -186,7 +186,7 @@ dependencies:
186
186
  version: 1.8.5
187
187
  type: :development
188
188
  prerelease: false
189
- version_requirements: *2164756800
189
+ version_requirements: *2161000540
190
190
  description: Crowd-sourced translation and localization engine for Rails.
191
191
  email:
192
192
  - michael@tr8n.net
@@ -573,8 +573,11 @@ files:
573
573
  - app/assets/javascripts/tr8n/tr8n.js
574
574
  - app/assets/javascripts/tr8n/tr8n_client_sdk.js
575
575
  - app/assets/javascripts/tr8n/tr8n_prototype_effects.js
576
+ - app/assets/stylesheets/tr8n/admin.css.scss
577
+ - app/assets/stylesheets/tr8n/components.css.scss
576
578
  - app/assets/stylesheets/tr8n/keyboard_1_36.css
577
579
  - app/assets/stylesheets/tr8n/keyboard_1_44.css
580
+ - app/assets/stylesheets/tr8n/layout.css.scss
578
581
  - app/assets/stylesheets/tr8n/tr8n.css.scss
579
582
  - app/controllers/tr8n/admin/base_controller.rb
580
583
  - app/controllers/tr8n/admin/clientsdk_controller.rb
@@ -587,9 +590,7 @@ files:
587
590
  - app/controllers/tr8n/admin/translator_controller.rb
588
591
  - app/controllers/tr8n/api/v1/base_controller.rb
589
592
  - app/controllers/tr8n/api/v1/language_controller.rb
590
- - app/controllers/tr8n/api/v1/sync_controller.rb
591
593
  - app/controllers/tr8n/api/v1/translation_controller.rb
592
- - app/controllers/tr8n/api/v1/translator_controller.rb
593
594
  - app/controllers/tr8n/awards_controller.rb
594
595
  - app/controllers/tr8n/base_controller.rb
595
596
  - app/controllers/tr8n/dashboard_controller.rb
@@ -900,8 +901,8 @@ files:
900
901
  - lib/tr8n/version.rb
901
902
  - local/tr8n_server/Rakefile
902
903
  - local/tr8n_server/app/assets/javascripts/application.js
903
- - local/tr8n_server/app/assets/stylesheets/admin.css
904
- - local/tr8n_server/app/assets/stylesheets/application.css
904
+ - local/tr8n_server/app/assets/stylesheets/admin.css.scss
905
+ - local/tr8n_server/app/assets/stylesheets/application.css.scss
905
906
  - local/tr8n_server/app/assets/stylesheets/components.css.scss
906
907
  - local/tr8n_server/app/assets/stylesheets/layout.css.scss
907
908
  - local/tr8n_server/app/controllers/admin/admins_controller.rb
@@ -1006,7 +1007,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
1006
1007
  version: '0'
1007
1008
  segments:
1008
1009
  - 0
1009
- hash: 10071629170750443
1010
+ hash: -3500293524521491792
1010
1011
  required_rubygems_version: !ruby/object:Gem::Requirement
1011
1012
  none: false
1012
1013
  requirements:
@@ -1015,7 +1016,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1015
1016
  version: '0'
1016
1017
  segments:
1017
1018
  - 0
1018
- hash: 10071629170750443
1019
+ hash: -3500293524521491792
1019
1020
  requirements: []
1020
1021
  rubyforge_project: tr8n
1021
1022
  rubygems_version: 1.8.11
@@ -1025,8 +1026,8 @@ summary: Crowd-sourced translation engine for Rails.
1025
1026
  test_files:
1026
1027
  - local/tr8n_server/Rakefile
1027
1028
  - local/tr8n_server/app/assets/javascripts/application.js
1028
- - local/tr8n_server/app/assets/stylesheets/admin.css
1029
- - local/tr8n_server/app/assets/stylesheets/application.css
1029
+ - local/tr8n_server/app/assets/stylesheets/admin.css.scss
1030
+ - local/tr8n_server/app/assets/stylesheets/application.css.scss
1030
1031
  - local/tr8n_server/app/assets/stylesheets/components.css.scss
1031
1032
  - local/tr8n_server/app/assets/stylesheets/layout.css.scss
1032
1033
  - local/tr8n_server/app/controllers/admin/admins_controller.rb
@@ -1,30 +0,0 @@
1
- #--
2
- # Copyright (c) 2010-2011 Michael Berkovich
3
- #
4
- # Permission is hereby granted, free of charge, to any person obtaining
5
- # a copy of this software and associated documentation files (the
6
- # "Software"), to deal in the Software without restriction, including
7
- # without limitation the rights to use, copy, modify, merge, publish,
8
- # distribute, sublicense, and/or sell copies of the Software, and to
9
- # permit persons to whom the Software is furnished to do so, subject to
10
- # the following conditions:
11
- #
12
- # The above copyright notice and this permission notice shall be
13
- # included in all copies or substantial portions of the Software.
14
- #
15
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
- # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
- # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
- # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19
- # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20
- # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21
- # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
- #++
23
-
24
- class Tr8n::Api::V1::SyncController < Tr8n::Api::V1::BaseController
25
-
26
- def index
27
-
28
- end
29
-
30
- end
@@ -1,34 +0,0 @@
1
- #--
2
- # Copyright (c) 2010-2011 Michael Berkovich
3
- #
4
- # Permission is hereby granted, free of charge, to any person obtaining
5
- # a copy of this software and associated documentation files (the
6
- # "Software"), to deal in the Software without restriction, including
7
- # without limitation the rights to use, copy, modify, merge, publish,
8
- # distribute, sublicense, and/or sell copies of the Software, and to
9
- # permit persons to whom the Software is furnished to do so, subject to
10
- # the following conditions:
11
- #
12
- # The above copyright notice and this permission notice shall be
13
- # included in all copies or substantial portions of the Software.
14
- #
15
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
- # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
- # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
- # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19
- # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20
- # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21
- # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
- #++
23
-
24
- class Tr8n::Api::V1::TranslatorController < Tr8n::Api::V1::BaseController
25
-
26
- # returns a list of all languages
27
- def index
28
- return sanitize_api_response({:error => "Api is disabled"}) unless Tr8n::Config.enable_api?
29
- return sanitize_api_response({:guest => true}) if tr8n_current_user_is_guest?
30
-
31
- sanitize_api_response({:guest => false, :name => tr8n_current_translator.name})
32
- end
33
-
34
- end