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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 21b7ae84d4f69a1461cc94b0683901a5cee02b3c
4
- data.tar.gz: a96eef9bfbaf175a8f7594dae7792a23c5f86033
3
+ metadata.gz: e3a03cb71c9631c8e6f1d0b78ea0c7352465a0fe
4
+ data.tar.gz: b256dce5af8d0913fc40467a1e87b7f412fff7ba
5
5
  SHA512:
6
- metadata.gz: 2db50fbc8aebbee44415db4494e1257d2eb069fbd2e2a5ddd38d2173d9c31361d850a943ed4dea91629680e3fe7feef336942d31d535c15812b67ed070f5ec2a
7
- data.tar.gz: 4528503dd4e5f27dc89aca3ffbac10cbcf06b242d9352d9b06f80abb38364f8966efe3649751789f40fd4da5d851e4ff7b1d3f1c868841708a7137e8be6c61d7
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
- Impressionist.orm = :<%= options.orm if options.orm %>
6
+
7
+ <% orm = options.orm.match(/mongoid|active_record|mongomapper/) %>
8
+ <%= "Impressionist.orm = :#{options.orm}" if String === options.orm %>
@@ -1,3 +1,3 @@
1
1
  module Impressionist
2
- VERSION = "1.4.3"
2
+ VERSION = "1.4.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: impressionist
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.3
4
+ version: 1.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - johnmcaliley