ecm_courses2 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/ecm/courses/course.rb +2 -1
- data/app/models/ecm/courses/course_date.rb +0 -1
- data/config/locales/de.yml +2 -1
- data/config/routes.rb +1 -1
- data/db/migrate/001_create_ecm_courses_course_categories.rb +1 -1
- data/db/migrate/002_create_ecm_courses_courses.rb +1 -1
- data/db/migrate/003_create_ecm_courses_course_dates.rb +1 -1
- data/db/migrate/20160927141932_remove_ecm_courses_courses_count_from_ecm_courses_course_categories.rb +1 -1
- data/db/migrate/20160927142037_remove_ecm_courses_course_dates_count_from_ecm_courses_courses.rb +1 -1
- data/db/migrate/20160927142238_change_ecm_courses_course_category_id_to_course_category_id_on_ecm_courses_courses.rb +1 -1
- data/db/migrate/20160927142425_change_ecm_courses_course_id_to_course_id_on_ecm_courses_course_date.rb +1 -1
- data/lib/ecm/courses/version.rb +1 -1
- metadata +3 -9
- data/config/locales/locales/ecm.courses.course.de.yml +0 -25
- data/config/locales/locales/ecm.courses.course_category.de.yml +0 -25
- data/config/locales/locales/ecm.courses.course_date.de.yml +0 -20
- data/config/locales/locales/ecm.courses.de.yml +0 -18
- data/config/locales/locales/ecm.courses.routes.de.yml +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee3a415bc76bbb1695f960dc78a43df0a47a4873
|
4
|
+
data.tar.gz: 69a1d8c7cbbab97bb6ae462bc0fe1ec258a50a1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a79d32f6305ce362943a0ed75c812814b0faeaa8169ca20ccfedd8b6f139d6c2535b5a8174343d7a767a5e3c967f5b865a0813756513eba939e9a14e55c2b5a
|
7
|
+
data.tar.gz: 1fe9e9cd79ab31de7e221dfaba7cfabd598e3022c2c121023a7c8131640bd585ab0e9e083d3eca2c895e9ff25ac8827a76ab40c65d2721dafae0dd9dd316d2ca
|
@@ -30,7 +30,8 @@ module Ecm::Courses
|
|
30
30
|
friendly_id :name, use: [:slugged]
|
31
31
|
|
32
32
|
# scopes
|
33
|
-
|
33
|
+
# @todo check ordering
|
34
|
+
# default_scope { includes(:course_category).order('ecm_courses_course_categories.name, ecm_courses_courses.position ASC') }
|
34
35
|
|
35
36
|
# validations
|
36
37
|
validates :course_category, presence: true
|
data/config/locales/de.yml
CHANGED
@@ -22,6 +22,7 @@ de:
|
|
22
22
|
updated_at: Aktualisiert am
|
23
23
|
ecm/courses/course_date:
|
24
24
|
description: Beschreibung
|
25
|
+
course: Kurs
|
25
26
|
course_id: Kurs
|
26
27
|
end_at: Endet am
|
27
28
|
start_at: Beginnt am
|
@@ -58,7 +59,7 @@ de:
|
|
58
59
|
course_categories:
|
59
60
|
index: Kurskategorien
|
60
61
|
routes:
|
61
|
-
|
62
|
+
ecm_courses_engine: 'kurse'
|
62
63
|
courses: 'kurse'
|
63
64
|
course_categories: 'kategorien'
|
64
65
|
course_dates: 'termine'
|
data/config/routes.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
class RemoveEcmCoursesCoursesCountFromEcmCoursesCourseCategories < ActiveRecord::Migration
|
1
|
+
class RemoveEcmCoursesCoursesCountFromEcmCoursesCourseCategories < ActiveRecord::Migration[4.2]
|
2
2
|
def change
|
3
3
|
remove_column :ecm_courses_course_categories, :ecm_courses_courses_count, :integer
|
4
4
|
end
|
data/db/migrate/20160927142037_remove_ecm_courses_course_dates_count_from_ecm_courses_courses.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
class RemoveEcmCoursesCourseDatesCountFromEcmCoursesCourses < ActiveRecord::Migration
|
1
|
+
class RemoveEcmCoursesCourseDatesCountFromEcmCoursesCourses < ActiveRecord::Migration[4.2]
|
2
2
|
def change
|
3
3
|
remove_column :ecm_courses_courses, :ecm_courses_course_dates_count, :integer
|
4
4
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
class ChangeEcmCoursesCourseCategoryIdToCourseCategoryIdOnEcmCoursesCourses < ActiveRecord::Migration
|
1
|
+
class ChangeEcmCoursesCourseCategoryIdToCourseCategoryIdOnEcmCoursesCourses < ActiveRecord::Migration[4.2]
|
2
2
|
def change
|
3
3
|
rename_column :ecm_courses_courses, :ecm_courses_course_category_id, :course_category_id
|
4
4
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
class ChangeEcmCoursesCourseIdToCourseIdOnEcmCoursesCourseDate < ActiveRecord::Migration
|
1
|
+
class ChangeEcmCoursesCourseIdToCourseIdOnEcmCoursesCourseDate < ActiveRecord::Migration[4.2]
|
2
2
|
def change
|
3
3
|
rename_column :ecm_courses_course_dates, :ecm_courses_course_id, :course_id
|
4
4
|
end
|
data/lib/ecm/courses/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecm_courses2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.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: 2017-
|
11
|
+
date: 2017-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -337,15 +337,10 @@ files:
|
|
337
337
|
- app/views/ecm/courses/courses/show.haml
|
338
338
|
- app/views/layouts/ecm/courses/application.html.erb
|
339
339
|
- config/locales/de.yml
|
340
|
-
- config/locales/locales/ecm.courses.course.de.yml
|
341
340
|
- config/locales/locales/ecm.courses.course.en.yml
|
342
|
-
- config/locales/locales/ecm.courses.course_category.de.yml
|
343
341
|
- config/locales/locales/ecm.courses.course_category.en.yml
|
344
|
-
- config/locales/locales/ecm.courses.course_date.de.yml
|
345
342
|
- config/locales/locales/ecm.courses.course_date.en.yml
|
346
|
-
- config/locales/locales/ecm.courses.de.yml
|
347
343
|
- config/locales/locales/ecm.courses.en.yml
|
348
|
-
- config/locales/locales/ecm.courses.routes.de.yml
|
349
344
|
- config/locales/locales/ecm.courses.routes.en.yml
|
350
345
|
- config/routes.rb
|
351
346
|
- db/migrate/001_create_ecm_courses_course_categories.rb
|
@@ -388,9 +383,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
388
383
|
version: '0'
|
389
384
|
requirements: []
|
390
385
|
rubyforge_project:
|
391
|
-
rubygems_version: 2.
|
386
|
+
rubygems_version: 2.6.11
|
392
387
|
signing_key:
|
393
388
|
specification_version: 4
|
394
389
|
summary: Ecm::Courses.
|
395
390
|
test_files: []
|
396
|
-
has_rdoc:
|
@@ -1,25 +0,0 @@
|
|
1
|
-
---
|
2
|
-
de:
|
3
|
-
activerecord:
|
4
|
-
attributes:
|
5
|
-
ecm/courses/course:
|
6
|
-
created_at: Erstellt am
|
7
|
-
description: Beschreibung
|
8
|
-
ecm_courses_course_category_id: Kurs Kategorie
|
9
|
-
ecm_courses_course_category: Kurs Kategorie
|
10
|
-
ecm_courses_course_dates_count: Kurs Termine
|
11
|
-
ecm_courses_course_dates: Kurs Termine
|
12
|
-
locale: Sprache
|
13
|
-
name: Name
|
14
|
-
position: Position
|
15
|
-
slug: Freundliche ID
|
16
|
-
updated_at: Aktualisiert am
|
17
|
-
models:
|
18
|
-
ecm/courses/course:
|
19
|
-
one: Kurs
|
20
|
-
other: Kurse
|
21
|
-
formtastic:
|
22
|
-
hints:
|
23
|
-
ecm/courses/course:
|
24
|
-
name: "z.B. Kochen für Anfänger"
|
25
|
-
|
@@ -1,25 +0,0 @@
|
|
1
|
-
---
|
2
|
-
de:
|
3
|
-
activerecord:
|
4
|
-
attributes:
|
5
|
-
ecm/courses/course_category:
|
6
|
-
children: "Unter Kategorien"
|
7
|
-
created_at: Erstellt am
|
8
|
-
depth: Tiefe
|
9
|
-
description: Beschreibung
|
10
|
-
ecm_courses_courses_count: Kurse
|
11
|
-
ecm_courses_courses: Kurse
|
12
|
-
lft: Links
|
13
|
-
locale: Sprache
|
14
|
-
name: Name
|
15
|
-
parent_id: Über Kategorie
|
16
|
-
parent: Über Kategorie
|
17
|
-
position: Position
|
18
|
-
rgt: Rechts
|
19
|
-
slug: Freundliche ID
|
20
|
-
updated_at: Aktualsiert am
|
21
|
-
models:
|
22
|
-
ecm/courses/course_category:
|
23
|
-
one: "Kurs Kategorie"
|
24
|
-
other: "Kurs Kategorien"
|
25
|
-
|
@@ -1,20 +0,0 @@
|
|
1
|
-
---
|
2
|
-
de:
|
3
|
-
activerecord:
|
4
|
-
attributes:
|
5
|
-
ecm/courses/course_date:
|
6
|
-
created_at: Erstellt am
|
7
|
-
description: Beschreibung
|
8
|
-
duration_in_minutes: Dauer
|
9
|
-
ecm_courses_course_category: Kurs Kategorie
|
10
|
-
ecm_courses_course_id: Kurs
|
11
|
-
ecm_courses_course: Kurs
|
12
|
-
end_at: Endet um
|
13
|
-
name: Name
|
14
|
-
start_at: Beginnt um
|
15
|
-
updated_at: Aktualisiert am
|
16
|
-
models:
|
17
|
-
ecm/courses/course_date:
|
18
|
-
one: "Kurs Termin"
|
19
|
-
other: "Kurs Termine"
|
20
|
-
|
@@ -1,18 +0,0 @@
|
|
1
|
-
de:
|
2
|
-
date:
|
3
|
-
formats:
|
4
|
-
month_with_year: %B %Y
|
5
|
-
ecm:
|
6
|
-
courses:
|
7
|
-
active_admin:
|
8
|
-
menu: "Kurse"
|
9
|
-
course:
|
10
|
-
messages:
|
11
|
-
not_found: "Download \"%{name}\" nicht gefunden."
|
12
|
-
course_category:
|
13
|
-
actions:
|
14
|
-
back_to_index: "Zurück zur Übersicht"
|
15
|
-
messages:
|
16
|
-
not_found: "Kurs Kategorie \"%{name}\" nicht gefunden."
|
17
|
-
no_courses_available: "Keine Kurse in dieser Kategorie vorhanden."
|
18
|
-
|