impressionist 1.4.3 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/templates/impression.rb +3 -1
- data/lib/impressionist/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3a03cb71c9631c8e6f1d0b78ea0c7352465a0fe
|
4
|
+
data.tar.gz: b256dce5af8d0913fc40467a1e87b7f412fff7ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e44afe2ee56ede31675a19e7e0a9373aa61c6771ce4102f3d0dc83f8c90175a67f325aca643aed2a81e78b54025ffeec9f6c3438a573cf98e82bd6df21574981
|
7
|
+
data.tar.gz: 5f540eaeb2e530544f3601c28d99627af967ac34e9ee4514d30cff4e97731a8669ba50750b40db597cd2b3aca4ee9d61d4ab540c3a3ab6808caf5b849c67309c
|
@@ -3,4 +3,6 @@
|
|
3
3
|
# Define ORM. Could be :active_record (default), :mongo_mapper or :mongoid
|
4
4
|
# config.orm = :active_record
|
5
5
|
#end
|
6
|
-
|
6
|
+
|
7
|
+
<% orm = options.orm.match(/mongoid|active_record|mongomapper/) %>
|
8
|
+
<%= "Impressionist.orm = :#{options.orm}" if String === options.orm %>
|