pose 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,8 @@
2
2
  class PoseAssignment < ActiveRecord::Base
3
3
  belongs_to :pose_word
4
4
  belongs_to :posable, polymorphic: true
5
+ attr_accessible :pose_word, :posable
6
+
5
7
 
6
8
  # Removes all PoseAssignments for the given class.
7
9
  def self.delete_class_index clazz
@@ -1,6 +1,7 @@
1
1
  # A single word in the search index.
2
2
  class PoseWord < ActiveRecord::Base
3
3
  has_many :pose_assignments
4
+ attr_accessible :word
4
5
 
5
6
  def self.remove_unused_words progress_bar = nil
6
7
  PoseWord.find_each(include: [:pose_assignments], batch_size: 5000) do |pose_word|
data/lib/pose/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pose
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pose
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
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: 2012-09-22 00:00:00.000000000 Z
12
+ date: 2012-09-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails