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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d604fa067efbb88cdf1f0f23b6b4e5bf9c78c6c3
4
- data.tar.gz: b31e28f39559b72140db9b4d192004e1e000dcdf
3
+ metadata.gz: bc0b450979e6d9de191cb2270dfa3d801c80e26f
4
+ data.tar.gz: 7dc7728efb662b70d535266097d61e41fb62493c
5
5
  SHA512:
6
- metadata.gz: e097e37c17729cb4ebec30e49c6a4e339c9fb3c2a15c51c3562b642032ff09e985c5c7d7c9184a1250f73f94ccebeabf68ecb6bfc6301d81ac7c8728172ec466
7
- data.tar.gz: 35ab14aaded4103085529559b4328120b244e280263fbf655ea379e2aa9c1234ea0f8a636eb22ffd9a207c421bfe1f187ffa85591ef6f50a22ed11035ce17d89
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.8)
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
- activemodel (3.2.14)
12
- activesupport (= 3.2.14)
13
- builder (~> 3.0.0)
14
- activerecord (3.2.14)
15
- activemodel (= 3.2.14)
16
- activesupport (= 3.2.14)
17
- arel (~> 3.0.2)
18
- tzinfo (~> 0.3.29)
19
- activesupport (3.2.14)
20
- i18n (~> 0.6, >= 0.6.4)
21
- multi_json (~> 1.0)
22
- arel (3.0.2)
23
- builder (3.0.4)
24
- diff-lcs (1.1.3)
25
- ffi (1.1.5)
26
- git (1.2.5)
27
- guard (1.3.2)
28
- listen (>= 0.4.2)
29
- thor (>= 0.14.6)
30
- guard-bundler (1.0.0)
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 (~> 1.1)
33
- guard-rspec (1.2.1)
34
- guard (>= 1.1)
35
- guard-spork (1.1.0)
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
- i18n (0.6.5)
39
- jeweler (1.8.4)
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.7.5)
45
- listen (0.4.7)
46
- rb-fchange (~> 0.0.5)
47
- rb-fsevent (~> 0.9.1)
48
- rb-inotify (~> 0.8.8)
49
- metaclass (0.0.1)
50
- mocha (0.12.3)
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.8.0)
53
- rake (0.9.2.2)
54
- rb-fchange (0.0.5)
55
- ffi
56
- rb-fsevent (0.9.1)
57
- rb-inotify (0.8.8)
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 (3.12)
93
+ rdoc (4.1.1)
60
94
  json (~> 1.4)
61
- rspec (2.11.0)
62
- rspec-core (~> 2.11.0)
63
- rspec-expectations (~> 2.11.0)
64
- rspec-mocks (~> 2.11.0)
65
- rspec-core (2.11.1)
66
- rspec-expectations (2.11.2)
67
- diff-lcs (~> 1.1.3)
68
- rspec-mocks (2.11.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.6)
71
- thor (0.16.0)
72
- tzinfo (0.3.37)
73
- yard (0.8.2.1)
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.8
1
+ 1.0.9
@@ -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.6"
3
- end
2
+ VERSION = "1.0.9"
3
+ end
@@ -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"
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 = "2013-10-19"
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"])
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "requires_approval_rails_2"
8
- s.version = "1.0.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"]
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.8
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: 2013-10-19 00:00:00.000000000 Z
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: