Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

file modes

  • Loading branch information...
commit 34904c5f2b749e2eaf6189548fc5c516f22776f8 1 parent c4c425b
root authored
Showing with 3 additions and 3 deletions.
  1. 0  .gitignore
  2. 0  GEMS
  3. 0  README.rdoc
  4. 0  Rakefile
  5. 0  app/controllers/application.rb
  6. 0  app/controllers/articles.rb
  7. 0  app/controllers/exceptions.rb
  8. 0  app/helpers/articles_helper.rb
  9. 0  app/helpers/global_helpers.rb
  10. 0  app/helpers/statistics_helper.rb
  11. 0  app/models/article.rb
  12. 0  app/models/device.rb
  13. 0  app/models/parsers/image.rb
  14. 0  app/models/parsers/wml.rb
  15. 0  app/models/parsers/xhtml.rb
  16. 0  app/models/server.rb
  17. 0  app/models/wikipedia_resource.rb
  18. 0  app/views/articles/file.html.haml
  19. 0  app/views/articles/home.html.haml
  20. 0  app/views/articles/home.json.haml
  21. 0  app/views/articles/show.html.haml
  22. 0  app/views/articles/show.wml.haml
  23. 0  app/views/exceptions/not_acceptable.html.erb
  24. 0  app/views/exceptions/not_found.html.erb
  25. 0  app/views/exceptions/standard_error.html.erb
  26. 0  app/views/layout/_javascript.html.haml
  27. 0  app/views/layout/_search_default.html.haml
  28. 0  app/views/layout/_search_kindle.html.haml
  29. 0  app/views/layout/_search_webkit.html.haml
  30. 0  app/views/layout/_search_wml.html.haml
  31. 0  app/views/layout/application.html.haml
  32. 0  app/views/layout/application.wml.haml
  33. 0  app/views/layout/exceptions.html.haml
  34. 0  autotest/discover.rb
  35. 0  autotest/merb.rb
  36. 0  autotest/merb_rspec.rb
  37. +1 −1  config.ru
  38. 0  config/environments/development.rb
  39. 0  config/environments/production.rb
  40. 0  config/environments/rake.rb
  41. 0  config/environments/staging.rb
  42. 0  config/environments/test.rb
  43. 0  config/formats.yaml
  44. 0  config/hoptoad.yml
  45. 0  config/init.rb
  46. 0  config/rackup.ru
  47. 0  config/router.rb
  48. 0  config/wikipedias.yaml
  49. 0  doc/rdoc/generators/merb_generator.rb
  50. 0  doc/rdoc/generators/template/merb/api_grease.js
  51. 0  doc/rdoc/generators/template/merb/index.html.erb
  52. 0  doc/rdoc/generators/template/merb/merb.css
  53. 0  doc/rdoc/generators/template/merb/merb.rb
  54. 0  doc/rdoc/generators/template/merb/merb_doc_styles.css
  55. 0  doc/rdoc/generators/template/merb/prototype.js
  56. 0  lib/cache.rb
  57. 0  lib/log/merb.main.pid
  58. 0  lib/merb_hoptoad_notifier/LICENSE
  59. 0  lib/merb_hoptoad_notifier/README
  60. 0  lib/merb_hoptoad_notifier/TODO
  61. 0  lib/merb_hoptoad_notifier/lib/merb_hoptoad_notifier.rb
  62. 0  lib/merb_hoptoad_notifier/lib/merb_hoptoad_notifier/hoptoad_notifier.rb
  63. 0  lib/merb_hoptoad_notifier/lib/merb_hoptoad_notifier/merbtasks.rb
  64. 0  lib/merb_hoptoad_notifier/merb_hoptoad_notifier.gemspec
  65. 0  lib/merb_hoptoad_notifier/merbtasks.rb
  66. 0  lib/merb_hoptoad_notifier/spec/fixtures/hoptoad.yml
  67. 0  lib/merb_hoptoad_notifier/spec/merb_hoptoad_notifier_spec.rb
  68. 0  lib/merb_hoptoad_notifier/spec/spec.opts
  69. 0  lib/merb_hoptoad_notifier/spec/spec_helper.rb
  70. 0  lib/moneta/LICENSE
  71. 0  lib/moneta/README
  72. 0  lib/moneta/Rakefile
  73. 0  lib/moneta/TODO
  74. 0  lib/moneta/lib/moneta.rb
  75. 0  lib/moneta/lib/moneta/basic_file.rb
  76. 0  lib/moneta/lib/moneta/berkeley.rb
  77. 0  lib/moneta/lib/moneta/couch.rb
  78. 0  lib/moneta/lib/moneta/datamapper.rb
  79. 0  lib/moneta/lib/moneta/file.rb
  80. 0  lib/moneta/lib/moneta/lmc.rb
  81. 0  lib/moneta/lib/moneta/memcache.rb
  82. 0  lib/moneta/lib/moneta/memory.rb
  83. 0  lib/moneta/lib/moneta/mongodb.rb
  84. 0  lib/moneta/lib/moneta/redis.rb
  85. 0  lib/moneta/lib/moneta/rufus.rb
  86. 0  lib/moneta/lib/moneta/s3.rb
  87. 0  lib/moneta/lib/moneta/sdbm.rb
  88. 0  lib/moneta/lib/moneta/tyrant.rb
  89. 0  lib/moneta/lib/moneta/xattr.rb
  90. 0  lib/moneta/moneta.gemspec
  91. 0  lib/moneta/spec/moneta_basic_file_spec.rb
  92. 0  lib/moneta/spec/moneta_berkeley_spec.rb
  93. 0  lib/moneta/spec/moneta_couch_spec.rb
  94. 0  lib/moneta/spec/moneta_datamapper_spec.rb
  95. 0  lib/moneta/spec/moneta_file_spec.rb
  96. 0  lib/moneta/spec/moneta_lmc_spec.rb
  97. 0  lib/moneta/spec/moneta_memcache_spec.rb
  98. 0  lib/moneta/spec/moneta_memory_spec.rb
  99. 0  lib/moneta/spec/moneta_mongodb_spec.rb
  100. 0  lib/moneta/spec/moneta_redis_spec.rb
  101. 0  lib/moneta/spec/moneta_rufus_spec.rb
  102. 0  lib/moneta/spec/moneta_s3_spec.rb
  103. 0  lib/moneta/spec/moneta_sdbm_spec.rb
  104. 0  lib/moneta/spec/moneta_tyrant_spec.rb
  105. 0  lib/moneta/spec/moneta_xattr_spec.rb
  106. 0  lib/moneta/spec/shared.rb
  107. 0  lib/moneta/spec/spec_helper.rb
  108. 0  lib/object.rb
  109. 0  lib/tasks/todo.rake
  110. 0  lib/wikipedia/wikipedia.rb
  111. 0  merb.thor
  112. +2 −2 merb/extensions/request_extensions.rb
  113. 0  public/apple-touch-icon.png
  114. 0  public/favicon.ico
  115. 0  public/images/arrow.gif
  116. 0  public/images/logo-en.png
  117. 0  public/images/merb.jpg
  118. 0  public/images/w.gif
  119. 0  public/robots.txt
  120. 0  public/stylesheets/android.css
  121. 0  public/stylesheets/blackberry.css
  122. 0  public/stylesheets/default.css
  123. 0  public/stylesheets/firefox.css
  124. 0  public/stylesheets/kindle.css
  125. 0  public/stylesheets/sass/_tables.sass
  126. 0  public/stylesheets/sass/android.sass
  127. 0  public/stylesheets/sass/blackberry.sass
  128. 0  public/stylesheets/sass/default.sass
  129. 0  public/stylesheets/sass/firefox.sass
  130. 0  public/stylesheets/sass/kindle.sass
  131. 0  public/stylesheets/sass/webkit.sass
  132. 0  public/stylesheets/webkit.css
  133. 0  public/webkit.js
  134. 0  spec/fixtures/controllers/foo.rb
  135. 0  spec/fixtures/controllers/test_base.rb
  136. 0  spec/fixtures/controllers/views/layout/application.html.erb
  137. 0  spec/fixtures/controllers/views/layout/application.webkit.erb
  138. 0  spec/fixtures/controllers/views/layout/application.webkit_native.erb
  139. 0  spec/fixtures/file.gzip
  140. 0  spec/lib/cache_spec.rb
  141. 0  spec/merb/extensions/request_spec.rb
  142. 0  spec/models/article_spec.rb
  143. 0  spec/models/daily_usage_spec.rb
  144. 0  spec/models/device_spec.rb
  145. 0  spec/models/parsers/xhtml_spec.rb
  146. 0  spec/models/parsers/xhtml_spec_documents.rb
  147. 0  spec/requests/articles_spec.rb
  148. 0  spec/requests/statistics_spec.rb
  149. 0  spec/spec.opts
  150. 0  spec/spec_helper.rb
  151. 0  spec/spec_helpers/article_gzipped.rb
  152. 0  spec/spec_helpers/article_html.rb
  153. 0  spec/spec_helpers/request.rb
  154. 0  spec/spec_helpers/ua_strings.rb
  155. 0  stats/config.ru
  156. 0  stats/init.rb
  157. 0  stats/models/stat_segment.rb
  158. 0  stats/parse.rb
  159. 0  stats/public/.keep
  160. 0  stats/run.rb
  161. 0  stats/server.rb
  162. 0  stats/views/hourly.haml
  163. 0  stats/views/index.haml
  164. 0  stats/views/layout.haml
  165. 0  wikifake/server.rb
View
0  .gitignore 100644 → 100755
File mode changed
View
0  GEMS 100644 → 100755
File mode changed
View
0  README.rdoc 100644 → 100755
File mode changed
View
0  Rakefile 100644 → 100755
File mode changed
View
0  app/controllers/application.rb 100644 → 100755
File mode changed
View
0  app/controllers/articles.rb 100644 → 100755
File mode changed
View
0  app/controllers/exceptions.rb 100644 → 100755
File mode changed
View
0  app/helpers/articles_helper.rb 100644 → 100755
File mode changed
View
0  app/helpers/global_helpers.rb 100644 → 100755
File mode changed
View
0  app/helpers/statistics_helper.rb 100644 → 100755
File mode changed
View
0  app/models/article.rb 100644 → 100755
File mode changed
View
0  app/models/device.rb 100644 → 100755
File mode changed
View
0  app/models/parsers/image.rb 100644 → 100755
File mode changed
View
0  app/models/parsers/wml.rb 100644 → 100755
File mode changed
View
0  app/models/parsers/xhtml.rb 100644 → 100755
File mode changed
View
0  app/models/server.rb 100644 → 100755
File mode changed
View
0  app/models/wikipedia_resource.rb 100644 → 100755
File mode changed
View
0  app/views/articles/file.html.haml 100644 → 100755
File mode changed
View
0  app/views/articles/home.html.haml 100644 → 100755
File mode changed
View
0  app/views/articles/home.json.haml 100644 → 100755
File mode changed
View
0  app/views/articles/show.html.haml 100644 → 100755
File mode changed
View
0  app/views/articles/show.wml.haml 100644 → 100755
File mode changed
View
0  app/views/exceptions/not_acceptable.html.erb 100644 → 100755
File mode changed
View
0  app/views/exceptions/not_found.html.erb 100644 → 100755
File mode changed
View
0  app/views/exceptions/standard_error.html.erb 100644 → 100755
File mode changed
View
0  app/views/layout/_javascript.html.haml 100644 → 100755
File mode changed
View
0  app/views/layout/_search_default.html.haml 100644 → 100755
File mode changed
View
0  app/views/layout/_search_kindle.html.haml 100644 → 100755
File mode changed
View
0  app/views/layout/_search_webkit.html.haml 100644 → 100755
File mode changed
View
0  app/views/layout/_search_wml.html.haml 100644 → 100755
File mode changed
View
0  app/views/layout/application.html.haml 100644 → 100755
File mode changed
View
0  app/views/layout/application.wml.haml 100644 → 100755
File mode changed
View
0  app/views/layout/exceptions.html.haml 100644 → 100755
File mode changed
View
0  autotest/discover.rb 100644 → 100755
File mode changed
View
0  autotest/merb.rb 100644 → 100755
File mode changed
View
0  autotest/merb_rspec.rb 100644 → 100755
File mode changed
View
2  config.ru 100644 → 100755
@@ -9,7 +9,7 @@ require 'rubygems'
require 'merb-core'
-Merb::Config.setup(:merb_root => File.expand_path(File.dirname(__FILE__)),
+Merb::Config.setup(:merb_root => ::File.expand_path(::File.dirname(__FILE__)),
:environment => ENV['RACK_ENV'])
Merb.environment = "production"
Merb.root = Merb::Config[:merb_root]
View
0  config/environments/development.rb 100644 → 100755
File mode changed
View
0  config/environments/production.rb 100644 → 100755
File mode changed
View
0  config/environments/rake.rb 100644 → 100755
File mode changed
View
0  config/environments/staging.rb 100644 → 100755
File mode changed
View
0  config/environments/test.rb 100644 → 100755
File mode changed
View
0  config/formats.yaml 100644 → 100755
File mode changed
View
0  config/hoptoad.yml 100644 → 100755
File mode changed
View
0  config/init.rb 100644 → 100755
File mode changed
View
0  config/rackup.ru 100644 → 100755
File mode changed
View
0  config/router.rb 100644 → 100755
File mode changed
View
0  config/wikipedias.yaml 100644 → 100755
File mode changed
View
0  doc/rdoc/generators/merb_generator.rb 100644 → 100755
File mode changed
View
0  doc/rdoc/generators/template/merb/api_grease.js 100644 → 100755
File mode changed
View
0  doc/rdoc/generators/template/merb/index.html.erb 100644 → 100755
File mode changed
View
0  doc/rdoc/generators/template/merb/merb.css 100644 → 100755
File mode changed
View
0  doc/rdoc/generators/template/merb/merb.rb 100644 → 100755
File mode changed
View
0  doc/rdoc/generators/template/merb/merb_doc_styles.css 100644 → 100755
File mode changed
View
0  doc/rdoc/generators/template/merb/prototype.js 100644 → 100755
File mode changed
View
0  lib/cache.rb 100644 → 100755
File mode changed
View
0  lib/log/merb.main.pid 100644 → 100755
File mode changed
View
0  lib/merb_hoptoad_notifier/LICENSE 100644 → 100755
File mode changed
View
0  lib/merb_hoptoad_notifier/README 100644 → 100755
File mode changed
View
0  lib/merb_hoptoad_notifier/TODO 100644 → 100755
File mode changed
View
0  lib/merb_hoptoad_notifier/lib/merb_hoptoad_notifier.rb 100644 → 100755
File mode changed
View
0  lib/merb_hoptoad_notifier/lib/merb_hoptoad_notifier/hoptoad_notifier.rb 100644 → 100755
File mode changed
View
0  lib/merb_hoptoad_notifier/lib/merb_hoptoad_notifier/merbtasks.rb 100644 → 100755
File mode changed
View
0  lib/merb_hoptoad_notifier/merb_hoptoad_notifier.gemspec 100644 → 100755
File mode changed
View
0  lib/merb_hoptoad_notifier/merbtasks.rb 100644 → 100755
File mode changed
View
0  lib/merb_hoptoad_notifier/spec/fixtures/hoptoad.yml 100644 → 100755
File mode changed
View
0  lib/merb_hoptoad_notifier/spec/merb_hoptoad_notifier_spec.rb 100644 → 100755
File mode changed
View
0  lib/merb_hoptoad_notifier/spec/spec.opts 100644 → 100755
File mode changed
View
0  lib/merb_hoptoad_notifier/spec/spec_helper.rb 100644 → 100755
File mode changed
View
0  lib/moneta/LICENSE 100644 → 100755
File mode changed
View
0  lib/moneta/README 100644 → 100755
File mode changed
View
0  lib/moneta/Rakefile 100644 → 100755
File mode changed
View
0  lib/moneta/TODO 100644 → 100755
File mode changed
View
0  lib/moneta/lib/moneta.rb 100644 → 100755
File mode changed
View
0  lib/moneta/lib/moneta/basic_file.rb 100644 → 100755
File mode changed
View
0  lib/moneta/lib/moneta/berkeley.rb 100644 → 100755
File mode changed
View
0  lib/moneta/lib/moneta/couch.rb 100644 → 100755
File mode changed
View
0  lib/moneta/lib/moneta/datamapper.rb 100644 → 100755
File mode changed
View
0  lib/moneta/lib/moneta/file.rb 100644 → 100755
File mode changed
View
0  lib/moneta/lib/moneta/lmc.rb 100644 → 100755
File mode changed
View
0  lib/moneta/lib/moneta/memcache.rb 100644 → 100755
File mode changed
View
0  lib/moneta/lib/moneta/memory.rb 100644 → 100755
File mode changed
View
0  lib/moneta/lib/moneta/mongodb.rb 100644 → 100755
File mode changed
View
0  lib/moneta/lib/moneta/redis.rb 100644 → 100755
File mode changed
View
0  lib/moneta/lib/moneta/rufus.rb 100644 → 100755
File mode changed
View
0  lib/moneta/lib/moneta/s3.rb 100644 → 100755
File mode changed
View
0  lib/moneta/lib/moneta/sdbm.rb 100644 → 100755
File mode changed
View
0  lib/moneta/lib/moneta/tyrant.rb 100644 → 100755
File mode changed
View
0  lib/moneta/lib/moneta/xattr.rb 100644 → 100755
File mode changed
View
0  lib/moneta/moneta.gemspec 100644 → 100755
File mode changed
View
0  lib/moneta/spec/moneta_basic_file_spec.rb 100644 → 100755
File mode changed
View
0  lib/moneta/spec/moneta_berkeley_spec.rb 100644 → 100755
File mode changed
View
0  lib/moneta/spec/moneta_couch_spec.rb 100644 → 100755
File mode changed
View
0  lib/moneta/spec/moneta_datamapper_spec.rb 100644 → 100755
File mode changed
View
0  lib/moneta/spec/moneta_file_spec.rb 100644 → 100755
File mode changed
View
0  lib/moneta/spec/moneta_lmc_spec.rb 100644 → 100755
File mode changed
View
0  lib/moneta/spec/moneta_memcache_spec.rb 100644 → 100755
File mode changed
View
0  lib/moneta/spec/moneta_memory_spec.rb 100644 → 100755
File mode changed
View
0  lib/moneta/spec/moneta_mongodb_spec.rb 100644 → 100755
File mode changed
View
0  lib/moneta/spec/moneta_redis_spec.rb 100644 → 100755
File mode changed
View
0  lib/moneta/spec/moneta_rufus_spec.rb 100644 → 100755
File mode changed
View
0  lib/moneta/spec/moneta_s3_spec.rb 100644 → 100755
File mode changed
View
0  lib/moneta/spec/moneta_sdbm_spec.rb 100644 → 100755
File mode changed
View
0  lib/moneta/spec/moneta_tyrant_spec.rb 100644 → 100755
File mode changed
View
0  lib/moneta/spec/moneta_xattr_spec.rb 100644 → 100755
File mode changed
View
0  lib/moneta/spec/shared.rb 100644 → 100755
File mode changed
View
0  lib/moneta/spec/spec_helper.rb 100644 → 100755
File mode changed
View
0  lib/object.rb 100644 → 100755
File mode changed
View
0  lib/tasks/todo.rake 100644 → 100755
File mode changed
View
0  lib/wikipedia/wikipedia.rb 100644 → 100755
File mode changed
View
0  merb.thor 100644 → 100755
File mode changed
View
4 merb/extensions/request_extensions.rb 100644 → 100755
@@ -15,11 +15,11 @@ def preferred_format
def language_code
return params[:lang].downcase if params[:lang]
language_code = host.split(".").first.downcase
- if Merb.env?(:test) || language_code.include?("localhost") || language_code == "eiximenis" || language_code == "iwik"
+ if Merb.env?(:test) || language_code.include?("localhost") || language_code == "mobile1" || language_code == "iwik"
language_code = "en"
end
params[:lang] ||= language_code
language_code
end
-end
+end
View
0  public/apple-touch-icon.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/favicon.ico 100644 → 100755
File mode changed
View
0  public/images/arrow.gif 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/logo-en.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/merb.jpg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/images/w.gif 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  public/robots.txt 100644 → 100755
File mode changed
View
0  public/stylesheets/android.css 100644 → 100755
File mode changed
View
0  public/stylesheets/blackberry.css 100644 → 100755
File mode changed
View
0  public/stylesheets/default.css 100644 → 100755
File mode changed
View
0  public/stylesheets/firefox.css 100644 → 100755
File mode changed
View
0  public/stylesheets/kindle.css 100644 → 100755
File mode changed
View
0  public/stylesheets/sass/_tables.sass 100644 → 100755
File mode changed
View
0  public/stylesheets/sass/android.sass 100644 → 100755
File mode changed
View
0  public/stylesheets/sass/blackberry.sass 100644 → 100755
File mode changed
View
0  public/stylesheets/sass/default.sass 100644 → 100755
File mode changed
View
0  public/stylesheets/sass/firefox.sass 100644 → 100755
File mode changed
View
0  public/stylesheets/sass/kindle.sass 100644 → 100755
File mode changed
View
0  public/stylesheets/sass/webkit.sass 100644 → 100755
File mode changed
View
0  public/stylesheets/webkit.css 100644 → 100755
File mode changed
View
0  public/webkit.js 100644 → 100755
File mode changed
View
0  spec/fixtures/controllers/foo.rb 100644 → 100755
File mode changed
View
0  spec/fixtures/controllers/test_base.rb 100644 → 100755
File mode changed
View
0  spec/fixtures/controllers/views/layout/application.html.erb 100644 → 100755
File mode changed
View
0  spec/fixtures/controllers/views/layout/application.webkit.erb 100644 → 100755
File mode changed
View
0  spec/fixtures/controllers/views/layout/application.webkit_native.erb 100644 → 100755
File mode changed
View
0  spec/fixtures/file.gzip 100644 → 100755
File mode changed
View
0  spec/lib/cache_spec.rb 100644 → 100755
File mode changed
View
0  spec/merb/extensions/request_spec.rb 100644 → 100755
File mode changed
View
0  spec/models/article_spec.rb 100644 → 100755
File mode changed
View
0  spec/models/daily_usage_spec.rb 100644 → 100755
File mode changed
View
0  spec/models/device_spec.rb 100644 → 100755
File mode changed
View
0  spec/models/parsers/xhtml_spec.rb 100644 → 100755
File mode changed
View
0  spec/models/parsers/xhtml_spec_documents.rb 100644 → 100755
File mode changed
View
0  spec/requests/articles_spec.rb 100644 → 100755
File mode changed
View
0  spec/requests/statistics_spec.rb 100644 → 100755
File mode changed
View
0  spec/spec.opts 100644 → 100755
File mode changed
View
0  spec/spec_helper.rb 100644 → 100755
File mode changed
View
0  spec/spec_helpers/article_gzipped.rb 100644 → 100755
File mode changed
View
0  spec/spec_helpers/article_html.rb 100644 → 100755
File mode changed
View
0  spec/spec_helpers/request.rb 100644 → 100755
File mode changed
View
0  spec/spec_helpers/ua_strings.rb 100644 → 100755
File mode changed
View
0  stats/config.ru 100644 → 100755
File mode changed
View
0  stats/init.rb 100644 → 100755
File mode changed
View
0  stats/models/stat_segment.rb 100644 → 100755
File mode changed
View
0  stats/parse.rb 100644 → 100755
File mode changed
View
0  stats/public/.keep 100644 → 100755
File mode changed
View
0  stats/run.rb 100644 → 100755
File mode changed
View
0  stats/server.rb 100644 → 100755
File mode changed
View
0  stats/views/hourly.haml 100644 → 100755
File mode changed
View
0  stats/views/index.haml 100644 → 100755
File mode changed
View
0  stats/views/layout.haml 100644 → 100755
File mode changed
View
0  wikifake/server.rb 100644 → 100755
File mode changed
Please sign in to comment.
Something went wrong with that request. Please try again.