pose 1.3.1 → 1.3.2

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/lib/pose/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pose
2
- VERSION = "1.3.1"
2
+ VERSION = "1.3.2"
3
3
  end
@@ -27,7 +27,7 @@ namespace :pose do
27
27
 
28
28
  desc "Deletes and recreates the search index for all instances of the given class."
29
29
  task :reindex_all, [:class_name] => [:environment] do |t, args|
30
- clazz = Kernel.const_get args.class_name
30
+ clazz = args.class_name.constantize
31
31
  progress_bar = ProgressBar.new " reindexing", clazz.count
32
32
  clazz.find_each do |instance|
33
33
  instance.update_pose_words
@@ -35,6 +35,6 @@ namespace :pose do
35
35
  end
36
36
  progress_bar.finish
37
37
  end
38
-
38
+
39
39
  end
40
40
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: pose
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.3.1
5
+ version: 1.3.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Kevin Goslar