controll 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (8) hide show
  1. data/.rspec +1 -1
  2. data/.rvmrc +1 -0
  3. data/Gemfile +10 -6
  4. data/Gemfile.lock +75 -64
  5. data/VERSION +1 -1
  6. data/controll.gemspec +19 -18
  7. data/lib/controll.rb +1 -0
  8. metadata +17 -16
data/.rspec CHANGED
@@ -1 +1 @@
1
- --color
1
+ --color --format nested
data/.rvmrc ADDED
@@ -0,0 +1 @@
1
+ rvm use 1.9.3
data/Gemfile CHANGED
@@ -1,18 +1,22 @@
1
- source :rubygems
1
+ source 'https://rubygems.org'
2
2
 
3
- gem 'hashie', '~> 1.2'
3
+ gem 'hashie', '>= 1.2'
4
4
  gem 'liquid'
5
5
 
6
- gem 'imperator-ext', '~> 0.2.0' #, path: '/Users/kmandrup/private/repos/imperator-ext' #, :git => 'git://github.com/kristianmandrup/imperator-ext.git'
6
+ gem 'imperator-ext', '>= 0.2.0' #, path: '/Users/kmandrup/private/repos/imperator-ext' #, :git => 'git://github.com/kristianmandrup/imperator-ext.git'
7
7
  gem 'focused_controller', :git => 'git://github.com/kristianmandrup/focused_controller.git'
8
8
 
9
9
  gem 'i18n', '>= 0.6'
10
- gem 'rails', '~> 3'
10
+ gem 'rails', '>= 3.1'
11
+
12
+ group :test do
13
+ gem 'mongoid', '>= 3.1'
14
+ end
11
15
 
12
16
  group :development do
13
- gem "rspec", ">= 2.8.0"
17
+ gem "rspec", ">= 2.11"
14
18
  gem "rdoc", ">= 3.12"
15
- gem "bundler", ">= 1.0.0"
19
+ gem "bundler", ">= 1.1.0"
16
20
  gem "jeweler", ">= 1.8.4"
17
21
  gem "simplecov",">= 0.5"
18
22
  end
@@ -6,49 +6,50 @@ GIT
6
6
  actionpack (~> 3.0)
7
7
 
8
8
  GEM
9
- remote: http://rubygems.org/
9
+ remote: https://rubygems.org/
10
10
  specs:
11
- actionmailer (3.2.7)
12
- actionpack (= 3.2.7)
11
+ actionmailer (3.2.12)
12
+ actionpack (= 3.2.12)
13
13
  mail (~> 2.4.4)
14
- actionpack (3.2.7)
15
- activemodel (= 3.2.7)
16
- activesupport (= 3.2.7)
14
+ actionpack (3.2.12)
15
+ activemodel (= 3.2.12)
16
+ activesupport (= 3.2.12)
17
17
  builder (~> 3.0.0)
18
18
  erubis (~> 2.7.0)
19
19
  journey (~> 1.0.4)
20
- rack (~> 1.4.0)
20
+ rack (~> 1.4.5)
21
21
  rack-cache (~> 1.2)
22
22
  rack-test (~> 0.6.1)
23
- sprockets (~> 2.1.3)
24
- activemodel (3.2.7)
25
- activesupport (= 3.2.7)
23
+ sprockets (~> 2.2.1)
24
+ activemodel (3.2.12)
25
+ activesupport (= 3.2.12)
26
26
  builder (~> 3.0.0)
27
- activerecord (3.2.7)
28
- activemodel (= 3.2.7)
29
- activesupport (= 3.2.7)
27
+ activerecord (3.2.12)
28
+ activemodel (= 3.2.12)
29
+ activesupport (= 3.2.12)
30
30
  arel (~> 3.0.2)
31
31
  tzinfo (~> 0.3.29)
32
- activeresource (3.2.7)
33
- activemodel (= 3.2.7)
34
- activesupport (= 3.2.7)
35
- activesupport (3.2.7)
32
+ activeresource (3.2.12)
33
+ activemodel (= 3.2.12)
34
+ activesupport (= 3.2.12)
35
+ activesupport (3.2.12)
36
36
  i18n (~> 0.6)
37
37
  multi_json (~> 1.0)
38
38
  arel (3.0.2)
39
- backports (2.6.3)
40
- builder (3.0.0)
41
- diff-lcs (1.1.3)
39
+ backports (2.6.7)
40
+ builder (3.0.4)
41
+ descendants_tracker (0.0.1)
42
+ diff-lcs (1.2.1)
42
43
  erubis (2.7.0)
43
44
  git (1.2.5)
44
- hashie (1.2.0)
45
+ hashie (2.0.3)
45
46
  hike (1.2.1)
46
- i18n (0.6.0)
47
+ i18n (0.6.4)
47
48
  imperator (0.2.0)
48
49
  activemodel
49
50
  uuidtools
50
51
  virtus
51
- imperator-ext (0.2.1)
52
+ imperator-ext (0.2.3)
52
53
  imperator
53
54
  virtus
54
55
  jeweler (1.8.4)
@@ -57,78 +58,88 @@ GEM
57
58
  rake
58
59
  rdoc
59
60
  journey (1.0.4)
60
- json (1.7.4)
61
- liquid (2.3.0)
61
+ json (1.7.7)
62
+ liquid (2.5.0)
62
63
  mail (2.4.4)
63
64
  i18n (>= 0.4.0)
64
65
  mime-types (~> 1.16)
65
66
  treetop (~> 1.4.8)
66
- mime-types (1.19)
67
- multi_json (1.3.6)
67
+ mime-types (1.21)
68
+ mongoid (3.1.2)
69
+ activemodel (~> 3.2)
70
+ moped (~> 1.4.2)
71
+ origin (~> 1.0)
72
+ tzinfo (~> 0.3.22)
73
+ moped (1.4.3)
74
+ multi_json (1.7.1)
75
+ origin (1.0.11)
68
76
  polyglot (0.3.3)
69
- rack (1.4.1)
77
+ rack (1.4.5)
70
78
  rack-cache (1.2)
71
79
  rack (>= 0.4)
72
- rack-ssl (1.3.2)
80
+ rack-ssl (1.3.3)
73
81
  rack
74
- rack-test (0.6.1)
82
+ rack-test (0.6.2)
75
83
  rack (>= 1.0)
76
- rails (3.2.7)
77
- actionmailer (= 3.2.7)
78
- actionpack (= 3.2.7)
79
- activerecord (= 3.2.7)
80
- activeresource (= 3.2.7)
81
- activesupport (= 3.2.7)
84
+ rails (3.2.12)
85
+ actionmailer (= 3.2.12)
86
+ actionpack (= 3.2.12)
87
+ activerecord (= 3.2.12)
88
+ activeresource (= 3.2.12)
89
+ activesupport (= 3.2.12)
82
90
  bundler (~> 1.0)
83
- railties (= 3.2.7)
84
- railties (3.2.7)
85
- actionpack (= 3.2.7)
86
- activesupport (= 3.2.7)
91
+ railties (= 3.2.12)
92
+ railties (3.2.12)
93
+ actionpack (= 3.2.12)
94
+ activesupport (= 3.2.12)
87
95
  rack-ssl (~> 1.3.2)
88
96
  rake (>= 0.8.7)
89
97
  rdoc (~> 3.4)
90
98
  thor (>= 0.14.6, < 2.0)
91
- rake (0.9.2.2)
92
- rdoc (3.12)
99
+ rake (10.0.3)
100
+ rdoc (3.12.2)
93
101
  json (~> 1.4)
94
- rspec (2.11.0)
95
- rspec-core (~> 2.11.0)
96
- rspec-expectations (~> 2.11.0)
97
- rspec-mocks (~> 2.11.0)
98
- rspec-core (2.11.1)
99
- rspec-expectations (2.11.2)
100
- diff-lcs (~> 1.1.3)
101
- rspec-mocks (2.11.1)
102
- simplecov (0.6.4)
102
+ rspec (2.13.0)
103
+ rspec-core (~> 2.13.0)
104
+ rspec-expectations (~> 2.13.0)
105
+ rspec-mocks (~> 2.13.0)
106
+ rspec-core (2.13.1)
107
+ rspec-expectations (2.13.0)
108
+ diff-lcs (>= 1.1.3, < 2.0)
109
+ rspec-mocks (2.13.0)
110
+ simplecov (0.7.1)
103
111
  multi_json (~> 1.0)
104
- simplecov-html (~> 0.5.3)
105
- simplecov-html (0.5.3)
106
- sprockets (2.1.3)
112
+ simplecov-html (~> 0.7.1)
113
+ simplecov-html (0.7.1)
114
+ sprockets (2.2.2)
107
115
  hike (~> 1.2)
116
+ multi_json (~> 1.0)
108
117
  rack (~> 1.0)
109
118
  tilt (~> 1.1, != 1.3.0)
110
- thor (0.15.4)
111
- tilt (1.3.3)
112
- treetop (1.4.10)
119
+ thor (0.17.0)
120
+ tilt (1.3.6)
121
+ treetop (1.4.12)
113
122
  polyglot
114
123
  polyglot (>= 0.3.1)
115
- tzinfo (0.3.33)
124
+ tzinfo (0.3.37)
116
125
  uuidtools (2.1.3)
117
- virtus (0.5.1)
126
+ virtus (0.5.4)
118
127
  backports (~> 2.6.1)
128
+ descendants_tracker (~> 0.0.1)
119
129
 
120
130
  PLATFORMS
121
131
  ruby
122
132
 
123
133
  DEPENDENCIES
124
- bundler (>= 1.0.0)
134
+ bundler (>= 1.1.0)
125
135
  focused_controller!
126
- hashie (~> 1.2)
136
+ hashie (>= 1.2)
127
137
  i18n (>= 0.6)
128
- imperator-ext (~> 0.2.0)
138
+ imperator-ext (>= 0.2.0)
129
139
  jeweler (>= 1.8.4)
130
140
  liquid
131
- rails (~> 3)
141
+ mongoid (>= 3.1)
142
+ rails (>= 3.1)
132
143
  rdoc (>= 3.12)
133
- rspec (>= 2.8.0)
144
+ rspec (>= 2.11)
134
145
  simplecov (>= 0.5)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "controll"
8
- s.version = "0.3.1"
8
+ s.version = "0.3.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kristian Mandrup"]
12
- s.date = "2012-12-07"
12
+ s.date = "2013-03-22"
13
13
  s.description = "Flow, Executor, Notifier and more, all tied together tool pack"
14
14
  s.email = "kmandrup@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -19,6 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.files = [
20
20
  ".document",
21
21
  ".rspec",
22
+ ".rvmrc",
22
23
  "Gemfile",
23
24
  "Gemfile.lock",
24
25
  "LICENSE.txt",
@@ -185,47 +186,47 @@ Gem::Specification.new do |s|
185
186
  s.homepage = "http://github.com/kristianmandrup/controll"
186
187
  s.licenses = ["MIT"]
187
188
  s.require_paths = ["lib"]
188
- s.rubygems_version = "1.8.24"
189
+ s.rubygems_version = "1.8.25"
189
190
  s.summary = "Utils for handling complex Controller/Business logic"
190
191
 
191
192
  if s.respond_to? :specification_version then
192
193
  s.specification_version = 3
193
194
 
194
195
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
195
- s.add_runtime_dependency(%q<hashie>, ["~> 1.2"])
196
+ s.add_runtime_dependency(%q<hashie>, [">= 1.2"])
196
197
  s.add_runtime_dependency(%q<liquid>, [">= 0"])
197
- s.add_runtime_dependency(%q<imperator-ext>, ["~> 0.2.0"])
198
+ s.add_runtime_dependency(%q<imperator-ext>, [">= 0.2.0"])
198
199
  s.add_runtime_dependency(%q<focused_controller>, [">= 0"])
199
200
  s.add_runtime_dependency(%q<i18n>, [">= 0.6"])
200
- s.add_runtime_dependency(%q<rails>, ["~> 3"])
201
- s.add_development_dependency(%q<rspec>, [">= 2.8.0"])
201
+ s.add_runtime_dependency(%q<rails>, [">= 3.1"])
202
+ s.add_development_dependency(%q<rspec>, [">= 2.11"])
202
203
  s.add_development_dependency(%q<rdoc>, [">= 3.12"])
203
- s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
204
+ s.add_development_dependency(%q<bundler>, [">= 1.1.0"])
204
205
  s.add_development_dependency(%q<jeweler>, [">= 1.8.4"])
205
206
  s.add_development_dependency(%q<simplecov>, [">= 0.5"])
206
207
  else
207
- s.add_dependency(%q<hashie>, ["~> 1.2"])
208
+ s.add_dependency(%q<hashie>, [">= 1.2"])
208
209
  s.add_dependency(%q<liquid>, [">= 0"])
209
- s.add_dependency(%q<imperator-ext>, ["~> 0.2.0"])
210
+ s.add_dependency(%q<imperator-ext>, [">= 0.2.0"])
210
211
  s.add_dependency(%q<focused_controller>, [">= 0"])
211
212
  s.add_dependency(%q<i18n>, [">= 0.6"])
212
- s.add_dependency(%q<rails>, ["~> 3"])
213
- s.add_dependency(%q<rspec>, [">= 2.8.0"])
213
+ s.add_dependency(%q<rails>, [">= 3.1"])
214
+ s.add_dependency(%q<rspec>, [">= 2.11"])
214
215
  s.add_dependency(%q<rdoc>, [">= 3.12"])
215
- s.add_dependency(%q<bundler>, [">= 1.0.0"])
216
+ s.add_dependency(%q<bundler>, [">= 1.1.0"])
216
217
  s.add_dependency(%q<jeweler>, [">= 1.8.4"])
217
218
  s.add_dependency(%q<simplecov>, [">= 0.5"])
218
219
  end
219
220
  else
220
- s.add_dependency(%q<hashie>, ["~> 1.2"])
221
+ s.add_dependency(%q<hashie>, [">= 1.2"])
221
222
  s.add_dependency(%q<liquid>, [">= 0"])
222
- s.add_dependency(%q<imperator-ext>, ["~> 0.2.0"])
223
+ s.add_dependency(%q<imperator-ext>, [">= 0.2.0"])
223
224
  s.add_dependency(%q<focused_controller>, [">= 0"])
224
225
  s.add_dependency(%q<i18n>, [">= 0.6"])
225
- s.add_dependency(%q<rails>, ["~> 3"])
226
- s.add_dependency(%q<rspec>, [">= 2.8.0"])
226
+ s.add_dependency(%q<rails>, [">= 3.1"])
227
+ s.add_dependency(%q<rspec>, [">= 2.11"])
227
228
  s.add_dependency(%q<rdoc>, [">= 3.12"])
228
- s.add_dependency(%q<bundler>, [">= 1.0.0"])
229
+ s.add_dependency(%q<bundler>, [">= 1.1.0"])
229
230
  s.add_dependency(%q<jeweler>, [">= 1.8.4"])
230
231
  s.add_dependency(%q<simplecov>, [">= 0.5"])
231
232
  end
@@ -2,6 +2,7 @@ module Controll
2
2
  end
3
3
 
4
4
  require 'hashie'
5
+ require 'singleton'
5
6
  require 'imperator-ext'
6
7
  require 'controll/errors'
7
8
  require 'controll/event'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: controll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,14 +9,14 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-07 00:00:00.000000000 Z
12
+ date: 2013-03-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hashie
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ~>
19
+ - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
21
  version: '1.2'
22
22
  type: :runtime
@@ -24,7 +24,7 @@ dependencies:
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ~>
27
+ - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: '1.2'
30
30
  - !ruby/object:Gem::Dependency
@@ -48,7 +48,7 @@ dependencies:
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  none: false
50
50
  requirements:
51
- - - ~>
51
+ - - ! '>='
52
52
  - !ruby/object:Gem::Version
53
53
  version: 0.2.0
54
54
  type: :runtime
@@ -56,7 +56,7 @@ dependencies:
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  none: false
58
58
  requirements:
59
- - - ~>
59
+ - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: 0.2.0
62
62
  - !ruby/object:Gem::Dependency
@@ -96,17 +96,17 @@ dependencies:
96
96
  requirement: !ruby/object:Gem::Requirement
97
97
  none: false
98
98
  requirements:
99
- - - ~>
99
+ - - ! '>='
100
100
  - !ruby/object:Gem::Version
101
- version: '3'
101
+ version: '3.1'
102
102
  type: :runtime
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
- - - ~>
107
+ - - ! '>='
108
108
  - !ruby/object:Gem::Version
109
- version: '3'
109
+ version: '3.1'
110
110
  - !ruby/object:Gem::Dependency
111
111
  name: rspec
112
112
  requirement: !ruby/object:Gem::Requirement
@@ -114,7 +114,7 @@ dependencies:
114
114
  requirements:
115
115
  - - ! '>='
116
116
  - !ruby/object:Gem::Version
117
- version: 2.8.0
117
+ version: '2.11'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
@@ -122,7 +122,7 @@ dependencies:
122
122
  requirements:
123
123
  - - ! '>='
124
124
  - !ruby/object:Gem::Version
125
- version: 2.8.0
125
+ version: '2.11'
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: rdoc
128
128
  requirement: !ruby/object:Gem::Requirement
@@ -146,7 +146,7 @@ dependencies:
146
146
  requirements:
147
147
  - - ! '>='
148
148
  - !ruby/object:Gem::Version
149
- version: 1.0.0
149
+ version: 1.1.0
150
150
  type: :development
151
151
  prerelease: false
152
152
  version_requirements: !ruby/object:Gem::Requirement
@@ -154,7 +154,7 @@ dependencies:
154
154
  requirements:
155
155
  - - ! '>='
156
156
  - !ruby/object:Gem::Version
157
- version: 1.0.0
157
+ version: 1.1.0
158
158
  - !ruby/object:Gem::Dependency
159
159
  name: jeweler
160
160
  requirement: !ruby/object:Gem::Requirement
@@ -197,6 +197,7 @@ extra_rdoc_files:
197
197
  files:
198
198
  - .document
199
199
  - .rspec
200
+ - .rvmrc
200
201
  - Gemfile
201
202
  - Gemfile.lock
202
203
  - LICENSE.txt
@@ -374,7 +375,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
374
375
  version: '0'
375
376
  segments:
376
377
  - 0
377
- hash: -1019330762014572212
378
+ hash: -4155842367837135594
378
379
  required_rubygems_version: !ruby/object:Gem::Requirement
379
380
  none: false
380
381
  requirements:
@@ -383,7 +384,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
383
384
  version: '0'
384
385
  requirements: []
385
386
  rubyforge_project:
386
- rubygems_version: 1.8.24
387
+ rubygems_version: 1.8.25
387
388
  signing_key:
388
389
  specification_version: 3
389
390
  summary: Utils for handling complex Controller/Business logic