ecm_translations2 4.0.1 → 4.1.0

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: eca73d4fe1f6f07af6ad782241f11b7bd82e5602
4
- data.tar.gz: 98cf7a9d8dcbf647daade0488811fc2ed072b2ed
3
+ metadata.gz: 341ac1bd9e808f7c54e6dd942af165673d1077a6
4
+ data.tar.gz: 0264b3da784d41c5e69d88fe853e4f42c20f0837
5
5
  SHA512:
6
- metadata.gz: 7434e362e456eb5261482e0b82b12ada26ea90d36ab50e9daccc4c40f2b02c349b1caecb03c4b12aaea65832a355b08d205febd3dbec8081ecd901a930fb08e7
7
- data.tar.gz: 8c15ea28646c212ec5b06b3591d8958cb951cf2c4bf46b2505ce38952b7e944a1b14a9e01a87427bc45e1b3be2221e6f222ce50fcb7f530b65e91b202d6eb507
6
+ metadata.gz: 3b01140719efa56e0c0df4f2a29206b53205ff8fa844d335c02976597e03030ceb551becec0b2d9088bf72b3e6143e95a220180c029e0a9764e24cd9bba3d82e
7
+ data.tar.gz: cac8003b4106d3cade524586a0b12e23eb7351435f79bd3945d125b6b4e639aced68c2df154c276788b3486aedeb0215663e701ed7b61b50909f1fa8da697556
@@ -13,9 +13,6 @@ de:
13
13
  ecm/translations/translation:
14
14
  one: Übersetzung
15
15
  other: Übersetzungen
16
- activeadmin:
17
- menu:
18
- ecm:
19
- translations: Übersetzungen
20
16
  routes:
21
- ecm_translations: uebersetzungen
17
+ ecm_translations_engine: uebersetzungen
18
+ # ecm_translations: uebersetzungen
@@ -13,9 +13,6 @@ en:
13
13
  ecm/translations/translation:
14
14
  one: Translation
15
15
  other: Translations
16
- activeadmin:
17
- menu:
18
- ecm:
19
- translations: translations
20
16
  routes:
21
- ecm_translations: translations
17
+ ecm_translations_engine: translations
18
+ # ecm_translations: translations
@@ -1,4 +1,4 @@
1
- class CreateEcmTranslationsTranslations < ActiveRecord::Migration
1
+ class CreateEcmTranslationsTranslations < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :ecm_translations_translations do |t|
4
4
  t.string :locale
@@ -1,4 +1,4 @@
1
- class AddUniqueIndexToLocaleAndKeyOnEcmTranslationsTranslations < ActiveRecord::Migration
1
+ class AddUniqueIndexToLocaleAndKeyOnEcmTranslationsTranslations < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  add_index(:ecm_translations_translations, [:locale, :key], unique: true)
4
4
  end
@@ -0,0 +1,11 @@
1
+ require 'ecm/translations/configuration'
2
+
3
+ module Ecm
4
+ module Translations
5
+ extend Configuration
6
+
7
+ def self.table_name_prefix
8
+ 'ecm_translations_'
9
+ end
10
+ end
11
+ end
@@ -1,6 +1,8 @@
1
1
  module Ecm
2
2
  module Translations
3
3
  class Engine < ::Rails::Engine
4
+ isolate_namespace Ecm::Translations
5
+
4
6
  config.generators do |g|
5
7
  g.test_framework :rspec, fixture: false
6
8
  g.fixture_replacement :factory_girl, dir: 'spec/factories'
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Translations
3
- VERSION = '4.0.1'
3
+ VERSION = '4.1.0'.freeze
4
4
  end
5
5
  end
@@ -1,13 +1,2 @@
1
+ require 'ecm/translations'
1
2
  require 'ecm/translations/engine'
2
- require 'ecm/translations/configuration'
3
- require 'ecm/translations/routing'
4
-
5
- module Ecm
6
- module Translations
7
- def self.table_name_prefix
8
- 'ecm_translations_'
9
- end
10
-
11
- extend Configuration
12
- end
13
- 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.1
4
+ version: 4.1.0
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-03-29 00:00:00.000000000 Z
11
+ date: 2018-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -279,9 +279,9 @@ files:
279
279
  - config/locales/en.yml
280
280
  - db/migrate/001_create_ecm_translations_translations.rb
281
281
  - db/migrate/002_add_unique_index_to_locale_and_key_on_ecm_translations_translations.rb
282
+ - lib/ecm/translations.rb
282
283
  - lib/ecm/translations/configuration.rb
283
284
  - lib/ecm/translations/engine.rb
284
- - lib/ecm/translations/routing.rb
285
285
  - lib/ecm/translations/version.rb
286
286
  - lib/ecm_translations2.rb
287
287
  - lib/generators/ecm/translations/install/install_generator.rb
@@ -310,9 +310,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
310
310
  version: '0'
311
311
  requirements: []
312
312
  rubyforge_project:
313
- rubygems_version: 2.4.8
313
+ rubygems_version: 2.6.11
314
314
  signing_key:
315
315
  specification_version: 4
316
316
  summary: ECM Translations 2 Module.
317
317
  test_files: []
318
- has_rdoc:
@@ -1,11 +0,0 @@
1
- module Ecm
2
- module Translations
3
- class Routing
4
- def self.routes(_router, options = {})
5
- options.reverse_merge!({})
6
-
7
- # router.resources :posts, :controller => 'ecm/translations/posts'
8
- end
9
- end
10
- end
11
- end