requires_approval 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +89 -54
- data/VERSION +1 -1
- data/lib/requires_approval.rb +2 -2
- data/lib/requires_approval/version.rb +2 -2
- data/requires_approval.gemspec +2 -5
- data/requires_approval_rails_2.gemspec +1 -1
- metadata +3 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc0b450979e6d9de191cb2270dfa3d801c80e26f
|
4
|
+
data.tar.gz: 7dc7728efb662b70d535266097d61e41fb62493c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93eae370ca66ccba9be60db77c36602f44886115f6fa23a9dc32153107a3a455aabb94f5685d66b60155c7523c962d3fba216964d901f73bce457b1c072b0caa
|
7
|
+
data.tar.gz: a9997c25e454d04ce273e4ed3303be707a74155cce438c1fbd35795dc393ea102266923f6bb35ea58f561c2934a71db233c6aa2d750b9a0528726404976b0479
|
data/Gemfile.lock
CHANGED
@@ -1,76 +1,111 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
requires_approval (1.0.
|
5
|
-
activerecord
|
4
|
+
requires_approval (1.0.9)
|
6
5
|
requires_approval
|
7
6
|
|
8
7
|
GEM
|
9
8
|
remote: http://rubygems.org/
|
10
9
|
specs:
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
git (1.2.
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
10
|
+
addressable (2.3.6)
|
11
|
+
builder (3.2.2)
|
12
|
+
celluloid (0.15.2)
|
13
|
+
timers (~> 1.1.0)
|
14
|
+
celluloid-io (0.15.0)
|
15
|
+
celluloid (>= 0.15.0)
|
16
|
+
nio4r (>= 0.5.0)
|
17
|
+
childprocess (0.5.3)
|
18
|
+
ffi (~> 1.0, >= 1.0.11)
|
19
|
+
coderay (1.1.0)
|
20
|
+
diff-lcs (1.2.5)
|
21
|
+
faraday (0.8.9)
|
22
|
+
multipart-post (~> 1.2.0)
|
23
|
+
ffi (1.9.3)
|
24
|
+
formatador (0.2.4)
|
25
|
+
git (1.2.6)
|
26
|
+
github_api (0.10.1)
|
27
|
+
addressable
|
28
|
+
faraday (~> 0.8.1)
|
29
|
+
hashie (>= 1.2)
|
30
|
+
multi_json (~> 1.4)
|
31
|
+
nokogiri (~> 1.5.2)
|
32
|
+
oauth2
|
33
|
+
guard (2.6.1)
|
34
|
+
formatador (>= 0.2.4)
|
35
|
+
listen (~> 2.7)
|
36
|
+
lumberjack (~> 1.0)
|
37
|
+
pry (>= 0.9.12)
|
38
|
+
thor (>= 0.18.1)
|
39
|
+
guard-bundler (2.0.0)
|
31
40
|
bundler (~> 1.0)
|
32
|
-
guard (~>
|
33
|
-
guard-rspec (
|
34
|
-
guard (
|
35
|
-
|
41
|
+
guard (~> 2.2)
|
42
|
+
guard-rspec (4.2.8)
|
43
|
+
guard (~> 2.1)
|
44
|
+
rspec (>= 2.14, < 4.0)
|
45
|
+
guard-spork (1.5.1)
|
46
|
+
childprocess (>= 0.2.3)
|
36
47
|
guard (>= 1.1)
|
37
48
|
spork (>= 0.8.4)
|
38
|
-
|
39
|
-
|
49
|
+
hashie (2.1.1)
|
50
|
+
highline (1.6.21)
|
51
|
+
jeweler (1.8.8)
|
52
|
+
builder
|
40
53
|
bundler (~> 1.0)
|
41
54
|
git (>= 1.2.5)
|
55
|
+
github_api (= 0.10.1)
|
56
|
+
highline (>= 1.6.15)
|
57
|
+
nokogiri (= 1.5.10)
|
42
58
|
rake
|
43
59
|
rdoc
|
44
|
-
json (1.
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
60
|
+
json (1.8.1)
|
61
|
+
jwt (0.1.13)
|
62
|
+
multi_json (>= 1.5)
|
63
|
+
listen (2.7.4)
|
64
|
+
celluloid (>= 0.15.2)
|
65
|
+
celluloid-io (>= 0.15.0)
|
66
|
+
rb-fsevent (>= 0.9.3)
|
67
|
+
rb-inotify (>= 0.9)
|
68
|
+
lumberjack (1.0.5)
|
69
|
+
metaclass (0.0.4)
|
70
|
+
method_source (0.8.2)
|
71
|
+
mocha (1.0.0)
|
51
72
|
metaclass (~> 0.0.1)
|
52
|
-
multi_json (1.
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
73
|
+
multi_json (1.10.0)
|
74
|
+
multi_xml (0.5.5)
|
75
|
+
multipart-post (1.2.0)
|
76
|
+
nio4r (1.0.0)
|
77
|
+
nokogiri (1.5.10)
|
78
|
+
oauth2 (0.9.3)
|
79
|
+
faraday (>= 0.8, < 0.10)
|
80
|
+
jwt (~> 0.1.8)
|
81
|
+
multi_json (~> 1.3)
|
82
|
+
multi_xml (~> 0.5)
|
83
|
+
rack (~> 1.2)
|
84
|
+
pry (0.9.12.6)
|
85
|
+
coderay (~> 1.0)
|
86
|
+
method_source (~> 0.8)
|
87
|
+
slop (~> 3.4)
|
88
|
+
rack (1.5.2)
|
89
|
+
rake (10.3.1)
|
90
|
+
rb-fsevent (0.9.4)
|
91
|
+
rb-inotify (0.9.4)
|
58
92
|
ffi (>= 0.5.0)
|
59
|
-
rdoc (
|
93
|
+
rdoc (4.1.1)
|
60
94
|
json (~> 1.4)
|
61
|
-
rspec (2.
|
62
|
-
rspec-core (~> 2.
|
63
|
-
rspec-expectations (~> 2.
|
64
|
-
rspec-mocks (~> 2.
|
65
|
-
rspec-core (2.
|
66
|
-
rspec-expectations (2.
|
67
|
-
diff-lcs (
|
68
|
-
rspec-mocks (2.
|
95
|
+
rspec (2.14.1)
|
96
|
+
rspec-core (~> 2.14.0)
|
97
|
+
rspec-expectations (~> 2.14.0)
|
98
|
+
rspec-mocks (~> 2.14.0)
|
99
|
+
rspec-core (2.14.8)
|
100
|
+
rspec-expectations (2.14.5)
|
101
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
102
|
+
rspec-mocks (2.14.6)
|
103
|
+
slop (3.5.0)
|
69
104
|
spork (0.9.2)
|
70
|
-
sqlite3 (1.3.
|
71
|
-
thor (0.
|
72
|
-
|
73
|
-
yard (0.8.
|
105
|
+
sqlite3 (1.3.9)
|
106
|
+
thor (0.19.1)
|
107
|
+
timers (1.1.0)
|
108
|
+
yard (0.8.7.4)
|
74
109
|
|
75
110
|
PLATFORMS
|
76
111
|
ruby
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.9
|
data/lib/requires_approval.rb
CHANGED
@@ -359,12 +359,12 @@ module RequiresApproval
|
|
359
359
|
|
360
360
|
# foreign key for our class on the version table
|
361
361
|
def versions_foreign_key
|
362
|
-
@version_foreign_key ||= "#{self.base_class.name.underscore}_id"
|
362
|
+
@version_foreign_key ||= "#{self.base_class.name.demodulize.underscore}_id"
|
363
363
|
end
|
364
364
|
|
365
365
|
# table name for our versions
|
366
366
|
def versions_table_name
|
367
|
-
@versions_table_name ||= "#{self.base_class.name.underscore}_versions"
|
367
|
+
@versions_table_name ||= "#{self.base_class.name.demodulize.underscore}_versions"
|
368
368
|
end
|
369
369
|
|
370
370
|
end
|
@@ -1,3 +1,3 @@
|
|
1
1
|
module RequiresApproval
|
2
|
-
VERSION = "1.0.
|
3
|
-
end
|
2
|
+
VERSION = "1.0.9"
|
3
|
+
end
|
data/requires_approval.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "requires_approval"
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.9"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Dan Langevin"]
|
12
|
-
s.date = "
|
12
|
+
s.date = "2014-05-09"
|
13
13
|
s.description = "Gem to handle versioning and things that require approval"
|
14
14
|
s.email = "dan.langevin@lifebooker.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -48,7 +48,6 @@ Gem::Specification.new do |s|
|
|
48
48
|
|
49
49
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
50
50
|
s.add_runtime_dependency(%q<requires_approval>, [">= 0"])
|
51
|
-
s.add_runtime_dependency(%q<activerecord>, [">= 0"])
|
52
51
|
s.add_development_dependency(%q<bundler>, [">= 0"])
|
53
52
|
s.add_development_dependency(%q<guard-rspec>, [">= 0"])
|
54
53
|
s.add_development_dependency(%q<guard-bundler>, [">= 0"])
|
@@ -61,7 +60,6 @@ Gem::Specification.new do |s|
|
|
61
60
|
s.add_development_dependency(%q<yard>, [">= 0"])
|
62
61
|
else
|
63
62
|
s.add_dependency(%q<requires_approval>, [">= 0"])
|
64
|
-
s.add_dependency(%q<activerecord>, [">= 0"])
|
65
63
|
s.add_dependency(%q<bundler>, [">= 0"])
|
66
64
|
s.add_dependency(%q<guard-rspec>, [">= 0"])
|
67
65
|
s.add_dependency(%q<guard-bundler>, [">= 0"])
|
@@ -75,7 +73,6 @@ Gem::Specification.new do |s|
|
|
75
73
|
end
|
76
74
|
else
|
77
75
|
s.add_dependency(%q<requires_approval>, [">= 0"])
|
78
|
-
s.add_dependency(%q<activerecord>, [">= 0"])
|
79
76
|
s.add_dependency(%q<bundler>, [">= 0"])
|
80
77
|
s.add_dependency(%q<guard-rspec>, [">= 0"])
|
81
78
|
s.add_dependency(%q<guard-bundler>, [">= 0"])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: requires_approval
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Langevin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: requires_approval
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: activerecord
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - '>='
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - '>='
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: bundler
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -230,3 +216,4 @@ signing_key:
|
|
230
216
|
specification_version: 4
|
231
217
|
summary: Gem to handle versioning and things that require approval
|
232
218
|
test_files: []
|
219
|
+
has_rdoc:
|