ecm_translations2 4.0.0 → 4.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 508b95882e69978a35a8fee867943335ec292dc4
4
- data.tar.gz: 1230f1ce1c4c91b18db744e65d23631be9ed6b3f
3
+ metadata.gz: eca73d4fe1f6f07af6ad782241f11b7bd82e5602
4
+ data.tar.gz: 98cf7a9d8dcbf647daade0488811fc2ed072b2ed
5
5
  SHA512:
6
- metadata.gz: 4abf79290bbcf20cef492ee37b662b8e51d47e65b69f09d531d970f11d6aebfed62863c08c22c03ca661092c7631336f72971b48c7b1a05c5ac23ec515ef0da0
7
- data.tar.gz: c03f107e80aa09f6413ffb779a45beb62821373dde40edfe734616bb34c5232330c065c34ca58692a0dc5e73035a3c14a5b239f9b3dc755193f2a26486f90997
6
+ metadata.gz: 7434e362e456eb5261482e0b82b12ada26ea90d36ab50e9daccc4c40f2b02c349b1caecb03c4b12aaea65832a355b08d205febd3dbec8081ecd901a930fb08e7
7
+ data.tar.gz: 8c15ea28646c212ec5b06b3591d8958cb951cf2c4bf46b2505ce38952b7e944a1b14a9e01a87427bc45e1b3be2221e6f222ce50fcb7f530b65e91b202d6eb507
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Translations
3
- VERSION = '4.0.0'
3
+ VERSION = '4.0.1'
4
4
  end
5
5
  end
@@ -0,0 +1,9 @@
1
+ # Read about factories at https://github.com/thoughtbot/factory_girl
2
+
3
+ FactoryGirl.define do
4
+ factory :admin_user do
5
+ sequence(:email) { |n| "example#{n}@example.com" }
6
+ password 'password'
7
+ password_confirmation 'password'
8
+ end
9
+ end unless FactoryGirl.factories.registered?(:admin_user)
@@ -0,0 +1,8 @@
1
+ # Read about factories at https://github.com/thoughtbot/factory_girl
2
+
3
+ FactoryGirl.define do
4
+ factory :ecm_translations_translation, class: Ecm::Translations::Translation do
5
+ locale 'de'
6
+ sequence(:key) { |i| "translation.#{i}" }
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ # Read about factories at https://github.com/thoughtbot/factory_girl
2
+
3
+ FactoryGirl.define do
4
+ factory :i18n_backend_active_record_translation, class: 'I18n::Backend::ActiveRecord::Translation' do
5
+ locale 'de'
6
+ sequence(:key) { |i| "translation.#{i}" }
7
+ end
8
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_translations2
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-23 00:00:00.000000000 Z
11
+ date: 2016-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -288,6 +288,9 @@ files:
288
288
  - lib/generators/ecm/translations/install/templates/ecm_translations.rb
289
289
  - lib/generators/ecm/translations/locales/locales_generator.rb
290
290
  - lib/tasks/ecm_translations_tasks.rake
291
+ - spec/factories/admin_users.rb
292
+ - spec/factories/ecm_translations_translations.rb
293
+ - spec/factories/i18n/backend/active_record/translations.rb
291
294
  homepage: https://github.com/robotex82/ecm_translations2
292
295
  licenses: []
293
296
  metadata: {}