ecm_courses 0.0.5.pre → 0.0.6.pre

Sign up to get free protection for your applications and to get access to all the features.
@@ -38,7 +38,7 @@ class Ecm::Courses::CourseDate < ActiveRecord::Base
38
38
  # class methods
39
39
  def self.for_month(date)
40
40
  date ||= Time.zone.now.to_date
41
- where(:start_at => (date.beginning_of_month..date.end_of_month))
41
+ where(:start_at => (date.beginning_of_month..(date.end_of_month + 1.day)))
42
42
  end
43
43
 
44
44
  # protected methods
@@ -1,24 +1,25 @@
1
- ---
2
- de:
3
- activerecord:
4
- attributes:
5
- ecm/courses/course:
1
+ ---
2
+ de:
3
+ activerecord:
4
+ attributes:
5
+ ecm/courses/course:
6
6
  created_at: Erstellt am
7
7
  description: Beschreibung
8
+ ecm_courses_course_category_id: Kurs Kategorie
8
9
  ecm_courses_course_category: Kurs Kategorie
9
- ecm_courses_course_dates: Kurs Termine
10
10
  ecm_courses_course_dates_count: Kurs Termine
11
+ ecm_courses_course_dates: Kurs Termine
11
12
  locale: Sprache
12
13
  name: Name
13
14
  position: Position
14
15
  slug: Freundliche ID
15
16
  updated_at: Aktualisiert am
16
- ecm_courses_course_category_id: Kurs Kategorie
17
17
  models:
18
- ecm/courses/course:
18
+ ecm/courses/course:
19
19
  one: Kurs
20
- other: Kurse
20
+ other: Kurse
21
21
  formtastic:
22
22
  hints:
23
23
  ecm/courses/course:
24
24
  name: "z.B. Kochen für Anfänger"
25
+
@@ -1,24 +1,25 @@
1
- ---
2
- en:
3
- activerecord:
4
- attributes:
5
- ecm/courses/course:
1
+ ---
2
+ en:
3
+ activerecord:
4
+ attributes:
5
+ ecm/courses/course:
6
6
  created_at: created at
7
7
  description: description
8
8
  ecm_courses_course_category: course category
9
- ecm_courses_course_dates: course dates
9
+ ecm_courses_course_category_id: course category
10
10
  ecm_courses_course_dates_count: course dates
11
+ ecm_courses_course_dates: course dates
11
12
  locale: language
12
13
  name: name
13
14
  position: position
14
15
  slug: friendly id
15
16
  updated_at: updated at
16
- ecm_courses_course_category_id: course category
17
17
  models:
18
- ecm/courses/course:
18
+ ecm/courses/course:
19
19
  one: "Course"
20
20
  other: "Courses"
21
21
  formtastic:
22
22
  hints:
23
23
  ecm/courses/course:
24
- name: "i.e. Cooking for beginners"
24
+ name: "i.e. Cooking for beginners"
25
+
@@ -1,24 +1,25 @@
1
- ---
2
- de:
3
- activerecord:
4
- attributes:
5
- ecm/courses/course_category:
1
+ ---
2
+ de:
3
+ activerecord:
4
+ attributes:
5
+ ecm/courses/course_category:
6
6
  children: "Unter Kategorien"
7
7
  created_at: Erstellt am
8
8
  depth: Tiefe
9
9
  description: Beschreibung
10
+ ecm_courses_courses_count: Kurse
10
11
  ecm_courses_courses: Kurse
11
- ecm_courses_courses_count: Kurse
12
12
  lft: Links
13
13
  locale: Sprache
14
14
  name: Name
15
+ parent_id: Über Kategorie
15
16
  parent: Über Kategorie
16
- parent_id: Über Kategorie
17
17
  position: Position
18
18
  rgt: Rechts
19
19
  slug: Freundliche ID
20
20
  updated_at: Aktualsiert am
21
21
  models:
22
- ecm/courses/course_category:
22
+ ecm/courses/course_category:
23
23
  one: "Kurs Kategorie"
24
- other: "Kurs Kategorien"
24
+ other: "Kurs Kategorien"
25
+
@@ -1,24 +1,25 @@
1
- ---
2
- en:
3
- activerecord:
4
- attributes:
5
- ecm/courses/course_category:
6
- children: "sub categories"
1
+ ---
2
+ en:
3
+ activerecord:
4
+ attributes:
5
+ ecm/courses/course_category:
6
+ children: "sub categories"
7
7
  created_at: created at
8
8
  depth: depth
9
9
  description: description
10
- ecm_courses_courses: courses
11
10
  ecm_courses_courses_count: courses
11
+ ecm_courses_courses: courses
12
12
  lft: left
13
13
  locale: language
14
14
  name: name
15
+ parent_id: parent cateogory
15
16
  parent: parent category
16
- parent_id: parent cateogory
17
17
  position: position
18
18
  rgt: right
19
19
  slug: friendly id
20
20
  updated_at: updated at
21
21
  models:
22
- ecm/courses/course_category:
22
+ ecm/courses/course_category:
23
23
  one: "course category"
24
- other: "course_categories"
24
+ other: "course_categories"
25
+
@@ -1,19 +1,20 @@
1
- ---
2
- de:
3
- activerecord:
4
- attributes:
5
- ecm/courses/course_date:
1
+ ---
2
+ de:
3
+ activerecord:
4
+ attributes:
5
+ ecm/courses/course_date:
6
6
  created_at: Erstellt am
7
7
  description: Beschreibung
8
8
  duration_in_minutes: Dauer
9
- ecm_courses_course: Kurs
10
9
  ecm_courses_course_category: Kurs Kategorie
11
10
  ecm_courses_course_id: Kurs
11
+ ecm_courses_course: Kurs
12
12
  end_at: Endet um
13
13
  name: Name
14
14
  start_at: Beginnt um
15
15
  updated_at: Aktualisiert am
16
16
  models:
17
- ecm/courses/course_date:
17
+ ecm/courses/course_date:
18
18
  one: "Kurs Termin"
19
- other: "Kurs Termine"
19
+ other: "Kurs Termine"
20
+
@@ -1,19 +1,20 @@
1
- ---
2
- en:
3
- activerecord:
4
- attributes:
5
- ecm/courses/course_date:
1
+ ---
2
+ en:
3
+ activerecord:
4
+ attributes:
5
+ ecm/courses/course_date:
6
6
  created_at: created at
7
7
  description: description
8
- duration_in_minutes: duration
9
- ecm_courses_course: course
8
+ duration_in_minutes: duration
10
9
  ecm_courses_course_category: course category
11
- ecm_courses_course_id: course
10
+ ecm_courses_course: course
11
+ ecm_courses_course_id: course
12
12
  end_at: end at
13
- name: name
13
+ name: name
14
14
  start_at: begin at
15
15
  updated_at: updated at
16
16
  models:
17
- ecm/courses/course_date:
17
+ ecm/courses/course_date:
18
18
  one: "course date"
19
- other: "course dates"
19
+ other: "course dates"
20
+
@@ -14,4 +14,5 @@ en:
14
14
  back_to_index: "Back to the index"
15
15
  messages:
16
16
  not_found: "Course category \"%{name}\" not found."
17
- no_courses_available: "There are now courses in this category."
17
+ no_courses_available: "There are now courses in this category."
18
+
@@ -1,5 +1,6 @@
1
1
  de:
2
2
  resources:
3
- ecm_courses_courses: "kurse"
4
- ecm_courses_course_categories: "kurs-kategorien"
5
- ecm_courses_course_dates: "kurs-termine"
3
+ ecm_courses_courses: "kurse"
4
+ ecm_courses_course_categories: "kurs-kategorien"
5
+ ecm_courses_course_dates: "kurs-termine"
6
+
@@ -1,5 +1,6 @@
1
1
  en:
2
2
  resources:
3
- ecm_courses_courses: "courses"
4
- ecm_courses_course_categories: "course-categories"
5
- ecm_courses_course_dates: "course-dates"
3
+ ecm_courses_courses: "courses"
4
+ ecm_courses_course_categories: "course-categories"
5
+ ecm_courses_course_dates: "course-dates"
6
+
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Courses
3
- VERSION = "0.0.5.pre"
3
+ VERSION = "0.0.6.pre"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_courses
3
3
  version: !ruby/object:Gem::Version
4
- hash: 961915984
4
+ hash: 961915996
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
9
+ - 6
10
10
  - pre
11
- version: 0.0.5.pre
11
+ version: 0.0.6.pre
12
12
  platform: ruby
13
13
  authors:
14
14
  - Roberto Vasquez Angel
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2012-09-22 00:00:00 Z
19
+ date: 2012-10-20 00:00:00 Z
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: rails
@@ -275,33 +275,31 @@ dependencies:
275
275
  type: :development
276
276
  version_requirements: *id017
277
277
  - !ruby/object:Gem::Dependency
278
- name: rspec-rails
278
+ name: capybara
279
279
  prerelease: false
280
280
  requirement: &id018 !ruby/object:Gem::Requirement
281
281
  none: false
282
282
  requirements:
283
- - - ~>
283
+ - - ">="
284
284
  - !ruby/object:Gem::Version
285
285
  hash: 3
286
286
  segments:
287
- - 2
288
287
  - 0
289
- version: "2.0"
288
+ version: "0"
290
289
  type: :development
291
290
  version_requirements: *id018
292
291
  - !ruby/object:Gem::Dependency
293
- name: factory_girl_rails
292
+ name: rspec-rails
294
293
  prerelease: false
295
294
  requirement: &id019 !ruby/object:Gem::Requirement
296
295
  none: false
297
296
  requirements:
298
- - - ~>
297
+ - - ">="
299
298
  - !ruby/object:Gem::Version
300
- hash: 15
299
+ hash: 3
301
300
  segments:
302
- - 1
303
301
  - 0
304
- version: "1.0"
302
+ version: "0"
305
303
  type: :development
306
304
  version_requirements: *id019
307
305
  - !ruby/object:Gem::Dependency
@@ -319,9 +317,24 @@ dependencies:
319
317
  type: :development
320
318
  version_requirements: *id020
321
319
  - !ruby/object:Gem::Dependency
322
- name: capybara
320
+ name: factory_girl_rails
323
321
  prerelease: false
324
322
  requirement: &id021 !ruby/object:Gem::Requirement
323
+ none: false
324
+ requirements:
325
+ - - ~>
326
+ - !ruby/object:Gem::Version
327
+ hash: 15
328
+ segments:
329
+ - 1
330
+ - 0
331
+ version: "1.0"
332
+ type: :development
333
+ version_requirements: *id021
334
+ - !ruby/object:Gem::Dependency
335
+ name: ffaker
336
+ prerelease: false
337
+ requirement: &id022 !ruby/object:Gem::Requirement
325
338
  none: false
326
339
  requirements:
327
340
  - - ">="
@@ -331,7 +344,65 @@ dependencies:
331
344
  - 0
332
345
  version: "0"
333
346
  type: :development
334
- version_requirements: *id021
347
+ version_requirements: *id022
348
+ - !ruby/object:Gem::Dependency
349
+ name: forgery
350
+ prerelease: false
351
+ requirement: &id023 !ruby/object:Gem::Requirement
352
+ none: false
353
+ requirements:
354
+ - - ">="
355
+ - !ruby/object:Gem::Version
356
+ hash: 3
357
+ segments:
358
+ - 0
359
+ version: "0"
360
+ type: :development
361
+ version_requirements: *id023
362
+ - !ruby/object:Gem::Dependency
363
+ name: rb-inotify
364
+ prerelease: false
365
+ requirement: &id024 !ruby/object:Gem::Requirement
366
+ none: false
367
+ requirements:
368
+ - - ~>
369
+ - !ruby/object:Gem::Version
370
+ hash: 47
371
+ segments:
372
+ - 0
373
+ - 8
374
+ - 8
375
+ version: 0.8.8
376
+ type: :development
377
+ version_requirements: *id024
378
+ - !ruby/object:Gem::Dependency
379
+ name: guard-rspec
380
+ prerelease: false
381
+ requirement: &id025 !ruby/object:Gem::Requirement
382
+ none: false
383
+ requirements:
384
+ - - ">="
385
+ - !ruby/object:Gem::Version
386
+ hash: 3
387
+ segments:
388
+ - 0
389
+ version: "0"
390
+ type: :development
391
+ version_requirements: *id025
392
+ - !ruby/object:Gem::Dependency
393
+ name: guard-bundler
394
+ prerelease: false
395
+ requirement: &id026 !ruby/object:Gem::Requirement
396
+ none: false
397
+ requirements:
398
+ - - ">="
399
+ - !ruby/object:Gem::Version
400
+ hash: 3
401
+ segments:
402
+ - 0
403
+ version: "0"
404
+ type: :development
405
+ version_requirements: *id026
335
406
  description: Couse management module for active admin.
336
407
  email:
337
408
  - roberto@vasquez-angel.de