reservation 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +4 -0
- data/lib/generators/reservation/migration/USAGE +8 -0
- data/lib/generators/reservation/{reservations_generator.rb → migration/migration_generator.rb} +1 -2
- data/lib/generators/reservation/{templates → migration/templates}/migration.rb +0 -0
- data/lib/reservation/version.rb +1 -1
- metadata +5 -4
data/README.md
CHANGED
@@ -23,6 +23,10 @@ Or install it yourself as:
|
|
23
23
|
|
24
24
|
## Usage
|
25
25
|
|
26
|
+
First of all migrate your schema so you have the necessary tables -
|
27
|
+
|
28
|
+
rails g reservation:migration
|
29
|
+
|
26
30
|
Objects associated with an event are called "subjects"; each event has many subjects, via an association
|
27
31
|
model called Reservation::Reservation. The simplest way to create a bunch of events is to use Event#create_weekly.
|
28
32
|
This will create a set of events, with the given subjects, within the given constraints, repeating weekly.
|
File without changes
|
data/lib/reservation/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reservation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -105,8 +105,9 @@ files:
|
|
105
105
|
- MIT-LICENSE
|
106
106
|
- README.md
|
107
107
|
- Rakefile
|
108
|
-
- lib/generators/reservation/
|
109
|
-
- lib/generators/reservation/
|
108
|
+
- lib/generators/reservation/migration/USAGE
|
109
|
+
- lib/generators/reservation/migration/migration_generator.rb
|
110
|
+
- lib/generators/reservation/migration/templates/migration.rb
|
110
111
|
- lib/reservation.rb
|
111
112
|
- lib/reservation/event.rb
|
112
113
|
- lib/reservation/event_filter.rb
|