awesome_translations 0.0.54 → 0.0.55

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -2
  3. data/lib/awesome_translations/config.rb +12 -1
  4. data/lib/awesome_translations/erb_inspector.rb +6 -6
  5. data/lib/awesome_translations/version.rb +1 -1
  6. metadata +63 -195
  7. data/spec/dummy/db/awesome_translations.sqlite3 +0 -0
  8. data/spec/dummy/db/development.sqlite3 +0 -0
  9. data/spec/dummy/db/test.sqlite3 +0 -0
  10. data/spec/dummy/log/development.log +0 -77
  11. data/spec/dummy/log/test.log +0 -2454
  12. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-E/-E_R6eji2swWplGh8L3bPSBsnbxU4fQOXX3VZL61_mU.cache +0 -0
  13. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-z/-ztVNG9w9dFaHx1fSjigdEazslvGv0rIhPVXO9YqNK8.cache +0 -1
  14. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1F/1F80637pULAnGP9f-mhHl209pfDwVSv7Zc_2xhNpFWY.cache +0 -0
  15. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1g/1gFNGmgrbM-ukvDoaRUx5N_LJhuQTMRAZQIex8Jp8bM.cache +0 -0
  16. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/28/28XMFZZBZEVHvYnhUbAb2n97iH0bz-eI7ycxIv6M6Ks.cache +0 -1
  17. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2M/2MrqgJFhfvKwT3lkPM8sXL12beNZIszw1CnxAnI9-Oo.cache +0 -1
  18. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3A/3A0O10ixdZLVnjMUmLqXbkZJwDC_AzDdOX5McBwtw7g.cache +0 -1
  19. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3N/3NnKgR2TsTI1qCXKZpts0uJzp2dRJcoYp3nnFU6YE4o.cache +0 -0
  20. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5b/5b-LQe4AsyeznMf8treF7TSs-c_QM8Bw1jD180aVqws.cache +0 -1
  21. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5g/5gvZ-xSs8ZjHHj-BuYhcwRIls2tse6ujJjblxgYITME.cache +0 -0
  22. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6A/6AzNYdMySefmXIMCQ2P7RWPUvHo63AdlDcNDlAbbz5Q.cache +0 -0
  23. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6n/6nUwQnQIoGdJoV4OxR1ofy0VYfM_PtnD-GjVym3rraA.cache +0 -0
  24. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/At/AtUOYLmlkkm0VNZtoX7B4fINQgH5askN70FCo2F_wvY.cache +0 -0
  25. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/C4/C4a4OS0Jyk-PW90qPd8-bvpDRYG6mZmC0PhbAktaM-E.cache +0 -1
  26. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Dk/DkMsgM_bFz3YwBreEU4_nJWYhmjGijtYYsGuxoKS58I.cache +0 -0
  27. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/EL/ELVne41_vvSJsY5u_4fv2_dOm2IUv0hfCBYBfqpOZQI.cache +0 -0
  28. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/F_/F_cDu0xrBzfkzBKUJ3IFpmMQSxKbwo1pUanFaxkM71c.cache +0 -1
  29. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Fs/FsfiAtsIe62V__iRUYmtTJnd2l5i3vAkuXYXJlEDcN0.cache +0 -1
  30. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Fv/Fv--WTHOMENwuGhZkU5deGLLxyghBKlNBtHDMlImwNU.cache +0 -0
  31. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HC/HCekozTJ9OadS-XikQOcBaP9wcFE0hBl1wI2mdG0VsY.cache +0 -1
  32. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Hx/Hxk54RMC_wshyjLK22cnPmsX1yjruwT7w0FYOKPDtSY.cache +0 -1
  33. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/J6/J6SiqsuQd_lYorFln2OVuhWRB3ToAaceOL9g2F9solg.cache +0 -1
  34. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JB/JBh2k_DQquZdaBe1Qf-O75Ed2CFL3rvdIMSRzibWOC0.cache +0 -0
  35. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JT/JTO5S3j8N9Eif2loh7FSYiGJ_YEL_6zKxPIw1OUohdQ.cache +0 -0
  36. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/M-/M-_Y5E_31OFioiF2m3XUdDla_v6OEgH9n1RLLC13A28.cache +0 -1
  37. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Mj/MjwYGG9GkHD1fwwH2bg66EBYl3zCA_mqeDF9otey4-U.cache +0 -0
  38. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ph/Ph99BCtBXYEAwq8OMfRF4sqzHpPDwN9N88DjQI2dbIk.cache +0 -0
  39. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Q1/Q1G35uiaNX9rCgkv7gvD9bEaYVMG8cvmUcrPNMNQzCc.cache +0 -0
  40. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/RU/RUlIM-di54Li3SE_J8swM27cizL_3gnGI9dQYqY5t5U.cache +0 -1
  41. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UB/UBhYswN7GSRfRKSa54rZAOHt_YeTkitm0IbVQDmbZwY.cache +0 -0
  42. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/V1/V1dL1MVUnv4mYLX3oEuwMgn-BMHnG2k5Z154e8Di5-4.cache +0 -1
  43. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/V3/V3WgEREXJMKfIEnMv2ASid_HLOWJK3QFOGteJ1XF5kw.cache +0 -1
  44. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Vg/VgQawpyXCj37m_TLBgDMHsOWlL19FmmxCXh6wtHWet4.cache +0 -0
  45. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Vn/VnGRmi-u-FyNOhdNgYpVogLr2agueX_dCk6tCx3zRUU.cache +0 -1
  46. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/We/WeGlLIiKxVEOb84uqGJ-XTGnvi_AQrPwpfngZu9WN4s.cache +0 -0
  47. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Wk/WkZdxhuOdEi2aqjTiLzO3_6MRCYaYUNw3_s776X8xnc.cache +0 -0
  48. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/X2/X2KScKq5FXOeKoEAOCbXyHdjFPtrUIs_FDZNgSD3cVI.cache +0 -1
  49. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/X_/X_OKvO3M_p2iDUVDlIGhmIhs6bVsHWq6BgFZe_S1EMk.cache +0 -0
  50. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/YB/YBiiT1LmXJChY35ganAdCfJy5uM9bh-irGz02REyrXs.cache +0 -0
  51. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_R/_Ri811wASQ-g3ogViovGca_rx1AdEhU57Tu1ClzGhBM.cache +0 -0
  52. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/a-/a-zWqDr6oYL8d_CeQk3_Pxz_Hejd8cg4TKq2luwMxNc.cache +0 -1
  53. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/b-/b-LExaZa7jwNFicDaYMM_DpXf7f6uyaJPQVDzDKDwK4.cache +0 -0
  54. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bK/bK5tcyPyPNWPMD4uT0R0JzRk9aYU46DCZo24n9RCndY.cache +0 -0
  55. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gT/gTVqSDkOyd0JplZeQEmBNK8-uPqs8vc1qkXtRcIlUhs.cache +0 -1
  56. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gk/gkWEk8hrKJs7Rq1L7nJFxb1OhMBKYxlH0k4nNXL33jg.cache +0 -1
  57. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gn/gnNXB9k7EyFOY89Rxa3rkJ7uLGApf6r-N9CtzzrkYwg.cache +0 -1
  58. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gs/gs73uZmbIPwI6brh3vKNKDlSYiF1ehZhK5WWQqhitN8.cache +0 -0
  59. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/hu/hugOw0u7eibUM0ppnfFhy5zU0Fr03Uf7DRmIYgtDIfY.cache +0 -1
  60. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/kv/kvUP7JNVF0_swRUHZimqnyHWJqY7JNj_DYzgup3JyAo.cache +0 -0
  61. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/n9/n9CSU3Db7CirEZ7ilcN-N8cgWXyon2IVEOrS8YbC2Zk.cache +0 -0
  62. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache +0 -0
  63. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qJ/qJuDG5KJjW3H8N0p8BQC55R44KLXvyKik85ILG1_iRE.cache +0 -1
  64. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qw/qwYkgharCAFcgmkG-sdB5zcax3tT_wFQK0UW71D5wSY.cache +0 -0
  65. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sz/szzYtZUSTKt-1w3aysa6RpfEDWbeaBqhWHCaHeV7grI.cache +0 -1
  66. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/t1/t18vy7oV7ZG4Ce6N12p83NSuosqqPYcEeBGnQCIG6yE.cache +0 -1
  67. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/tG/tGS6ysauvjteZzxyd09nirIlFBzN_ycNkp-SaJdjNNY.cache +0 -2
  68. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/tY/tYmZS2PVwqPSw28J75fIjAdCiubvq2n-AMKUrwdu2Bg.cache +0 -0
  69. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/tj/tj6TZ1oAwYOSTl9D1wxlMRLM7eJhLcZIuz0yLXh02MM.cache +0 -0
  70. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/tq/tqYBTujFmSHCMCjlPT-Q6DUGOg3GVdof8s8iy0i4T9k.cache +0 -0
  71. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uY/uYhVGzHOhpjf02roeGSIGxnTvD1orjPMXzvO8lKUDH0.cache +0 -1
  72. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ug/ugnetq5iuh-nzgt7yxn9PIf8umGqmVhsD07W2JZB7WU.cache +0 -1
  73. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache +0 -0
  74. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xo/xoQa6F4ACDDqS2qwmTsBEOI5SGI5EM2yeZqzblZtnYc.cache +0 -1
  75. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yD/yDjO02ubk0Epu1zHkTEOOsABaPngNur0rzJ9uqIu3Ak.cache +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6ad247c17d92645066ebd4f24717a50638ac025d
4
- data.tar.gz: bdbebe1b717199351b917d763ac982bba2b7f235
3
+ metadata.gz: 3db06805e1b3c142034ed7c7d0f0e6e866570b3f
4
+ data.tar.gz: 0dd347fc5b404aa6489caffafcab8851f247f472
5
5
  SHA512:
6
- metadata.gz: 4a6b8b3297f45d1482ed402dd856ee31d9cb81d2cd0c46469020083da643195dbff065ac00f91cc899f4dc154487a32cf4e6c93111d2dbb44dea40a7c75d3c5e
7
- data.tar.gz: 318c48e725c170b51377e68e31e7149b275f0e3d2a081a0602d02455671da9cb91fb29d2e0b0a2c9b11c0e44fc5e66ac66e7451669dca5a7a0d86720cbe62060
6
+ metadata.gz: ae4c23a8a93f22f50f6e84e476229c1a20e5bc58cdba0166db5307a6912b7dd5c6d36d6451eb2ed9282bec3d3a500035e298815aa623b2860f18be0847e4d741
7
+ data.tar.gz: 66dc24604234aec8991ddde349ac0ad76765c210d24682ddce0912caeaf8a52569a15cb263b4616ae9ae968082297249f74bffe7286c46f793218490f96112cb
data/README.md CHANGED
@@ -31,9 +31,11 @@ If you want to do translations from your models or controllers, you will need to
31
31
  AwesomeTranslations.load_object_extensions
32
32
  ```
33
33
 
34
- If you don't like monkey patching the Object-class, you can also load it like this by creating 'config/initializers/awesome_translations' and insert something like this to allow t-method-calls from inside models:
34
+ If you don't like monkey patching the Object-class, you can also include it into ApplicationRecord' by inserting something like this to allow t-method-calls from inside models:
35
35
  ```ruby
36
- ActiveRecord::Base.include AwesomeTranslations::TranslateFunctionality
36
+ class ApplicationRecord < ActiveRecord::Base
37
+ include AwesomeTranslations::TranslateFunctionality
38
+ end
37
39
  ```
38
40
 
39
41
  You will also need to modify the line in your Gemfile a bit:
@@ -1,7 +1,18 @@
1
1
  class AwesomeTranslations::Config
2
- attr_accessor :paths_to_translate
2
+ attr_accessor :ignored_paths, :paths_to_translate
3
3
 
4
4
  def initialize
5
+ @ignored_paths = [
6
+ Rails.root.join(".git").to_s,
7
+ Rails.root.join("config", "locales").to_s,
8
+ Rails.root.join("log").to_s,
9
+ Rails.root.join("public", "packs-test").to_s,
10
+ Rails.root.join("public", "packs").to_s,
11
+ Rails.root.join("node_modules").to_s,
12
+ Rails.root.join("tmp").to_s,
13
+ Rails.root.join("storage").to_s,
14
+ Rails.root.join("spec").to_s
15
+ ]
5
16
  @paths_to_translate = [Rails.root.to_s]
6
17
  end
7
18
  end
@@ -6,11 +6,8 @@ class AwesomeTranslations::ErbInspector
6
6
  @args = args
7
7
  @args[:exts] ||= [".erb", ".haml", ".liquid", ".markerb", ".rb", ".rake", ".slim", "."] + AwesomeTranslations::ErbInspector::FileInspector::JS_FILE_EXTS
8
8
 
9
- if @args[:dirs]
10
- @dirs = @args[:dirs]
11
- else
12
- @dirs = AwesomeTranslations.config.paths_to_translate
13
- end
9
+ @dirs = @args[:dirs] || AwesomeTranslations.config.paths_to_translate
10
+ @ignored_folders = @args[:ignored_folders] || AwesomeTranslations.config.ignored_paths
14
11
  end
15
12
 
16
13
  # Yields all relevant .erb- and .haml-files.
@@ -32,7 +29,10 @@ class AwesomeTranslations::ErbInspector
32
29
  private
33
30
 
34
31
  def scan_dir(path, root_path, yielder)
35
- Dir.foreach("#{root_path}/#{path}") do |file|
32
+ full_path = "#{root_path}/#{path}"
33
+ return if @ignored_folders.include?(full_path)
34
+
35
+ Dir.foreach(full_path) do |file|
36
36
  next if file == "." || file == ".."
37
37
  file_path = path.clone
38
38
  file_path << "/" unless file_path.empty?
@@ -1,3 +1,3 @@
1
1
  module AwesomeTranslations
2
- VERSION = "0.0.54".freeze
2
+ VERSION = "0.0.55".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awesome_translations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.54
4
+ version: 0.0.55
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kasper Johansen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-14 00:00:00.000000000 Z
11
+ date: 2018-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active-record-transactioner
@@ -59,6 +59,9 @@ dependencies:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: 0.0.29
62
+ - - "<="
63
+ - !ruby/object:Gem::Version
64
+ version: 0.0.33
62
65
  type: :runtime
63
66
  prerelease: false
64
67
  version_requirements: !ruby/object:Gem::Requirement
@@ -66,6 +69,9 @@ dependencies:
66
69
  - - ">="
67
70
  - !ruby/object:Gem::Version
68
71
  version: 0.0.29
72
+ - - "<="
73
+ - !ruby/object:Gem::Version
74
+ version: 0.0.33
69
75
  - !ruby/object:Gem::Dependency
70
76
  name: baza_migrations
71
77
  requirement: !ruby/object:Gem::Requirement
@@ -281,83 +287,14 @@ files:
281
287
  - spec/dummy/config/initializers/session_store.rb
282
288
  - spec/dummy/config/initializers/wrap_parameters.rb
283
289
  - spec/dummy/config/routes.rb
284
- - spec/dummy/db/awesome_translations.sqlite3
285
- - spec/dummy/db/development.sqlite3
286
290
  - spec/dummy/db/migrate/20141018081559_create_users.rb
287
291
  - spec/dummy/db/migrate/20141018081640_create_roles.rb
288
292
  - spec/dummy/db/migrate/20150607110245_add_price_cents_to_roles.rb
289
293
  - spec/dummy/db/schema.rb
290
- - spec/dummy/db/test.sqlite3
291
- - spec/dummy/log/development.log
292
- - spec/dummy/log/test.log
293
294
  - spec/dummy/public/404.html
294
295
  - spec/dummy/public/422.html
295
296
  - spec/dummy/public/500.html
296
297
  - spec/dummy/public/favicon.ico
297
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/-E/-E_R6eji2swWplGh8L3bPSBsnbxU4fQOXX3VZL61_mU.cache
298
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/-z/-ztVNG9w9dFaHx1fSjigdEazslvGv0rIhPVXO9YqNK8.cache
299
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/1F/1F80637pULAnGP9f-mhHl209pfDwVSv7Zc_2xhNpFWY.cache
300
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/1g/1gFNGmgrbM-ukvDoaRUx5N_LJhuQTMRAZQIex8Jp8bM.cache
301
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/28/28XMFZZBZEVHvYnhUbAb2n97iH0bz-eI7ycxIv6M6Ks.cache
302
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/2M/2MrqgJFhfvKwT3lkPM8sXL12beNZIszw1CnxAnI9-Oo.cache
303
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/3A/3A0O10ixdZLVnjMUmLqXbkZJwDC_AzDdOX5McBwtw7g.cache
304
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/3N/3NnKgR2TsTI1qCXKZpts0uJzp2dRJcoYp3nnFU6YE4o.cache
305
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/5b/5b-LQe4AsyeznMf8treF7TSs-c_QM8Bw1jD180aVqws.cache
306
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/5g/5gvZ-xSs8ZjHHj-BuYhcwRIls2tse6ujJjblxgYITME.cache
307
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/6A/6AzNYdMySefmXIMCQ2P7RWPUvHo63AdlDcNDlAbbz5Q.cache
308
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/6n/6nUwQnQIoGdJoV4OxR1ofy0VYfM_PtnD-GjVym3rraA.cache
309
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/At/AtUOYLmlkkm0VNZtoX7B4fINQgH5askN70FCo2F_wvY.cache
310
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/C4/C4a4OS0Jyk-PW90qPd8-bvpDRYG6mZmC0PhbAktaM-E.cache
311
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/Dk/DkMsgM_bFz3YwBreEU4_nJWYhmjGijtYYsGuxoKS58I.cache
312
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/EL/ELVne41_vvSJsY5u_4fv2_dOm2IUv0hfCBYBfqpOZQI.cache
313
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/F_/F_cDu0xrBzfkzBKUJ3IFpmMQSxKbwo1pUanFaxkM71c.cache
314
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/Fs/FsfiAtsIe62V__iRUYmtTJnd2l5i3vAkuXYXJlEDcN0.cache
315
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/Fv/Fv--WTHOMENwuGhZkU5deGLLxyghBKlNBtHDMlImwNU.cache
316
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/HC/HCekozTJ9OadS-XikQOcBaP9wcFE0hBl1wI2mdG0VsY.cache
317
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/Hx/Hxk54RMC_wshyjLK22cnPmsX1yjruwT7w0FYOKPDtSY.cache
318
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/J6/J6SiqsuQd_lYorFln2OVuhWRB3ToAaceOL9g2F9solg.cache
319
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/JB/JBh2k_DQquZdaBe1Qf-O75Ed2CFL3rvdIMSRzibWOC0.cache
320
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/JT/JTO5S3j8N9Eif2loh7FSYiGJ_YEL_6zKxPIw1OUohdQ.cache
321
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/M-/M-_Y5E_31OFioiF2m3XUdDla_v6OEgH9n1RLLC13A28.cache
322
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/Mj/MjwYGG9GkHD1fwwH2bg66EBYl3zCA_mqeDF9otey4-U.cache
323
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/Ph/Ph99BCtBXYEAwq8OMfRF4sqzHpPDwN9N88DjQI2dbIk.cache
324
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/Q1/Q1G35uiaNX9rCgkv7gvD9bEaYVMG8cvmUcrPNMNQzCc.cache
325
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/RU/RUlIM-di54Li3SE_J8swM27cizL_3gnGI9dQYqY5t5U.cache
326
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/UB/UBhYswN7GSRfRKSa54rZAOHt_YeTkitm0IbVQDmbZwY.cache
327
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/V1/V1dL1MVUnv4mYLX3oEuwMgn-BMHnG2k5Z154e8Di5-4.cache
328
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/V3/V3WgEREXJMKfIEnMv2ASid_HLOWJK3QFOGteJ1XF5kw.cache
329
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/Vg/VgQawpyXCj37m_TLBgDMHsOWlL19FmmxCXh6wtHWet4.cache
330
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/Vn/VnGRmi-u-FyNOhdNgYpVogLr2agueX_dCk6tCx3zRUU.cache
331
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/We/WeGlLIiKxVEOb84uqGJ-XTGnvi_AQrPwpfngZu9WN4s.cache
332
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/Wk/WkZdxhuOdEi2aqjTiLzO3_6MRCYaYUNw3_s776X8xnc.cache
333
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/X2/X2KScKq5FXOeKoEAOCbXyHdjFPtrUIs_FDZNgSD3cVI.cache
334
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/X_/X_OKvO3M_p2iDUVDlIGhmIhs6bVsHWq6BgFZe_S1EMk.cache
335
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/YB/YBiiT1LmXJChY35ganAdCfJy5uM9bh-irGz02REyrXs.cache
336
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/_R/_Ri811wASQ-g3ogViovGca_rx1AdEhU57Tu1ClzGhBM.cache
337
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/a-/a-zWqDr6oYL8d_CeQk3_Pxz_Hejd8cg4TKq2luwMxNc.cache
338
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/b-/b-LExaZa7jwNFicDaYMM_DpXf7f6uyaJPQVDzDKDwK4.cache
339
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/bK/bK5tcyPyPNWPMD4uT0R0JzRk9aYU46DCZo24n9RCndY.cache
340
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/gT/gTVqSDkOyd0JplZeQEmBNK8-uPqs8vc1qkXtRcIlUhs.cache
341
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/gk/gkWEk8hrKJs7Rq1L7nJFxb1OhMBKYxlH0k4nNXL33jg.cache
342
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/gn/gnNXB9k7EyFOY89Rxa3rkJ7uLGApf6r-N9CtzzrkYwg.cache
343
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/gs/gs73uZmbIPwI6brh3vKNKDlSYiF1ehZhK5WWQqhitN8.cache
344
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/hu/hugOw0u7eibUM0ppnfFhy5zU0Fr03Uf7DRmIYgtDIfY.cache
345
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/kv/kvUP7JNVF0_swRUHZimqnyHWJqY7JNj_DYzgup3JyAo.cache
346
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/n9/n9CSU3Db7CirEZ7ilcN-N8cgWXyon2IVEOrS8YbC2Zk.cache
347
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache
348
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/qJ/qJuDG5KJjW3H8N0p8BQC55R44KLXvyKik85ILG1_iRE.cache
349
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/qw/qwYkgharCAFcgmkG-sdB5zcax3tT_wFQK0UW71D5wSY.cache
350
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/sz/szzYtZUSTKt-1w3aysa6RpfEDWbeaBqhWHCaHeV7grI.cache
351
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/t1/t18vy7oV7ZG4Ce6N12p83NSuosqqPYcEeBGnQCIG6yE.cache
352
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/tG/tGS6ysauvjteZzxyd09nirIlFBzN_ycNkp-SaJdjNNY.cache
353
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/tY/tYmZS2PVwqPSw28J75fIjAdCiubvq2n-AMKUrwdu2Bg.cache
354
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/tj/tj6TZ1oAwYOSTl9D1wxlMRLM7eJhLcZIuz0yLXh02MM.cache
355
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/tq/tqYBTujFmSHCMCjlPT-Q6DUGOg3GVdof8s8iy0i4T9k.cache
356
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/uY/uYhVGzHOhpjf02roeGSIGxnTvD1orjPMXzvO8lKUDH0.cache
357
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/ug/ugnetq5iuh-nzgt7yxn9PIf8umGqmVhsD07W2JZB7WU.cache
358
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache
359
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/xo/xoQa6F4ACDDqS2qwmTsBEOI5SGI5EM2yeZqzblZtnYc.cache
360
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/yD/yDjO02ubk0Epu1zHkTEOOsABaPngNur0rzJ9uqIu3Ak.cache
361
298
  - spec/factories/group.rb
362
299
  - spec/factories/handler.rb
363
300
  - spec/factories/handler_translation.rb
@@ -407,144 +344,75 @@ signing_key:
407
344
  specification_version: 4
408
345
  summary: Semi-automatic maintenance of most translations in a Rails app.
409
346
  test_files:
410
- - spec/spec_helper.rb
411
- - spec/handlers/file_handler_spec.rb
412
- - spec/handlers/validations_handler_spec.rb
413
347
  - spec/handlers/model_handler_spec.rb
414
- - spec/models/awesome_translations/handler_spec.rb
415
- - spec/models/awesome_translations/translation_spec.rb
416
- - spec/models/awesome_translations/translated_value_spec.rb
417
- - spec/factories/translation_key.rb
418
- - spec/factories/group.rb
419
- - spec/factories/user.rb
420
- - spec/factories/handler_translation.rb
421
- - spec/factories/handler.rb
422
- - spec/factories/translation_value.rb
423
- - spec/controllers/groups_controller_spec.rb
424
- - spec/controllers/handlers_controller_spec.rb
425
- - spec/controllers/users_controller_spec.rb
426
- - spec/dummy/db/migrate/20141018081559_create_users.rb
348
+ - spec/handlers/validations_handler_spec.rb
349
+ - spec/handlers/file_handler_spec.rb
350
+ - spec/lib/erb_inspector/file_inspector_spec.rb
351
+ - spec/lib/erb_inspector/translation_inspector_spec.rb
352
+ - spec/lib/model_inspector/attribute_spec.rb
353
+ - spec/lib/erb_inspector_spec.rb
354
+ - spec/lib/object_extensions_spec.rb
355
+ - spec/lib/model_inspector_spec.rb
356
+ - spec/lib/cache_database_generator_spec.rb
357
+ - spec/lib/translation_migrator_spec.rb
358
+ - spec/dummy/config/initializers/session_store.rb
359
+ - spec/dummy/config/initializers/inflections.rb
360
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
361
+ - spec/dummy/config/initializers/secret_token.rb
362
+ - spec/dummy/config/initializers/wrap_parameters.rb
363
+ - spec/dummy/config/initializers/mime_types.rb
364
+ - spec/dummy/config/initializers/backtrace_silencers.rb
365
+ - spec/dummy/config/database.yml
366
+ - spec/dummy/config/boot.rb
367
+ - spec/dummy/config/environment.rb
368
+ - spec/dummy/config/application.rb
369
+ - spec/dummy/config/environments/development.rb
370
+ - spec/dummy/config/environments/test.rb
371
+ - spec/dummy/config/environments/production.rb
372
+ - spec/dummy/config/routes.rb
373
+ - spec/dummy/Rakefile
374
+ - spec/dummy/config.ru
375
+ - spec/dummy/db/schema.rb
427
376
  - spec/dummy/db/migrate/20141018081640_create_roles.rb
377
+ - spec/dummy/db/migrate/20141018081559_create_users.rb
428
378
  - spec/dummy/db/migrate/20150607110245_add_price_cents_to_roles.rb
429
- - spec/dummy/db/development.sqlite3
430
- - spec/dummy/db/awesome_translations.sqlite3
431
- - spec/dummy/db/schema.rb
432
- - spec/dummy/db/test.sqlite3
379
+ - spec/dummy/public/404.html
380
+ - spec/dummy/public/500.html
381
+ - spec/dummy/public/422.html
382
+ - spec/dummy/public/favicon.ico
383
+ - spec/dummy/bin/rake
384
+ - spec/dummy/bin/bundle
385
+ - spec/dummy/bin/rails
433
386
  - spec/dummy/README.rdoc
434
- - spec/dummy/log/development.log
435
- - spec/dummy/log/test.log
436
387
  - spec/dummy/app/mailers/my_mailer.rb
437
- - spec/dummy/app/models/role.rb
438
- - spec/dummy/app/models/user.rb
439
388
  - spec/dummy/app/helpers/application_helper.rb
440
- - spec/dummy/app/controllers/locales_controller.rb
441
- - spec/dummy/app/controllers/users_controller.rb
442
- - spec/dummy/app/controllers/application_controller.rb
443
389
  - spec/dummy/app/views/users/edit.html.liquid
444
390
  - spec/dummy/app/views/users/index.html.haml
445
391
  - spec/dummy/app/views/users/_partial_test.html.erb
446
392
  - spec/dummy/app/views/users/show.html.erb
447
393
  - spec/dummy/app/views/layouts/application.html.erb
394
+ - spec/dummy/app/models/user.rb
395
+ - spec/dummy/app/models/role.rb
396
+ - spec/dummy/app/controllers/locales_controller.rb
397
+ - spec/dummy/app/controllers/application_controller.rb
398
+ - spec/dummy/app/controllers/users_controller.rb
448
399
  - spec/dummy/app/assets/javascripts/translations.js
449
400
  - spec/dummy/app/assets/javascripts/application.js
450
401
  - spec/dummy/app/assets/stylesheets/application.css
451
- - spec/dummy/Rakefile
452
- - spec/dummy/bin/rake
453
- - spec/dummy/bin/bundle
454
- - spec/dummy/bin/rails
455
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/Q1/Q1G35uiaNX9rCgkv7gvD9bEaYVMG8cvmUcrPNMNQzCc.cache
456
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/At/AtUOYLmlkkm0VNZtoX7B4fINQgH5askN70FCo2F_wvY.cache
457
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/bK/bK5tcyPyPNWPMD4uT0R0JzRk9aYU46DCZo24n9RCndY.cache
458
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/tG/tGS6ysauvjteZzxyd09nirIlFBzN_ycNkp-SaJdjNNY.cache
459
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/Dk/DkMsgM_bFz3YwBreEU4_nJWYhmjGijtYYsGuxoKS58I.cache
460
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/V3/V3WgEREXJMKfIEnMv2ASid_HLOWJK3QFOGteJ1XF5kw.cache
461
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/Hx/Hxk54RMC_wshyjLK22cnPmsX1yjruwT7w0FYOKPDtSY.cache
462
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/F_/F_cDu0xrBzfkzBKUJ3IFpmMQSxKbwo1pUanFaxkM71c.cache
463
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/YB/YBiiT1LmXJChY35ganAdCfJy5uM9bh-irGz02REyrXs.cache
464
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/yD/yDjO02ubk0Epu1zHkTEOOsABaPngNur0rzJ9uqIu3Ak.cache
465
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/-z/-ztVNG9w9dFaHx1fSjigdEazslvGv0rIhPVXO9YqNK8.cache
466
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/-E/-E_R6eji2swWplGh8L3bPSBsnbxU4fQOXX3VZL61_mU.cache
467
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache
468
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/tY/tYmZS2PVwqPSw28J75fIjAdCiubvq2n-AMKUrwdu2Bg.cache
469
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/gk/gkWEk8hrKJs7Rq1L7nJFxb1OhMBKYxlH0k4nNXL33jg.cache
470
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/Vg/VgQawpyXCj37m_TLBgDMHsOWlL19FmmxCXh6wtHWet4.cache
471
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/_R/_Ri811wASQ-g3ogViovGca_rx1AdEhU57Tu1ClzGhBM.cache
472
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/Mj/MjwYGG9GkHD1fwwH2bg66EBYl3zCA_mqeDF9otey4-U.cache
473
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/n9/n9CSU3Db7CirEZ7ilcN-N8cgWXyon2IVEOrS8YbC2Zk.cache
474
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/M-/M-_Y5E_31OFioiF2m3XUdDla_v6OEgH9n1RLLC13A28.cache
475
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/2M/2MrqgJFhfvKwT3lkPM8sXL12beNZIszw1CnxAnI9-Oo.cache
476
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/kv/kvUP7JNVF0_swRUHZimqnyHWJqY7JNj_DYzgup3JyAo.cache
477
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/6n/6nUwQnQIoGdJoV4OxR1ofy0VYfM_PtnD-GjVym3rraA.cache
478
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/Fs/FsfiAtsIe62V__iRUYmtTJnd2l5i3vAkuXYXJlEDcN0.cache
479
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/JT/JTO5S3j8N9Eif2loh7FSYiGJ_YEL_6zKxPIw1OUohdQ.cache
480
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/xo/xoQa6F4ACDDqS2qwmTsBEOI5SGI5EM2yeZqzblZtnYc.cache
481
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/uY/uYhVGzHOhpjf02roeGSIGxnTvD1orjPMXzvO8lKUDH0.cache
482
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/a-/a-zWqDr6oYL8d_CeQk3_Pxz_Hejd8cg4TKq2luwMxNc.cache
483
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/hu/hugOw0u7eibUM0ppnfFhy5zU0Fr03Uf7DRmIYgtDIfY.cache
484
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/ug/ugnetq5iuh-nzgt7yxn9PIf8umGqmVhsD07W2JZB7WU.cache
485
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/J6/J6SiqsuQd_lYorFln2OVuhWRB3ToAaceOL9g2F9solg.cache
486
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/X2/X2KScKq5FXOeKoEAOCbXyHdjFPtrUIs_FDZNgSD3cVI.cache
487
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/sz/szzYtZUSTKt-1w3aysa6RpfEDWbeaBqhWHCaHeV7grI.cache
488
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/HC/HCekozTJ9OadS-XikQOcBaP9wcFE0hBl1wI2mdG0VsY.cache
489
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/t1/t18vy7oV7ZG4Ce6N12p83NSuosqqPYcEeBGnQCIG6yE.cache
490
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/gn/gnNXB9k7EyFOY89Rxa3rkJ7uLGApf6r-N9CtzzrkYwg.cache
491
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/gs/gs73uZmbIPwI6brh3vKNKDlSYiF1ehZhK5WWQqhitN8.cache
492
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/C4/C4a4OS0Jyk-PW90qPd8-bvpDRYG6mZmC0PhbAktaM-E.cache
493
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/qJ/qJuDG5KJjW3H8N0p8BQC55R44KLXvyKik85ILG1_iRE.cache
494
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/5g/5gvZ-xSs8ZjHHj-BuYhcwRIls2tse6ujJjblxgYITME.cache
495
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/3N/3NnKgR2TsTI1qCXKZpts0uJzp2dRJcoYp3nnFU6YE4o.cache
496
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/5b/5b-LQe4AsyeznMf8treF7TSs-c_QM8Bw1jD180aVqws.cache
497
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/RU/RUlIM-di54Li3SE_J8swM27cizL_3gnGI9dQYqY5t5U.cache
498
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/1F/1F80637pULAnGP9f-mhHl209pfDwVSv7Zc_2xhNpFWY.cache
499
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/Fv/Fv--WTHOMENwuGhZkU5deGLLxyghBKlNBtHDMlImwNU.cache
500
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/EL/ELVne41_vvSJsY5u_4fv2_dOm2IUv0hfCBYBfqpOZQI.cache
501
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/Wk/WkZdxhuOdEi2aqjTiLzO3_6MRCYaYUNw3_s776X8xnc.cache
502
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/tq/tqYBTujFmSHCMCjlPT-Q6DUGOg3GVdof8s8iy0i4T9k.cache
503
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/X_/X_OKvO3M_p2iDUVDlIGhmIhs6bVsHWq6BgFZe_S1EMk.cache
504
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/We/WeGlLIiKxVEOb84uqGJ-XTGnvi_AQrPwpfngZu9WN4s.cache
505
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/tj/tj6TZ1oAwYOSTl9D1wxlMRLM7eJhLcZIuz0yLXh02MM.cache
506
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/V1/V1dL1MVUnv4mYLX3oEuwMgn-BMHnG2k5Z154e8Di5-4.cache
507
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/UB/UBhYswN7GSRfRKSa54rZAOHt_YeTkitm0IbVQDmbZwY.cache
508
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/qw/qwYkgharCAFcgmkG-sdB5zcax3tT_wFQK0UW71D5wSY.cache
509
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache
510
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/3A/3A0O10ixdZLVnjMUmLqXbkZJwDC_AzDdOX5McBwtw7g.cache
511
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/gT/gTVqSDkOyd0JplZeQEmBNK8-uPqs8vc1qkXtRcIlUhs.cache
512
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/b-/b-LExaZa7jwNFicDaYMM_DpXf7f6uyaJPQVDzDKDwK4.cache
513
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/Vn/VnGRmi-u-FyNOhdNgYpVogLr2agueX_dCk6tCx3zRUU.cache
514
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/6A/6AzNYdMySefmXIMCQ2P7RWPUvHo63AdlDcNDlAbbz5Q.cache
515
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/1g/1gFNGmgrbM-ukvDoaRUx5N_LJhuQTMRAZQIex8Jp8bM.cache
516
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/JB/JBh2k_DQquZdaBe1Qf-O75Ed2CFL3rvdIMSRzibWOC0.cache
517
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/28/28XMFZZBZEVHvYnhUbAb2n97iH0bz-eI7ycxIv6M6Ks.cache
518
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/Ph/Ph99BCtBXYEAwq8OMfRF4sqzHpPDwN9N88DjQI2dbIk.cache
519
- - spec/dummy/config/application.rb
520
- - spec/dummy/config/boot.rb
521
- - spec/dummy/config/routes.rb
522
- - spec/dummy/config/database.yml
523
- - spec/dummy/config/initializers/wrap_parameters.rb
524
- - spec/dummy/config/initializers/backtrace_silencers.rb
525
- - spec/dummy/config/initializers/inflections.rb
526
- - spec/dummy/config/initializers/filter_parameter_logging.rb
527
- - spec/dummy/config/initializers/secret_token.rb
528
- - spec/dummy/config/initializers/mime_types.rb
529
- - spec/dummy/config/initializers/session_store.rb
530
- - spec/dummy/config/environment.rb
531
- - spec/dummy/config/environments/development.rb
532
- - spec/dummy/config/environments/test.rb
533
- - spec/dummy/config/environments/production.rb
534
- - spec/dummy/config.ru
535
- - spec/dummy/public/favicon.ico
536
- - spec/dummy/public/422.html
537
- - spec/dummy/public/500.html
538
- - spec/dummy/public/404.html
539
- - spec/lib/translation_migrator_spec.rb
540
- - spec/lib/cache_database_generator_spec.rb
541
- - spec/lib/erb_inspector_spec.rb
542
- - spec/lib/model_inspector_spec.rb
543
- - spec/lib/object_extensions_spec.rb
544
- - spec/lib/model_inspector/attribute_spec.rb
545
- - spec/lib/erb_inspector/translation_inspector_spec.rb
546
- - spec/lib/erb_inspector/file_inspector_spec.rb
402
+ - spec/spec_helper.rb
403
+ - spec/models/awesome_translations/translated_value_spec.rb
404
+ - spec/models/awesome_translations/handler_spec.rb
405
+ - spec/models/awesome_translations/translation_spec.rb
547
406
  - spec/features/movals_spec.rb
548
- - spec/features/duplicates_spec.rb
549
407
  - spec/features/clean_ups_spec.rb
408
+ - spec/features/duplicates_spec.rb
409
+ - spec/controllers/groups_controller_spec.rb
410
+ - spec/controllers/users_controller_spec.rb
411
+ - spec/controllers/handlers_controller_spec.rb
412
+ - spec/factories/user.rb
413
+ - spec/factories/translation_value.rb
414
+ - spec/factories/group.rb
415
+ - spec/factories/handler.rb
416
+ - spec/factories/handler_translation.rb
417
+ - spec/factories/translation_key.rb
550
418
  - spec/handlers_spec.rb
Binary file
Binary file
@@ -1,77 +0,0 @@
1
-  (0.1ms) DROP TABLE IF EXISTS "roles"
2
-  (0.1ms) SELECT sqlite_version(*)
3
-  (41.4ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role" varchar, "price_cents" integer)
4
-  (32.1ms) CREATE INDEX "index_roles_on_user_id" ON "roles" ("user_id")
5
-  (0.1ms) DROP TABLE IF EXISTS "users"
6
-  (27.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password" varchar, "age" integer)
7
-  (27.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
8
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
9
-  (14.5ms) INSERT INTO "schema_migrations" (version) VALUES (20150607110245)
10
-  (17.4ms) INSERT INTO "schema_migrations" (version) VALUES
11
- (20141018081559),
12
- (20141018081640);
13
-
14
- 
15
-  (26.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
16
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
17
-  (0.0ms) begin transaction
18
- SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2018-01-02 09:11:00.253048"], ["updated_at", "2018-01-02 09:11:00.253048"]]
19
-  (13.6ms) commit transaction
20
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
21
-  (0.0ms) begin transaction
22
-  (0.0ms) commit transaction
23
-  (0.1ms) DROP TABLE IF EXISTS "roles"
24
-  (0.0ms) SELECT sqlite_version(*)
25
-  (27.5ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role" varchar, "price_cents" integer)
26
-  (20.6ms) CREATE INDEX "index_roles_on_user_id" ON "roles" ("user_id")
27
-  (0.1ms) DROP TABLE IF EXISTS "users"
28
-  (17.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password" varchar, "age" integer)
29
-  (27.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
30
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
31
-  (16.5ms) INSERT INTO "schema_migrations" (version) VALUES (20150607110245)
32
-  (15.2ms) INSERT INTO "schema_migrations" (version) VALUES
33
- (20141018081559),
34
- (20141018081640);
35
-
36
- 
37
-  (21.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
38
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
39
-  (0.0ms) begin transaction
40
- SQL (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2018-01-02 09:11:00.419357"], ["updated_at", "2018-01-02 09:11:00.419357"]]
41
-  (13.6ms) commit transaction
42
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
43
-  (0.0ms) begin transaction
44
-  (0.0ms) commit transaction
45
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
46
-  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
47
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
48
-  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
49
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
50
-  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
51
-  (31.2ms) DROP TABLE IF EXISTS "roles"
52
-  (0.1ms) SELECT sqlite_version(*)
53
-  (17.6ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role" varchar, "price_cents" integer)
54
-  (14.1ms) CREATE INDEX "index_roles_on_user_id" ON "roles" ("user_id")
55
-  (24.1ms) DROP TABLE IF EXISTS "users"
56
-  (21.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password" varchar, "age" integer)
57
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
58
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
59
-  (0.0ms) begin transaction
60
-  (0.0ms) commit transaction
61
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
62
-  (0.0ms) begin transaction
63
-  (0.0ms) commit transaction
64
-  (20.8ms) DROP TABLE IF EXISTS "roles"
65
-  (0.0ms) SELECT sqlite_version(*)
66
-  (18.5ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role" varchar, "price_cents" integer)
67
-  (13.1ms) CREATE INDEX "index_roles_on_user_id" ON "roles" ("user_id")
68
-  (18.3ms) DROP TABLE IF EXISTS "users"
69
-  (13.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password" varchar, "age" integer)
70
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
71
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
72
-  (0.0ms) begin transaction
73
- SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2018-01-14 12:55:20.022181"], ["updated_at", "2018-01-14 12:55:20.022181"]]
74
-  (18.3ms) commit transaction
75
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
76
-  (0.0ms) begin transaction
77
-  (0.0ms) commit transaction