requires_approval 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -2
- data/Gemfile.lock +25 -23
- data/VERSION +1 -1
- data/requires_approval.gemspec +9 -8
- data/requires_approval_rails_2.gemspec +90 -0
- metadata +32 -31
data/Gemfile
CHANGED
@@ -3,8 +3,8 @@ source "http://rubygems.org"
|
|
3
3
|
# Example:
|
4
4
|
# gem "activesupport", ">= 2.3.5"
|
5
5
|
|
6
|
-
gem "activerecord", "~> 3
|
7
|
-
gem "activesupport", "~> 3
|
6
|
+
gem "activerecord", "~> 3"
|
7
|
+
gem "activesupport", "~> 3"
|
8
8
|
|
9
9
|
# Add dependencies to develop your gem here.
|
10
10
|
# Include everything needed to run rake, tests, features, etc.
|
data/Gemfile.lock
CHANGED
@@ -1,41 +1,42 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
activemodel (3.
|
5
|
-
activesupport (= 3.
|
6
|
-
builder (~>
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
4
|
+
activemodel (3.2.8)
|
5
|
+
activesupport (= 3.2.8)
|
6
|
+
builder (~> 3.0.0)
|
7
|
+
activerecord (3.2.8)
|
8
|
+
activemodel (= 3.2.8)
|
9
|
+
activesupport (= 3.2.8)
|
10
|
+
arel (~> 3.0.2)
|
11
|
+
tzinfo (~> 0.3.29)
|
12
|
+
activesupport (3.2.8)
|
13
|
+
i18n (~> 0.6)
|
14
|
+
multi_json (~> 1.0)
|
14
15
|
archive-tar-minitar (0.5.2)
|
15
|
-
arel (
|
16
|
-
builder (
|
16
|
+
arel (3.0.2)
|
17
|
+
builder (3.0.0)
|
17
18
|
columnize (0.3.6)
|
18
19
|
diff-lcs (1.1.3)
|
19
|
-
ffi (1.1.
|
20
|
+
ffi (1.1.5)
|
20
21
|
git (1.2.5)
|
21
|
-
guard (1.2
|
22
|
+
guard (1.3.2)
|
22
23
|
listen (>= 0.4.2)
|
23
24
|
thor (>= 0.14.6)
|
24
25
|
guard-bundler (1.0.0)
|
25
26
|
bundler (~> 1.0)
|
26
27
|
guard (~> 1.1)
|
27
|
-
guard-rspec (1.2.
|
28
|
+
guard-rspec (1.2.1)
|
28
29
|
guard (>= 1.1)
|
29
30
|
guard-spork (1.1.0)
|
30
31
|
guard (>= 1.1)
|
31
32
|
spork (>= 0.8.4)
|
32
|
-
i18n (0.
|
33
|
+
i18n (0.6.0)
|
33
34
|
jeweler (1.8.4)
|
34
35
|
bundler (~> 1.0)
|
35
36
|
git (>= 1.2.5)
|
36
37
|
rake
|
37
38
|
rdoc
|
38
|
-
json (1.7.
|
39
|
+
json (1.7.5)
|
39
40
|
linecache19 (0.5.12)
|
40
41
|
ruby_core_source (>= 0.1.4)
|
41
42
|
listen (0.4.7)
|
@@ -43,8 +44,9 @@ GEM
|
|
43
44
|
rb-fsevent (~> 0.9.1)
|
44
45
|
rb-inotify (~> 0.8.8)
|
45
46
|
metaclass (0.0.1)
|
46
|
-
mocha (0.12.
|
47
|
+
mocha (0.12.3)
|
47
48
|
metaclass (~> 0.0.1)
|
49
|
+
multi_json (1.3.6)
|
48
50
|
rake (0.9.2.2)
|
49
51
|
rb-fchange (0.0.5)
|
50
52
|
ffi
|
@@ -58,9 +60,9 @@ GEM
|
|
58
60
|
rspec-expectations (~> 2.11.0)
|
59
61
|
rspec-mocks (~> 2.11.0)
|
60
62
|
rspec-core (2.11.1)
|
61
|
-
rspec-expectations (2.11.
|
63
|
+
rspec-expectations (2.11.2)
|
62
64
|
diff-lcs (~> 1.1.3)
|
63
|
-
rspec-mocks (2.11.
|
65
|
+
rspec-mocks (2.11.2)
|
64
66
|
ruby-debug-base19 (0.11.25)
|
65
67
|
columnize (>= 0.3.1)
|
66
68
|
linecache19 (>= 0.5.11)
|
@@ -73,7 +75,7 @@ GEM
|
|
73
75
|
archive-tar-minitar (>= 0.5.2)
|
74
76
|
spork (0.9.2)
|
75
77
|
sqlite3 (1.3.6)
|
76
|
-
thor (0.
|
78
|
+
thor (0.16.0)
|
77
79
|
tzinfo (0.3.33)
|
78
80
|
yard (0.8.2.1)
|
79
81
|
|
@@ -81,8 +83,8 @@ PLATFORMS
|
|
81
83
|
ruby
|
82
84
|
|
83
85
|
DEPENDENCIES
|
84
|
-
activerecord (~> 3
|
85
|
-
activesupport (~> 3
|
86
|
+
activerecord (~> 3)
|
87
|
+
activesupport (~> 3)
|
86
88
|
bundler
|
87
89
|
guard-bundler
|
88
90
|
guard-rspec
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
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.1"
|
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 = "2012-08-
|
12
|
+
s.date = "2012-08-27"
|
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 = [
|
@@ -29,6 +29,7 @@ Gem::Specification.new do |s|
|
|
29
29
|
"lib/errors.rb",
|
30
30
|
"lib/requires_approval.rb",
|
31
31
|
"requires_approval.gemspec",
|
32
|
+
"requires_approval_rails_2.gemspec",
|
32
33
|
"spec/lib/requires_approval_spec.rb",
|
33
34
|
"spec/spec_helper.rb",
|
34
35
|
"spec/support/BLANK"
|
@@ -43,8 +44,8 @@ Gem::Specification.new do |s|
|
|
43
44
|
s.specification_version = 3
|
44
45
|
|
45
46
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
46
|
-
s.add_runtime_dependency(%q<activerecord>, ["~> 3
|
47
|
-
s.add_runtime_dependency(%q<activesupport>, ["~> 3
|
47
|
+
s.add_runtime_dependency(%q<activerecord>, ["~> 3"])
|
48
|
+
s.add_runtime_dependency(%q<activesupport>, ["~> 3"])
|
48
49
|
s.add_development_dependency(%q<bundler>, [">= 0"])
|
49
50
|
s.add_development_dependency(%q<guard-rspec>, [">= 0"])
|
50
51
|
s.add_development_dependency(%q<guard-bundler>, [">= 0"])
|
@@ -57,8 +58,8 @@ Gem::Specification.new do |s|
|
|
57
58
|
s.add_development_dependency(%q<sqlite3>, [">= 0"])
|
58
59
|
s.add_development_dependency(%q<yard>, [">= 0"])
|
59
60
|
else
|
60
|
-
s.add_dependency(%q<activerecord>, ["~> 3
|
61
|
-
s.add_dependency(%q<activesupport>, ["~> 3
|
61
|
+
s.add_dependency(%q<activerecord>, ["~> 3"])
|
62
|
+
s.add_dependency(%q<activesupport>, ["~> 3"])
|
62
63
|
s.add_dependency(%q<bundler>, [">= 0"])
|
63
64
|
s.add_dependency(%q<guard-rspec>, [">= 0"])
|
64
65
|
s.add_dependency(%q<guard-bundler>, [">= 0"])
|
@@ -72,8 +73,8 @@ Gem::Specification.new do |s|
|
|
72
73
|
s.add_dependency(%q<yard>, [">= 0"])
|
73
74
|
end
|
74
75
|
else
|
75
|
-
s.add_dependency(%q<activerecord>, ["~> 3
|
76
|
-
s.add_dependency(%q<activesupport>, ["~> 3
|
76
|
+
s.add_dependency(%q<activerecord>, ["~> 3"])
|
77
|
+
s.add_dependency(%q<activesupport>, ["~> 3"])
|
77
78
|
s.add_dependency(%q<bundler>, [">= 0"])
|
78
79
|
s.add_dependency(%q<guard-rspec>, [">= 0"])
|
79
80
|
s.add_dependency(%q<guard-bundler>, [">= 0"])
|
@@ -0,0 +1,90 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "requires_approval_rails_2"
|
8
|
+
s.version = "1.0.0"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Dan Langevin"]
|
12
|
+
s.date = "2012-08-05"
|
13
|
+
s.description = "Gem to handle versioning and things that require approval"
|
14
|
+
s.email = "dan.langevin@lifebooker.com"
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE.txt",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".rspec",
|
22
|
+
"Gemfile",
|
23
|
+
"Gemfile.lock",
|
24
|
+
"Guardfile",
|
25
|
+
"LICENSE.txt",
|
26
|
+
"README.rdoc",
|
27
|
+
"Rakefile",
|
28
|
+
"VERSION",
|
29
|
+
"lib/errors.rb",
|
30
|
+
"lib/requires_approval.rb",
|
31
|
+
"requires_approval_rails_2.gemspec",
|
32
|
+
"spec/lib/requires_approval_spec.rb",
|
33
|
+
"spec/spec_helper.rb",
|
34
|
+
"spec/support/BLANK"
|
35
|
+
]
|
36
|
+
s.homepage = "http://github.com/LifebookerInc/requires_approval"
|
37
|
+
s.licenses = ["MIT"]
|
38
|
+
s.require_paths = ["lib"]
|
39
|
+
s.rubygems_version = "1.8.11"
|
40
|
+
s.summary = "Gem to handle versioning and things that require approval"
|
41
|
+
|
42
|
+
if s.respond_to? :specification_version then
|
43
|
+
s.specification_version = 3
|
44
|
+
|
45
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
46
|
+
s.add_runtime_dependency(%q<activerecord>, ["~> 2.3"])
|
47
|
+
s.add_runtime_dependency(%q<activesupport>, ["~> 2.3"])
|
48
|
+
s.add_development_dependency(%q<bundler>, [">= 0"])
|
49
|
+
s.add_development_dependency(%q<guard-rspec>, [">= 0"])
|
50
|
+
s.add_development_dependency(%q<guard-bundler>, [">= 0"])
|
51
|
+
s.add_development_dependency(%q<guard-spork>, [">= 0"])
|
52
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
|
53
|
+
s.add_development_dependency(%q<mocha>, [">= 0"])
|
54
|
+
s.add_development_dependency(%q<rdoc>, [">= 0"])
|
55
|
+
s.add_development_dependency(%q<rspec>, [">= 0"])
|
56
|
+
s.add_development_dependency(%q<ruby-debug19>, [">= 0"])
|
57
|
+
s.add_development_dependency(%q<sqlite3>, [">= 0"])
|
58
|
+
s.add_development_dependency(%q<yard>, [">= 0"])
|
59
|
+
else
|
60
|
+
s.add_dependency(%q<activerecord>, ["~> 2.3"])
|
61
|
+
s.add_dependency(%q<activesupport>, ["~> 2.3"])
|
62
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
63
|
+
s.add_dependency(%q<guard-rspec>, [">= 0"])
|
64
|
+
s.add_dependency(%q<guard-bundler>, [">= 0"])
|
65
|
+
s.add_dependency(%q<guard-spork>, [">= 0"])
|
66
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
67
|
+
s.add_dependency(%q<mocha>, [">= 0"])
|
68
|
+
s.add_dependency(%q<rdoc>, [">= 0"])
|
69
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
70
|
+
s.add_dependency(%q<ruby-debug19>, [">= 0"])
|
71
|
+
s.add_dependency(%q<sqlite3>, [">= 0"])
|
72
|
+
s.add_dependency(%q<yard>, [">= 0"])
|
73
|
+
end
|
74
|
+
else
|
75
|
+
s.add_dependency(%q<activerecord>, ["~> 2.3"])
|
76
|
+
s.add_dependency(%q<activesupport>, ["~> 2.3"])
|
77
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
78
|
+
s.add_dependency(%q<guard-rspec>, [">= 0"])
|
79
|
+
s.add_dependency(%q<guard-bundler>, [">= 0"])
|
80
|
+
s.add_dependency(%q<guard-spork>, [">= 0"])
|
81
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
82
|
+
s.add_dependency(%q<mocha>, [">= 0"])
|
83
|
+
s.add_dependency(%q<rdoc>, [">= 0"])
|
84
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
85
|
+
s.add_dependency(%q<ruby-debug19>, [">= 0"])
|
86
|
+
s.add_dependency(%q<sqlite3>, [">= 0"])
|
87
|
+
s.add_dependency(%q<yard>, [">= 0"])
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,33 +9,33 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-08-
|
12
|
+
date: 2012-08-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
16
|
-
requirement: &
|
16
|
+
requirement: &2169692840 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3
|
21
|
+
version: '3'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2169692840
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: activesupport
|
27
|
-
requirement: &
|
27
|
+
requirement: &2169692100 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3
|
32
|
+
version: '3'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2169692100
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: bundler
|
38
|
-
requirement: &
|
38
|
+
requirement: &2169691300 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2169691300
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: guard-rspec
|
49
|
-
requirement: &
|
49
|
+
requirement: &2169690220 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2169690220
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: guard-bundler
|
60
|
-
requirement: &
|
60
|
+
requirement: &2169689620 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *2169689620
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: guard-spork
|
71
|
-
requirement: &
|
71
|
+
requirement: &2169688880 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *2169688880
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: jeweler
|
82
|
-
requirement: &
|
82
|
+
requirement: &2169687780 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ~>
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: 1.8.3
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *2169687780
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: mocha
|
93
|
-
requirement: &
|
93
|
+
requirement: &2169687160 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ! '>='
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: '0'
|
99
99
|
type: :development
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *2169687160
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: rdoc
|
104
|
-
requirement: &
|
104
|
+
requirement: &2169674860 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ! '>='
|
@@ -109,10 +109,10 @@ dependencies:
|
|
109
109
|
version: '0'
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *2169674860
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: rspec
|
115
|
-
requirement: &
|
115
|
+
requirement: &2169674240 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ! '>='
|
@@ -120,10 +120,10 @@ dependencies:
|
|
120
120
|
version: '0'
|
121
121
|
type: :development
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *2169674240
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: ruby-debug19
|
126
|
-
requirement: &
|
126
|
+
requirement: &2169673400 !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
129
129
|
- - ! '>='
|
@@ -131,10 +131,10 @@ dependencies:
|
|
131
131
|
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
|
-
version_requirements: *
|
134
|
+
version_requirements: *2169673400
|
135
135
|
- !ruby/object:Gem::Dependency
|
136
136
|
name: sqlite3
|
137
|
-
requirement: &
|
137
|
+
requirement: &2169672520 !ruby/object:Gem::Requirement
|
138
138
|
none: false
|
139
139
|
requirements:
|
140
140
|
- - ! '>='
|
@@ -142,10 +142,10 @@ dependencies:
|
|
142
142
|
version: '0'
|
143
143
|
type: :development
|
144
144
|
prerelease: false
|
145
|
-
version_requirements: *
|
145
|
+
version_requirements: *2169672520
|
146
146
|
- !ruby/object:Gem::Dependency
|
147
147
|
name: yard
|
148
|
-
requirement: &
|
148
|
+
requirement: &2169671640 !ruby/object:Gem::Requirement
|
149
149
|
none: false
|
150
150
|
requirements:
|
151
151
|
- - ! '>='
|
@@ -153,7 +153,7 @@ dependencies:
|
|
153
153
|
version: '0'
|
154
154
|
type: :development
|
155
155
|
prerelease: false
|
156
|
-
version_requirements: *
|
156
|
+
version_requirements: *2169671640
|
157
157
|
description: Gem to handle versioning and things that require approval
|
158
158
|
email: dan.langevin@lifebooker.com
|
159
159
|
executables: []
|
@@ -174,6 +174,7 @@ files:
|
|
174
174
|
- lib/errors.rb
|
175
175
|
- lib/requires_approval.rb
|
176
176
|
- requires_approval.gemspec
|
177
|
+
- requires_approval_rails_2.gemspec
|
177
178
|
- spec/lib/requires_approval_spec.rb
|
178
179
|
- spec/spec_helper.rb
|
179
180
|
- spec/support/BLANK
|
@@ -192,7 +193,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
192
193
|
version: '0'
|
193
194
|
segments:
|
194
195
|
- 0
|
195
|
-
hash: -
|
196
|
+
hash: -2856595059415498144
|
196
197
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
197
198
|
none: false
|
198
199
|
requirements:
|