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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eca73d4fe1f6f07af6ad782241f11b7bd82e5602
|
4
|
+
data.tar.gz: 98cf7a9d8dcbf647daade0488811fc2ed072b2ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7434e362e456eb5261482e0b82b12ada26ea90d36ab50e9daccc4c40f2b02c349b1caecb03c4b12aaea65832a355b08d205febd3dbec8081ecd901a930fb08e7
|
7
|
+
data.tar.gz: 8c15ea28646c212ec5b06b3591d8958cb951cf2c4bf46b2505ce38952b7e944a1b14a9e01a87427bc45e1b3be2221e6f222ce50fcb7f530b65e91b202d6eb507
|
@@ -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 :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.
|
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-
|
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: {}
|