acts-as-messageable 0.4.9 → 0.4.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +1 -1
- data/.travis.yml +8 -16
- data/Appraisals +36 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +77 -69
- data/VERSION +1 -1
- data/acts-as-messageable.gemspec +15 -9
- data/gemfiles/rails_3.0.gemfile +16 -0
- data/gemfiles/rails_3.1.gemfile +16 -0
- data/gemfiles/rails_3.2.gemfile +16 -0
- data/gemfiles/rails_4.0.gemfile +16 -0
- data/gemfiles/rails_4.1.gemfile +16 -0
- data/gemfiles/rails_4.1_ProtectedAttributes.gemfile +17 -0
- data/lib/acts-as-messageable/rails3.rb +4 -0
- data/lib/acts-as-messageable/rails4.rb +7 -1
- data/spec/spec_helper.rb +3 -0
- data/spec/support/admin.rb +3 -3
- metadata +45 -28
- data/gemfiles/Gemfile-3.0 +0 -7
- data/gemfiles/Gemfile-3.1 +0 -7
- data/gemfiles/Gemfile-3.2 +0 -7
- data/gemfiles/Gemfile-4.0 +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97d0f17d07ffe2a7e1188643f021c99c1ec10172
|
4
|
+
data.tar.gz: ed025d156199e56ea5e3a4e5518d777078391121
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8f7690da7aee4414c8f76eb9ac878416821bc550c38c9ed90f106d0324f56663748b9fb72081d288a65bef1dccada1f2fe30db77ccdccea2122c64aaa9bc69a
|
7
|
+
data.tar.gz: 5e01a08b70ac956614358776df9e8a3ad2094ce101a9fe931d2508ee7a08df0911eee857f0484d24d0f7952156cc17e1b690c9a218db76fcdc6bd0a5d2656373
|
data/.rspec
CHANGED
@@ -1 +1 @@
|
|
1
|
-
-fd -color
|
1
|
+
-fd -color
|
data/.travis.yml
CHANGED
@@ -1,25 +1,17 @@
|
|
1
1
|
rvm:
|
2
|
-
- 1.8.7
|
3
2
|
- 1.9.3
|
4
3
|
- 2.0.0
|
4
|
+
- 2.1.0
|
5
5
|
- ruby-head
|
6
|
-
-
|
7
|
-
- rbx-head
|
8
|
-
- rbx-head-d19
|
6
|
+
- rbx
|
9
7
|
gemfile:
|
10
|
-
- gemfiles/
|
11
|
-
- gemfiles/
|
12
|
-
- gemfiles/
|
13
|
-
- gemfiles/
|
8
|
+
- gemfiles/rails_3.0.gemfile
|
9
|
+
- gemfiles/rails_3.1.gemfile
|
10
|
+
- gemfiles/rails_3.2.gemfile
|
11
|
+
- gemfiles/rails_4.0.gemfile
|
12
|
+
- gemfiles/rails_4.1.gemfile
|
13
|
+
- gemfiles/rails_4.1_ProtectedAttributes.gemfile
|
14
14
|
matrix:
|
15
15
|
allow_failures:
|
16
16
|
- rvm: ruby-head
|
17
17
|
- rvm: rbx-head
|
18
|
-
- rvm: rbx-head-d19
|
19
|
-
exclude:
|
20
|
-
- rvm: 1.8.7
|
21
|
-
gemfile: gemfiles/Gemfile-4.0
|
22
|
-
- rvm: ree
|
23
|
-
gemfile: gemfiles/Gemfile-4.0
|
24
|
-
- rvm: rbx-head
|
25
|
-
gemfile: gemfiles/Gemfile-4.0
|
data/Appraisals
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
appraise "rails-3.0" do
|
2
|
+
gem "activerecord", "~> 3.0.0"
|
3
|
+
gem "activesupport", "~> 3.0.0"
|
4
|
+
gem "railties", "~> 3.0.0"
|
5
|
+
end
|
6
|
+
|
7
|
+
appraise "rails-3.1" do
|
8
|
+
gem "activerecord", "~> 3.1.0"
|
9
|
+
gem "activesupport", "~> 3.1.0"
|
10
|
+
gem "railties", "~> 3.1.0"
|
11
|
+
end
|
12
|
+
|
13
|
+
appraise "rails-3.2" do
|
14
|
+
gem "activerecord", "~> 3.2.0"
|
15
|
+
gem "activesupport", "~> 3.2.0"
|
16
|
+
gem "railties", "~> 3.2.0"
|
17
|
+
end
|
18
|
+
|
19
|
+
appraise "rails-4.0" do
|
20
|
+
gem "activerecord", "~> 4.0.0"
|
21
|
+
gem "activesupport", "~> 4.0.0"
|
22
|
+
gem "railties", "~> 4.0.0"
|
23
|
+
end
|
24
|
+
|
25
|
+
appraise "rails-4.1" do
|
26
|
+
gem "activerecord", "~> 4.1.0"
|
27
|
+
gem "activesupport", "~> 4.1.0"
|
28
|
+
gem "railties", "~> 4.1.0"
|
29
|
+
end
|
30
|
+
|
31
|
+
appraise "rails-4.1-ProtectedAttributes" do
|
32
|
+
gem "activerecord", "~> 4.1.0"
|
33
|
+
gem "activesupport", "~> 4.1.0"
|
34
|
+
gem "railties", "~> 4.1.0"
|
35
|
+
gem 'protected_attributes'
|
36
|
+
end
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,45 +1,49 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
actionpack (4.
|
5
|
-
|
6
|
-
|
7
|
-
erubis (~> 2.7.0)
|
4
|
+
actionpack (4.1.6)
|
5
|
+
actionview (= 4.1.6)
|
6
|
+
activesupport (= 4.1.6)
|
8
7
|
rack (~> 1.5.2)
|
9
8
|
rack-test (~> 0.6.2)
|
10
|
-
|
11
|
-
activesupport (= 4.
|
12
|
-
builder (~> 3.1
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
9
|
+
actionview (4.1.6)
|
10
|
+
activesupport (= 4.1.6)
|
11
|
+
builder (~> 3.1)
|
12
|
+
erubis (~> 2.7.0)
|
13
|
+
activemodel (4.1.6)
|
14
|
+
activesupport (= 4.1.6)
|
15
|
+
builder (~> 3.1)
|
16
|
+
activerecord (4.1.6)
|
17
|
+
activemodel (= 4.1.6)
|
18
|
+
activesupport (= 4.1.6)
|
19
|
+
arel (~> 5.0.0)
|
20
|
+
activesupport (4.1.6)
|
21
|
+
i18n (~> 0.6, >= 0.6.9)
|
22
|
+
json (~> 1.7, >= 1.7.7)
|
23
|
+
minitest (~> 5.1)
|
23
24
|
thread_safe (~> 0.1)
|
24
|
-
tzinfo (~>
|
25
|
-
addressable (2.3.
|
26
|
-
ancestry (2.
|
25
|
+
tzinfo (~> 1.1)
|
26
|
+
addressable (2.3.6)
|
27
|
+
ancestry (2.1.0)
|
27
28
|
activerecord (>= 3.0.0)
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
29
|
+
appraisal (1.0.2)
|
30
|
+
bundler
|
31
|
+
rake
|
32
|
+
thor (>= 0.14.0)
|
33
|
+
arel (5.0.1.20140414130214)
|
34
|
+
builder (3.2.2)
|
35
|
+
coveralls (0.7.1)
|
34
36
|
multi_json (~> 1.3)
|
35
37
|
rest-client
|
36
38
|
simplecov (>= 0.7)
|
39
|
+
term-ansicolor
|
37
40
|
thor
|
38
|
-
diff-lcs (1.2.
|
41
|
+
diff-lcs (1.2.5)
|
42
|
+
docile (1.1.5)
|
39
43
|
erubis (2.7.0)
|
40
|
-
faraday (0.8.
|
41
|
-
multipart-post (~> 1.
|
42
|
-
git (1.2.
|
44
|
+
faraday (0.8.9)
|
45
|
+
multipart-post (~> 1.2.0)
|
46
|
+
git (1.2.8)
|
43
47
|
github_api (0.10.1)
|
44
48
|
addressable
|
45
49
|
faraday (~> 0.8.1)
|
@@ -47,11 +51,10 @@ GEM
|
|
47
51
|
multi_json (~> 1.4)
|
48
52
|
nokogiri (~> 1.5.2)
|
49
53
|
oauth2
|
50
|
-
hashie (
|
51
|
-
highline (1.6.
|
52
|
-
|
53
|
-
|
54
|
-
jeweler (1.8.6)
|
54
|
+
hashie (3.3.1)
|
55
|
+
highline (1.6.21)
|
56
|
+
i18n (0.6.11)
|
57
|
+
jeweler (1.8.8)
|
55
58
|
builder
|
56
59
|
bundler (~> 1.0)
|
57
60
|
git (>= 1.2.5)
|
@@ -60,52 +63,56 @@ GEM
|
|
60
63
|
nokogiri (= 1.5.10)
|
61
64
|
rake
|
62
65
|
rdoc
|
63
|
-
json (1.8.
|
64
|
-
jwt (0.
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
multi_xml (0.5.4)
|
66
|
+
json (1.8.1)
|
67
|
+
jwt (1.0.0)
|
68
|
+
mime-types (2.4.3)
|
69
|
+
minitest (5.4.2)
|
70
|
+
multi_json (1.10.1)
|
71
|
+
multi_xml (0.5.5)
|
70
72
|
multipart-post (1.2.0)
|
73
|
+
netrc (0.8.0)
|
71
74
|
nokogiri (1.5.10)
|
72
|
-
oauth2 (0.
|
73
|
-
faraday (
|
74
|
-
|
75
|
-
|
76
|
-
multi_json (~> 1.0)
|
75
|
+
oauth2 (1.0.0)
|
76
|
+
faraday (>= 0.8, < 0.10)
|
77
|
+
jwt (~> 1.0)
|
78
|
+
multi_json (~> 1.3)
|
77
79
|
multi_xml (~> 0.5)
|
78
80
|
rack (~> 1.2)
|
79
81
|
rack (1.5.2)
|
80
82
|
rack-test (0.6.2)
|
81
83
|
rack (>= 1.0)
|
82
|
-
railties (4.
|
83
|
-
actionpack (= 4.
|
84
|
-
activesupport (= 4.
|
84
|
+
railties (4.1.6)
|
85
|
+
actionpack (= 4.1.6)
|
86
|
+
activesupport (= 4.1.6)
|
85
87
|
rake (>= 0.8.7)
|
86
88
|
thor (>= 0.18.1, < 2.0)
|
87
|
-
rake (10.
|
88
|
-
rdoc (4.
|
89
|
+
rake (10.3.2)
|
90
|
+
rdoc (4.1.2)
|
89
91
|
json (~> 1.4)
|
90
|
-
rest-client (1.
|
91
|
-
mime-types (>= 1.16)
|
92
|
-
|
93
|
-
|
94
|
-
rspec-
|
95
|
-
rspec-
|
96
|
-
|
97
|
-
rspec-
|
92
|
+
rest-client (1.7.2)
|
93
|
+
mime-types (>= 1.16, < 3.0)
|
94
|
+
netrc (~> 0.7)
|
95
|
+
rspec (2.99.0)
|
96
|
+
rspec-core (~> 2.99.0)
|
97
|
+
rspec-expectations (~> 2.99.0)
|
98
|
+
rspec-mocks (~> 2.99.0)
|
99
|
+
rspec-core (2.99.2)
|
100
|
+
rspec-expectations (2.99.2)
|
98
101
|
diff-lcs (>= 1.1.3, < 2.0)
|
99
|
-
rspec-mocks (2.
|
100
|
-
simplecov (0.
|
102
|
+
rspec-mocks (2.99.2)
|
103
|
+
simplecov (0.9.1)
|
104
|
+
docile (~> 1.1.0)
|
101
105
|
multi_json (~> 1.0)
|
102
|
-
simplecov-html (~> 0.
|
103
|
-
simplecov-html (0.
|
104
|
-
sqlite3 (1.3.
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
106
|
+
simplecov-html (~> 0.8.0)
|
107
|
+
simplecov-html (0.8.0)
|
108
|
+
sqlite3 (1.3.9)
|
109
|
+
term-ansicolor (1.3.0)
|
110
|
+
tins (~> 1.0)
|
111
|
+
thor (0.19.1)
|
112
|
+
thread_safe (0.3.4)
|
113
|
+
tins (1.3.3)
|
114
|
+
tzinfo (1.2.2)
|
115
|
+
thread_safe (~> 0.1)
|
109
116
|
|
110
117
|
PLATFORMS
|
111
118
|
ruby
|
@@ -114,6 +121,7 @@ DEPENDENCIES
|
|
114
121
|
activerecord (>= 3.0.0)
|
115
122
|
activesupport (>= 3.0.0)
|
116
123
|
ancestry (>= 1.3.0)
|
124
|
+
appraisal
|
117
125
|
coveralls
|
118
126
|
jeweler (~> 1.8.0)
|
119
127
|
railties (>= 3.0.0)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.10
|
data/acts-as-messageable.gemspec
CHANGED
@@ -2,15 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: acts-as-messageable 0.4.
|
5
|
+
# stub: acts-as-messageable 0.4.10 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "acts-as-messageable"
|
9
|
-
s.version = "0.4.
|
9
|
+
s.version = "0.4.10"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib"]
|
12
13
|
s.authors = ["Piotr Nielacny"]
|
13
|
-
s.date = "
|
14
|
+
s.date = "2015-01-10"
|
14
15
|
s.email = "piotr.nielacny@gmail.com"
|
15
16
|
s.extra_rdoc_files = [
|
16
17
|
"README.md"
|
@@ -19,6 +20,7 @@ Gem::Specification.new do |s|
|
|
19
20
|
".coveralls.yml",
|
20
21
|
".rspec",
|
21
22
|
".travis.yml",
|
23
|
+
"Appraisals",
|
22
24
|
"Gemfile",
|
23
25
|
"Gemfile.lock",
|
24
26
|
"MIT-LICENSE",
|
@@ -26,10 +28,12 @@ Gem::Specification.new do |s|
|
|
26
28
|
"Rakefile",
|
27
29
|
"VERSION",
|
28
30
|
"acts-as-messageable.gemspec",
|
29
|
-
"gemfiles/
|
30
|
-
"gemfiles/
|
31
|
-
"gemfiles/
|
32
|
-
"gemfiles/
|
31
|
+
"gemfiles/rails_3.0.gemfile",
|
32
|
+
"gemfiles/rails_3.1.gemfile",
|
33
|
+
"gemfiles/rails_3.2.gemfile",
|
34
|
+
"gemfiles/rails_4.0.gemfile",
|
35
|
+
"gemfiles/rails_4.1.gemfile",
|
36
|
+
"gemfiles/rails_4.1_ProtectedAttributes.gemfile",
|
33
37
|
"lib/acts-as-messageable.rb",
|
34
38
|
"lib/acts-as-messageable/message.rb",
|
35
39
|
"lib/acts-as-messageable/model.rb",
|
@@ -51,8 +55,7 @@ Gem::Specification.new do |s|
|
|
51
55
|
"spec/support/user.rb"
|
52
56
|
]
|
53
57
|
s.homepage = "http://github.com/LTe/acts-as-messageable"
|
54
|
-
s.
|
55
|
-
s.rubygems_version = "2.1.11"
|
58
|
+
s.rubygems_version = "2.2.2"
|
56
59
|
s.summary = "Make user messageable!;-)"
|
57
60
|
|
58
61
|
if s.respond_to? :specification_version then
|
@@ -67,6 +70,7 @@ Gem::Specification.new do |s|
|
|
67
70
|
s.add_development_dependency(%q<jeweler>, ["~> 1.8.0"])
|
68
71
|
s.add_development_dependency(%q<sqlite3>, [">= 0"])
|
69
72
|
s.add_development_dependency(%q<coveralls>, [">= 0"])
|
73
|
+
s.add_development_dependency(%q<appraisal>, [">= 0"])
|
70
74
|
else
|
71
75
|
s.add_dependency(%q<activerecord>, [">= 3.0.0"])
|
72
76
|
s.add_dependency(%q<activesupport>, [">= 3.0.0"])
|
@@ -76,6 +80,7 @@ Gem::Specification.new do |s|
|
|
76
80
|
s.add_dependency(%q<jeweler>, ["~> 1.8.0"])
|
77
81
|
s.add_dependency(%q<sqlite3>, [">= 0"])
|
78
82
|
s.add_dependency(%q<coveralls>, [">= 0"])
|
83
|
+
s.add_dependency(%q<appraisal>, [">= 0"])
|
79
84
|
end
|
80
85
|
else
|
81
86
|
s.add_dependency(%q<activerecord>, [">= 3.0.0"])
|
@@ -86,6 +91,7 @@ Gem::Specification.new do |s|
|
|
86
91
|
s.add_dependency(%q<jeweler>, ["~> 1.8.0"])
|
87
92
|
s.add_dependency(%q<sqlite3>, [">= 0"])
|
88
93
|
s.add_dependency(%q<coveralls>, [">= 0"])
|
94
|
+
s.add_dependency(%q<appraisal>, [">= 0"])
|
89
95
|
end
|
90
96
|
end
|
91
97
|
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "http://rubygems.org"
|
4
|
+
|
5
|
+
gem "activerecord", "~> 3.0.0"
|
6
|
+
gem "activesupport", "~> 3.0.0"
|
7
|
+
gem "ancestry", ">= 1.3.0"
|
8
|
+
gem "railties", "~> 3.0.0"
|
9
|
+
|
10
|
+
group :development do
|
11
|
+
gem "rspec", "~> 2.0"
|
12
|
+
gem "jeweler", "~> 1.8.0"
|
13
|
+
gem "sqlite3"
|
14
|
+
gem "coveralls", :require => false
|
15
|
+
gem "appraisal"
|
16
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "http://rubygems.org"
|
4
|
+
|
5
|
+
gem "activerecord", "~> 3.1.0"
|
6
|
+
gem "activesupport", "~> 3.1.0"
|
7
|
+
gem "ancestry", ">= 1.3.0"
|
8
|
+
gem "railties", "~> 3.1.0"
|
9
|
+
|
10
|
+
group :development do
|
11
|
+
gem "rspec", "~> 2.0"
|
12
|
+
gem "jeweler", "~> 1.8.0"
|
13
|
+
gem "sqlite3"
|
14
|
+
gem "coveralls", :require => false
|
15
|
+
gem "appraisal"
|
16
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "http://rubygems.org"
|
4
|
+
|
5
|
+
gem "activerecord", "~> 3.2.0"
|
6
|
+
gem "activesupport", "~> 3.2.0"
|
7
|
+
gem "ancestry", ">= 1.3.0"
|
8
|
+
gem "railties", "~> 3.2.0"
|
9
|
+
|
10
|
+
group :development do
|
11
|
+
gem "rspec", "~> 2.0"
|
12
|
+
gem "jeweler", "~> 1.8.0"
|
13
|
+
gem "sqlite3"
|
14
|
+
gem "coveralls", :require => false
|
15
|
+
gem "appraisal"
|
16
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "http://rubygems.org"
|
4
|
+
|
5
|
+
gem "activerecord", "~> 4.0.0"
|
6
|
+
gem "activesupport", "~> 4.0.0"
|
7
|
+
gem "ancestry", ">= 1.3.0"
|
8
|
+
gem "railties", "~> 4.0.0"
|
9
|
+
|
10
|
+
group :development do
|
11
|
+
gem "rspec", "~> 2.0"
|
12
|
+
gem "jeweler", "~> 1.8.0"
|
13
|
+
gem "sqlite3"
|
14
|
+
gem "coveralls", :require => false
|
15
|
+
gem "appraisal"
|
16
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "http://rubygems.org"
|
4
|
+
|
5
|
+
gem "activerecord", "~> 4.1.0"
|
6
|
+
gem "activesupport", "~> 4.1.0"
|
7
|
+
gem "ancestry", ">= 1.3.0"
|
8
|
+
gem "railties", "~> 4.1.0"
|
9
|
+
|
10
|
+
group :development do
|
11
|
+
gem "rspec", "~> 2.0"
|
12
|
+
gem "jeweler", "~> 1.8.0"
|
13
|
+
gem "sqlite3"
|
14
|
+
gem "coveralls", :require => false
|
15
|
+
gem "appraisal"
|
16
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "http://rubygems.org"
|
4
|
+
|
5
|
+
gem "activerecord", "~> 4.1.0"
|
6
|
+
gem "activesupport", "~> 4.1.0"
|
7
|
+
gem "ancestry", ">= 1.3.0"
|
8
|
+
gem "railties", "~> 4.1.0"
|
9
|
+
gem "protected_attributes"
|
10
|
+
|
11
|
+
group :development do
|
12
|
+
gem "rspec", "~> 2.0"
|
13
|
+
gem "jeweler", "~> 1.8.0"
|
14
|
+
gem "sqlite3"
|
15
|
+
gem "coveralls", :require => false
|
16
|
+
gem "appraisal"
|
17
|
+
end
|
@@ -4,8 +4,14 @@ module ActsAsMessageable
|
|
4
4
|
@subject = subject
|
5
5
|
end
|
6
6
|
|
7
|
+
def attr_accessible(*args)
|
8
|
+
if defined?(ProtectedAttributes)
|
9
|
+
@subject.attr_accessible(*args)
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
7
13
|
def default_scope(order_by)
|
8
|
-
@subject.default_scope { order(order_by) }
|
14
|
+
@subject.send(:default_scope) { order(order_by) }
|
9
15
|
end
|
10
16
|
|
11
17
|
def scoped
|
data/spec/spec_helper.rb
CHANGED
data/spec/support/admin.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
class Admin < ActiveRecord::Base
|
2
|
-
acts_as_messageable
|
3
|
-
end
|
1
|
+
class Admin < ActiveRecord::Base
|
2
|
+
acts_as_messageable
|
3
|
+
end
|
metadata
CHANGED
@@ -1,125 +1,139 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts-as-messageable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Nielacny
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 3.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 3.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activesupport
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 3.0.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 3.0.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: ancestry
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 1.3.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 1.3.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: railties
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 3.0.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 3.0.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '2.0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '2.0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: jeweler
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - ~>
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: 1.8.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - ~>
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 1.8.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: sqlite3
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: coveralls
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: appraisal
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
123
137
|
- !ruby/object:Gem::Version
|
124
138
|
version: '0'
|
125
139
|
description:
|
@@ -129,9 +143,10 @@ extensions: []
|
|
129
143
|
extra_rdoc_files:
|
130
144
|
- README.md
|
131
145
|
files:
|
132
|
-
- .coveralls.yml
|
133
|
-
- .rspec
|
134
|
-
- .travis.yml
|
146
|
+
- ".coveralls.yml"
|
147
|
+
- ".rspec"
|
148
|
+
- ".travis.yml"
|
149
|
+
- Appraisals
|
135
150
|
- Gemfile
|
136
151
|
- Gemfile.lock
|
137
152
|
- MIT-LICENSE
|
@@ -139,10 +154,12 @@ files:
|
|
139
154
|
- Rakefile
|
140
155
|
- VERSION
|
141
156
|
- acts-as-messageable.gemspec
|
142
|
-
- gemfiles/
|
143
|
-
- gemfiles/
|
144
|
-
- gemfiles/
|
145
|
-
- gemfiles/
|
157
|
+
- gemfiles/rails_3.0.gemfile
|
158
|
+
- gemfiles/rails_3.1.gemfile
|
159
|
+
- gemfiles/rails_3.2.gemfile
|
160
|
+
- gemfiles/rails_4.0.gemfile
|
161
|
+
- gemfiles/rails_4.1.gemfile
|
162
|
+
- gemfiles/rails_4.1_ProtectedAttributes.gemfile
|
146
163
|
- lib/acts-as-messageable.rb
|
147
164
|
- lib/acts-as-messageable/message.rb
|
148
165
|
- lib/acts-as-messageable/model.rb
|
@@ -171,17 +188,17 @@ require_paths:
|
|
171
188
|
- lib
|
172
189
|
required_ruby_version: !ruby/object:Gem::Requirement
|
173
190
|
requirements:
|
174
|
-
- -
|
191
|
+
- - ">="
|
175
192
|
- !ruby/object:Gem::Version
|
176
193
|
version: '0'
|
177
194
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
178
195
|
requirements:
|
179
|
-
- -
|
196
|
+
- - ">="
|
180
197
|
- !ruby/object:Gem::Version
|
181
198
|
version: '0'
|
182
199
|
requirements: []
|
183
200
|
rubyforge_project:
|
184
|
-
rubygems_version: 2.
|
201
|
+
rubygems_version: 2.2.2
|
185
202
|
signing_key:
|
186
203
|
specification_version: 4
|
187
204
|
summary: Make user messageable!;-)
|
data/gemfiles/Gemfile-3.0
DELETED
data/gemfiles/Gemfile-3.1
DELETED
data/gemfiles/Gemfile-3.2
DELETED