acts_as_silent_list 1.3.0 → 2.0.0
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.
- checksums.yaml +4 -4
- data/lib/acts_as_silent_list/active_record/acts/silent_list.rb +1 -1
- data/lib/acts_as_silent_list/version.rb +1 -1
- metadata +11 -17
- data/.gemtest +0 -0
- data/.gitignore +0 -6
- data/CHANGELOG.rdoc +0 -21
- data/Gemfile +0 -14
- data/Gemfile.lock +0 -40
- data/Rakefile +0 -31
- data/acts_as_silent_list.gemspec +0 -28
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fe7b6dd6076752a913763c7a5cca54865be6188b
|
|
4
|
+
data.tar.gz: 92ca2eae7e95a979ebff063d33d44d9aed81d798
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1ce9729a99063e4b714abf6dce9f4e0c60f9dfd186e72693cb6c6d6b2fbae33f399af4dfbca567ff8db55b793d4c2510111c1fb0f0210167ae7f167a6793ae0c
|
|
7
|
+
data.tar.gz: 9d3c04edb7f515ee48d8186e3385a030862d550444ded8e1939750ce5f607a425b8af3a030f732d3c3f6be7cbcfe1389c3c63faa933b750856e6681592816b5a
|
|
@@ -332,7 +332,7 @@ module ActiveRecord
|
|
|
332
332
|
write_attribute_without_dirty(attr, value)
|
|
333
333
|
else
|
|
334
334
|
write_attribute(attr, value)
|
|
335
|
-
|
|
335
|
+
clear_attribute_changes(attr)
|
|
336
336
|
end
|
|
337
337
|
self.class.where({:id => id}).update_all({attr => value})
|
|
338
338
|
end
|
metadata
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: acts_as_silent_list
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Heinemeier Hansson
|
|
8
8
|
- Swanand Pagnis
|
|
9
9
|
- Quinn Chaffee
|
|
10
|
-
-
|
|
10
|
+
- OpenProject GmbH
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2015-09-
|
|
14
|
+
date: 2015-09-23 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: bundler
|
|
@@ -33,14 +33,14 @@ dependencies:
|
|
|
33
33
|
requirements:
|
|
34
34
|
- - ">="
|
|
35
35
|
- !ruby/object:Gem::Version
|
|
36
|
-
version:
|
|
36
|
+
version: 4.2.4
|
|
37
37
|
type: :development
|
|
38
38
|
prerelease: false
|
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
|
40
40
|
requirements:
|
|
41
41
|
- - ">="
|
|
42
42
|
- !ruby/object:Gem::Version
|
|
43
|
-
version:
|
|
43
|
+
version: 4.2.4
|
|
44
44
|
- !ruby/object:Gem::Dependency
|
|
45
45
|
name: rake
|
|
46
46
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -86,27 +86,20 @@ dependencies:
|
|
|
86
86
|
description: This "acts_as" extension is a clone of the well known acts_as_list, only
|
|
87
87
|
it avoids triggering active record callbacks.
|
|
88
88
|
email:
|
|
89
|
-
- info@
|
|
89
|
+
- info@openproject.com
|
|
90
90
|
executables: []
|
|
91
91
|
extensions: []
|
|
92
92
|
extra_rdoc_files: []
|
|
93
93
|
files:
|
|
94
|
-
- ".gemtest"
|
|
95
|
-
- ".gitignore"
|
|
96
|
-
- CHANGELOG.rdoc
|
|
97
|
-
- Gemfile
|
|
98
|
-
- Gemfile.lock
|
|
99
94
|
- MIT-LICENSE
|
|
100
95
|
- README.rdoc
|
|
101
|
-
- Rakefile
|
|
102
|
-
- acts_as_silent_list.gemspec
|
|
103
96
|
- init.rb
|
|
104
97
|
- lib/acts_as_silent_list.rb
|
|
105
98
|
- lib/acts_as_silent_list/active_record/acts/silent_list.rb
|
|
106
99
|
- lib/acts_as_silent_list/version.rb
|
|
107
100
|
- test/acts_as_silent_list_test.rb
|
|
108
101
|
- test/test_helper.rb
|
|
109
|
-
homepage: http://www.
|
|
102
|
+
homepage: http://www.openproject.com
|
|
110
103
|
licenses: []
|
|
111
104
|
metadata: {}
|
|
112
105
|
post_install_message:
|
|
@@ -125,10 +118,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
125
118
|
version: '0'
|
|
126
119
|
requirements: []
|
|
127
120
|
rubyforge_project:
|
|
128
|
-
rubygems_version: 2.
|
|
121
|
+
rubygems_version: 2.4.3
|
|
129
122
|
signing_key:
|
|
130
123
|
specification_version: 4
|
|
131
124
|
summary: A gem allowing a active_record model to be ordered, without triggering active
|
|
132
125
|
record callbacks.
|
|
133
|
-
test_files:
|
|
134
|
-
|
|
126
|
+
test_files:
|
|
127
|
+
- test/acts_as_silent_list_test.rb
|
|
128
|
+
- test/test_helper.rb
|
data/.gemtest
DELETED
|
File without changes
|
data/.gitignore
DELETED
data/CHANGELOG.rdoc
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
= 1.3.0 - 2013-03-26
|
|
2
|
-
|
|
3
|
-
* migrated to Rails3/4
|
|
4
|
-
|
|
5
|
-
= 1.2.0 - 2011-10-26
|
|
6
|
-
|
|
7
|
-
== Features
|
|
8
|
-
|
|
9
|
-
* adding insert_at_top and insert_at_bottom
|
|
10
|
-
|
|
11
|
-
= 1.1.0 - 2011-10-19
|
|
12
|
-
|
|
13
|
-
== Features
|
|
14
|
-
|
|
15
|
-
* adding private method to remove an item from a list without touching the other list elements.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
= 1.0.0 - Initial Release
|
|
19
|
-
|
|
20
|
-
This gem is based on acts_as_list, while it tries to avoid triggering
|
|
21
|
-
ActiveRecord callbacks.
|
data/Gemfile
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
source "https://rubygems.org"
|
|
2
|
-
|
|
3
|
-
# Declare your gem's dependencies in acts_as_silent_list.gemspec.
|
|
4
|
-
# Bundler will treat runtime dependencies like base dependencies, and
|
|
5
|
-
# development dependencies will be added by default to the :development group.
|
|
6
|
-
gemspec
|
|
7
|
-
|
|
8
|
-
# Declare any dependencies that are still in development here instead of in
|
|
9
|
-
# your gemspec. These might include edge Rails or gems from your path or
|
|
10
|
-
# Git. Remember to move these dependencies to your gemspec before releasing
|
|
11
|
-
# your gem to rubygems.org.
|
|
12
|
-
|
|
13
|
-
# To use debugger
|
|
14
|
-
# gem 'debugger'
|
data/Gemfile.lock
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
acts_as_silent_list (1.3.0)
|
|
5
|
-
|
|
6
|
-
GEM
|
|
7
|
-
remote: https://rubygems.org/
|
|
8
|
-
specs:
|
|
9
|
-
activemodel (3.2.13)
|
|
10
|
-
activesupport (= 3.2.13)
|
|
11
|
-
builder (~> 3.0.0)
|
|
12
|
-
activerecord (3.2.13)
|
|
13
|
-
activemodel (= 3.2.13)
|
|
14
|
-
activesupport (= 3.2.13)
|
|
15
|
-
arel (~> 3.0.2)
|
|
16
|
-
tzinfo (~> 0.3.29)
|
|
17
|
-
activesupport (3.2.13)
|
|
18
|
-
i18n (= 0.6.1)
|
|
19
|
-
multi_json (~> 1.0)
|
|
20
|
-
arel (3.0.2)
|
|
21
|
-
builder (3.0.4)
|
|
22
|
-
i18n (0.6.1)
|
|
23
|
-
json (1.7.7)
|
|
24
|
-
multi_json (1.7.2)
|
|
25
|
-
rake (10.0.4)
|
|
26
|
-
rdoc (4.0.0)
|
|
27
|
-
json (~> 1.4)
|
|
28
|
-
sqlite3 (1.3.7)
|
|
29
|
-
tzinfo (0.3.37)
|
|
30
|
-
|
|
31
|
-
PLATFORMS
|
|
32
|
-
ruby
|
|
33
|
-
|
|
34
|
-
DEPENDENCIES
|
|
35
|
-
activerecord (>= 1.15.4.7794)
|
|
36
|
-
acts_as_silent_list!
|
|
37
|
-
bundler (>= 1.0.0)
|
|
38
|
-
rake
|
|
39
|
-
rdoc
|
|
40
|
-
sqlite3
|
data/Rakefile
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
begin
|
|
2
|
-
require 'bundler/setup'
|
|
3
|
-
rescue LoadError
|
|
4
|
-
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
|
5
|
-
end
|
|
6
|
-
|
|
7
|
-
require 'rdoc/task'
|
|
8
|
-
|
|
9
|
-
RDoc::Task.new(:rdoc) do |rdoc|
|
|
10
|
-
rdoc.rdoc_dir = 'rdoc'
|
|
11
|
-
rdoc.title = 'ActsAsSilentList'
|
|
12
|
-
rdoc.options << '--line-numbers'
|
|
13
|
-
rdoc.rdoc_files.include('README.rdoc')
|
|
14
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
Bundler::GemHelper.install_tasks
|
|
19
|
-
|
|
20
|
-
require 'rake/testtask'
|
|
21
|
-
|
|
22
|
-
desc 'Test the acts_as_silent_list plugin.'
|
|
23
|
-
Rake::TestTask.new(:test) do |t|
|
|
24
|
-
t.libs << 'lib'
|
|
25
|
-
t.libs << 'test'
|
|
26
|
-
t.pattern = 'test/**/*_test.rb'
|
|
27
|
-
t.verbose = true
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
desc 'Default: run acts_as_silent_list unit tests.'
|
|
31
|
-
task default: :test
|
data/acts_as_silent_list.gemspec
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
$:.push File.expand_path("../lib", __FILE__)
|
|
2
|
-
|
|
3
|
-
# Maintain your gem's version:
|
|
4
|
-
require "acts_as_silent_list/version"
|
|
5
|
-
|
|
6
|
-
# Describe your gem and declare its dependencies:
|
|
7
|
-
Gem::Specification.new do |s|
|
|
8
|
-
s.name = "acts_as_silent_list"
|
|
9
|
-
s.version = ActiveRecord::Acts::SilentList::VERSION
|
|
10
|
-
s.authors = ['David Heinemeier Hansson', 'Swanand Pagnis', 'Quinn Chaffee', 'Finn GmbH']
|
|
11
|
-
s.email = ["info@finn.de"]
|
|
12
|
-
s.homepage = "http://www.finn.de/"
|
|
13
|
-
s.summary = %q{A gem allowing a active_record model to be ordered, without triggering active record callbacks.}
|
|
14
|
-
s.description = %q{This "acts_as" extension is a clone of the well known acts_as_list, only it avoids triggering active record callbacks.}
|
|
15
|
-
|
|
16
|
-
# Load Paths...
|
|
17
|
-
s.files = `git ls-files`.split("\n")
|
|
18
|
-
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
19
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
|
20
|
-
s.require_paths = ['lib']
|
|
21
|
-
|
|
22
|
-
# Dependencies (installed via 'bundle install')...
|
|
23
|
-
s.add_development_dependency("bundler", [">= 1.0.0"])
|
|
24
|
-
s.add_development_dependency("activerecord", [">= 1.15.4.7794"])
|
|
25
|
-
s.add_development_dependency("rake")
|
|
26
|
-
s.add_development_dependency("rdoc")
|
|
27
|
-
s.add_development_dependency("sqlite3")
|
|
28
|
-
end
|