translation_center 1.4.1 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (23) hide show
  1. data/README.md +10 -3
  2. data/app/assets/stylesheets/translation_center/center.css +8 -0
  3. data/app/assets/stylesheets/translation_center/translations.css +1 -1
  4. data/app/helpers/translation_center/application_helper.rb +6 -1
  5. data/app/views/translation_center/translation_keys/_show.html.haml +1 -1
  6. data/app/views/translation_center/translations/_show.html.haml +3 -2
  7. data/lib/generators/translation_center/install/templates/config/translation_center.yml +6 -2
  8. data/lib/translation_center/translation_helpers.rb +1 -1
  9. data/lib/translation_center/version.rb +1 -1
  10. data/test/dummy/config/locales/ar.yml +6 -0
  11. data/test/dummy/config/translation_center.yml +9 -2
  12. data/test/dummy/db/migrate/20130417134539377014_add_ar_status_translation_center_translation_keys.rb +5 -0
  13. data/test/dummy/db/schema.rb +2 -1
  14. data/test/dummy/log/development.log +171797 -0
  15. data/test/dummy/spec/spec_helper.rb +38 -0
  16. data/test/dummy/tmp/cache/assets/CD6/F30/sprockets%2F3d4924f68747fc1d600b4d7a0b181f20 +0 -0
  17. data/test/dummy/tmp/cache/assets/CDB/0B0/sprockets%2Fd44248d455dc32b5d0d0694193b9a3f3 +0 -0
  18. data/test/dummy/tmp/cache/assets/D3D/A50/sprockets%2F117dc38b0a178661ba6d8ab89dcd3654 +0 -0
  19. data/test/dummy/tmp/cache/assets/D65/A90/sprockets%2F8d23dda8bdf250e5f3c78d34000fe621 +0 -0
  20. data/test/dummy/tmp/cache/assets/D7E/C10/sprockets%2Fd4ea295413a05aab4f4a3c04a380f3ca +0 -0
  21. data/test/dummy/tmp/cache/assets/D9A/AF0/sprockets%2Fe5fc66f22b717fc0eb6c460ea1806f3c +0 -0
  22. data/test/dummy/tmp/pids/server.pid +1 -0
  23. metadata +10 -2
@@ -0,0 +1,38 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ ENV["RAILS_ENV"] ||= 'test'
3
+ require File.expand_path("../../config/environment", __FILE__)
4
+ require 'rspec/rails'
5
+ require 'rspec/autorun'
6
+
7
+ # Requires supporting ruby files with custom matchers and macros, etc,
8
+ # in spec/support/ and its subdirectories.
9
+ Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
10
+
11
+ RSpec.configure do |config|
12
+ # ## Mock Framework
13
+ #
14
+ # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
15
+ #
16
+ # config.mock_with :mocha
17
+ # config.mock_with :flexmock
18
+ # config.mock_with :rr
19
+
20
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
21
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
22
+
23
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
24
+ # examples within a transaction, remove the following line or assign false
25
+ # instead of true.
26
+ config.use_transactional_fixtures = true
27
+
28
+ # If true, the base class of anonymous controllers will be inferred
29
+ # automatically. This will be the default behavior in future versions of
30
+ # rspec-rails.
31
+ config.infer_base_class_for_anonymous_controllers = false
32
+
33
+ # Run specs in random order to surface order dependencies. If you find an
34
+ # order dependency and want to debug it, you can fix the order by providing
35
+ # the seed, which is printed after each run.
36
+ # --seed 1234
37
+ config.order = "random"
38
+ end
@@ -0,0 +1 @@
1
+ 7004
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: translation_center
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.5.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-04-21 00:00:00.000000000 Z
14
+ date: 2013-04-28 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails
@@ -286,6 +286,7 @@ files:
286
286
  - test/dummy/db/migrate/20130410082611_devise_create_users.rb
287
287
  - test/dummy/db/migrate/20130410084711_acts_as_votable_migration.rb
288
288
  - test/dummy/db/migrate/20130410084711234392_create_translation_center_categories.rb
289
+ - test/dummy/db/migrate/20130417134539377014_add_ar_status_translation_center_translation_keys.rb
289
290
  - test/dummy/db/migrate/20130410082701_create_articles.rb
290
291
  - test/dummy/db/migrate/20130410113111070575_add_de_status_translation_center_translation_keys.rb
291
292
  - test/dummy/db/migrate/20130410084711235054_create_translation_center_translation_keys.rb
@@ -321,6 +322,7 @@ files:
321
322
  - test/dummy/config/initializers/secret_token.rb
322
323
  - test/dummy/config/initializers/devise.rb
323
324
  - test/dummy/config/database.yml
325
+ - test/dummy/config/locales/ar.yml
324
326
  - test/dummy/config/locales/de.yml
325
327
  - test/dummy/config/locales/devise.en.yml
326
328
  - test/dummy/config/locales/en.yml
@@ -345,6 +347,7 @@ files:
345
347
  - test/dummy/public/favicon.ico
346
348
  - test/dummy/public/500.html
347
349
  - test/dummy/public/404.html
350
+ - test/dummy/tmp/pids/server.pid
348
351
  - test/dummy/tmp/cache/assets/E64/640/sprockets%2Fdefdf9f0eddac95f602fd8d18c1c9c10
349
352
  - test/dummy/tmp/cache/assets/C5A/9B0/sprockets%2F19a7fe49a7e548113c0b258139735629
350
353
  - test/dummy/tmp/cache/assets/D01/3C0/sprockets%2Fd3ffab60d107685c7c005db15093237d
@@ -697,6 +700,7 @@ files:
697
700
  - test/dummy/tmp/cache/assets/D8A/B00/sprockets%2Ffe2fc1654c59e17f2e4a6d966a88e9f4
698
701
  - test/dummy/tmp/cache/assets/D8A/8F0/sprockets%2F94895e43a7ede78b744c37f9a0da94df
699
702
  - test/dummy/tmp/cache/assets/C03/200/sprockets%2F357048fb987985bc889092201601d249
703
+ - test/dummy/spec/spec_helper.rb
700
704
  - test/translation_center_test.rb
701
705
  - test/functional/translation_center/translations_controller_test.rb
702
706
  - test/functional/translation_center/center_controller_test.rb
@@ -746,6 +750,7 @@ test_files:
746
750
  - test/dummy/db/migrate/20130410082611_devise_create_users.rb
747
751
  - test/dummy/db/migrate/20130410084711_acts_as_votable_migration.rb
748
752
  - test/dummy/db/migrate/20130410084711234392_create_translation_center_categories.rb
753
+ - test/dummy/db/migrate/20130417134539377014_add_ar_status_translation_center_translation_keys.rb
749
754
  - test/dummy/db/migrate/20130410082701_create_articles.rb
750
755
  - test/dummy/db/migrate/20130410113111070575_add_de_status_translation_center_translation_keys.rb
751
756
  - test/dummy/db/migrate/20130410084711235054_create_translation_center_translation_keys.rb
@@ -781,6 +786,7 @@ test_files:
781
786
  - test/dummy/config/initializers/secret_token.rb
782
787
  - test/dummy/config/initializers/devise.rb
783
788
  - test/dummy/config/database.yml
789
+ - test/dummy/config/locales/ar.yml
784
790
  - test/dummy/config/locales/de.yml
785
791
  - test/dummy/config/locales/devise.en.yml
786
792
  - test/dummy/config/locales/en.yml
@@ -805,6 +811,7 @@ test_files:
805
811
  - test/dummy/public/favicon.ico
806
812
  - test/dummy/public/500.html
807
813
  - test/dummy/public/404.html
814
+ - test/dummy/tmp/pids/server.pid
808
815
  - test/dummy/tmp/cache/assets/E64/640/sprockets%2Fdefdf9f0eddac95f602fd8d18c1c9c10
809
816
  - test/dummy/tmp/cache/assets/C5A/9B0/sprockets%2F19a7fe49a7e548113c0b258139735629
810
817
  - test/dummy/tmp/cache/assets/D01/3C0/sprockets%2Fd3ffab60d107685c7c005db15093237d
@@ -1157,6 +1164,7 @@ test_files:
1157
1164
  - test/dummy/tmp/cache/assets/D8A/B00/sprockets%2Ffe2fc1654c59e17f2e4a6d966a88e9f4
1158
1165
  - test/dummy/tmp/cache/assets/D8A/8F0/sprockets%2F94895e43a7ede78b744c37f9a0da94df
1159
1166
  - test/dummy/tmp/cache/assets/C03/200/sprockets%2F357048fb987985bc889092201601d249
1167
+ - test/dummy/spec/spec_helper.rb
1160
1168
  - test/translation_center_test.rb
1161
1169
  - test/functional/translation_center/translations_controller_test.rb
1162
1170
  - test/functional/translation_center/center_controller_test.rb