canmoia 0.0.4 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +50 -0
- data/.rspec +2 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/Gemfile +17 -0
- data/Gemfile.lock +195 -0
- data/README.md +5 -4
- data/canmoia.gemspec +37 -0
- data/lib/canmoia/concerns/work.rb +3 -2
- data/lib/canmoia/features/notification.rb +3 -1
- data/lib/canmoia/version.rb +1 -1
- data/spec/#spec_helper.rb# +46 -0
- data/spec/dummy/app/mailers/.gitkeep +0 -0
- data/spec/dummy/app/models/.gitkeep +0 -0
- data/spec/dummy/lib/assets/.gitkeep +0 -0
- data/spec/dummy/log/.gitkeep +0 -0
- data/spec/spec_helper.rb +0 -4
- data/tmp/rspec_guard_result +1 -0
- metadata +38 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8064226b72d701941053f1159b2b0b910029969f
|
|
4
|
+
data.tar.gz: 9e9a71b8298ae976ba3184af94a451d0a564d86f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3f4160fe7c5594438f3ba660208a04ee4845ffef535355ed7e3c4eea8d4f2a9c0fd780588afe77d36f212e78f754be0504a64d7906811bd7d1922f4cc7fb9603
|
|
7
|
+
data.tar.gz: a6bf9701090a02d0c5e2c5c333646766a79dd104361a0604bf30ec56143bdec9513a3bab8a48093dc46be603a030ac38e676dd404aaa4846d3ceb6b95afdf880
|
data/.gitignore
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# Mac OS X Files
|
|
2
|
+
.DS_*
|
|
3
|
+
|
|
4
|
+
# Bundler
|
|
5
|
+
.bundle
|
|
6
|
+
|
|
7
|
+
# Security Preventions
|
|
8
|
+
db/*.sqlite3
|
|
9
|
+
config/database.yml
|
|
10
|
+
config/pubnub.yml
|
|
11
|
+
config/mongoid.yml
|
|
12
|
+
spec/dummy/db/*.sqlite3
|
|
13
|
+
spec/dummy/config/database.yml
|
|
14
|
+
spec/dummy/config/pubnub.yml
|
|
15
|
+
spec/dummy/config/mongoid.yml
|
|
16
|
+
spec/dummy/config/initializers/smtp.rb
|
|
17
|
+
|
|
18
|
+
# Monitoring files
|
|
19
|
+
log/*
|
|
20
|
+
tmp
|
|
21
|
+
tmp/**/*
|
|
22
|
+
public/uploads/*
|
|
23
|
+
public/clicktale/*
|
|
24
|
+
public/uploads/*
|
|
25
|
+
spec/dummy/log/*
|
|
26
|
+
spec/dummy/tmp/**/*
|
|
27
|
+
spec/dummy/public/uploads/*
|
|
28
|
+
spec/dummy/public/clicktale/*
|
|
29
|
+
spec/dummy/public/uploads/*
|
|
30
|
+
|
|
31
|
+
# Run Commands Files
|
|
32
|
+
.rvmrc
|
|
33
|
+
.powrc
|
|
34
|
+
|
|
35
|
+
# Cache
|
|
36
|
+
test/dummy/.sass-cache
|
|
37
|
+
|
|
38
|
+
# Vendor and Data files
|
|
39
|
+
pkg/
|
|
40
|
+
test/dummy/public/uploads/*
|
|
41
|
+
test/dummy/public/clicktale/*
|
|
42
|
+
|
|
43
|
+
# Emacs Temporary Files
|
|
44
|
+
*~
|
|
45
|
+
*#
|
|
46
|
+
|
|
47
|
+
# Eclipse
|
|
48
|
+
.directory
|
|
49
|
+
.project
|
|
50
|
+
.loadpath
|
data/.rspec
ADDED
data/.ruby-gemset
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
canmoia
|
data/.ruby-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ruby-2.0.0-p195
|
data/Gemfile
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
source "http://rubygems.org"
|
|
2
|
+
|
|
3
|
+
# Declare your gem's dependencies in canmoia.gemspec.
|
|
4
|
+
# Bundler will treat runtime dependencies like base dependencies, and
|
|
5
|
+
# development dependencies will be added by default to the :development group.
|
|
6
|
+
gemspec
|
|
7
|
+
|
|
8
|
+
# jquery-rails is used by the dummy application
|
|
9
|
+
gem "jquery-rails"
|
|
10
|
+
|
|
11
|
+
# Declare any dependencies that are still in development here instead of in
|
|
12
|
+
# your gemspec. These might include edge Rails or gems from your path or
|
|
13
|
+
# Git. Remember to move these dependencies to your gemspec before releasing
|
|
14
|
+
# your gem to rubygems.org.
|
|
15
|
+
|
|
16
|
+
# To use debugger
|
|
17
|
+
# gem 'debugger'
|
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
canmoia (0.1.0)
|
|
5
|
+
mongoid
|
|
6
|
+
rails (>= 3)
|
|
7
|
+
workflow_on_mongoid
|
|
8
|
+
|
|
9
|
+
GEM
|
|
10
|
+
remote: http://rubygems.org/
|
|
11
|
+
specs:
|
|
12
|
+
actionmailer (3.2.13)
|
|
13
|
+
actionpack (= 3.2.13)
|
|
14
|
+
mail (~> 2.5.3)
|
|
15
|
+
actionpack (3.2.13)
|
|
16
|
+
activemodel (= 3.2.13)
|
|
17
|
+
activesupport (= 3.2.13)
|
|
18
|
+
builder (~> 3.0.0)
|
|
19
|
+
erubis (~> 2.7.0)
|
|
20
|
+
journey (~> 1.0.4)
|
|
21
|
+
rack (~> 1.4.5)
|
|
22
|
+
rack-cache (~> 1.2)
|
|
23
|
+
rack-test (~> 0.6.1)
|
|
24
|
+
sprockets (~> 2.2.1)
|
|
25
|
+
activemodel (3.2.13)
|
|
26
|
+
activesupport (= 3.2.13)
|
|
27
|
+
builder (~> 3.0.0)
|
|
28
|
+
activerecord (3.2.13)
|
|
29
|
+
activemodel (= 3.2.13)
|
|
30
|
+
activesupport (= 3.2.13)
|
|
31
|
+
arel (~> 3.0.2)
|
|
32
|
+
tzinfo (~> 0.3.29)
|
|
33
|
+
activeresource (3.2.13)
|
|
34
|
+
activemodel (= 3.2.13)
|
|
35
|
+
activesupport (= 3.2.13)
|
|
36
|
+
activesupport (3.2.13)
|
|
37
|
+
i18n (= 0.6.1)
|
|
38
|
+
multi_json (~> 1.0)
|
|
39
|
+
addressable (2.3.4)
|
|
40
|
+
arel (3.0.2)
|
|
41
|
+
awesome_print (1.1.0)
|
|
42
|
+
binding_of_caller (0.7.1)
|
|
43
|
+
debug_inspector (>= 0.0.1)
|
|
44
|
+
builder (3.0.4)
|
|
45
|
+
coderay (1.0.9)
|
|
46
|
+
database_cleaner (1.0.1)
|
|
47
|
+
debug_inspector (0.0.2)
|
|
48
|
+
diff-lcs (1.2.4)
|
|
49
|
+
email_spec (1.4.0)
|
|
50
|
+
launchy (~> 2.1)
|
|
51
|
+
mail (~> 2.2)
|
|
52
|
+
erubis (2.7.0)
|
|
53
|
+
fabrication (2.7.1)
|
|
54
|
+
ffi (1.8.1)
|
|
55
|
+
forgery (0.5.0)
|
|
56
|
+
formatador (0.2.4)
|
|
57
|
+
growl (1.0.3)
|
|
58
|
+
guard (1.8.0)
|
|
59
|
+
formatador (>= 0.2.4)
|
|
60
|
+
listen (>= 1.0.0)
|
|
61
|
+
lumberjack (>= 1.0.2)
|
|
62
|
+
pry (>= 0.9.10)
|
|
63
|
+
thor (>= 0.14.6)
|
|
64
|
+
guard-rspec (3.0.0)
|
|
65
|
+
guard (>= 1.8)
|
|
66
|
+
rspec (~> 2.13)
|
|
67
|
+
hike (1.2.2)
|
|
68
|
+
i18n (0.6.1)
|
|
69
|
+
interception (0.3)
|
|
70
|
+
journey (1.0.4)
|
|
71
|
+
jquery-rails (2.2.1)
|
|
72
|
+
railties (>= 3.0, < 5.0)
|
|
73
|
+
thor (>= 0.14, < 2.0)
|
|
74
|
+
json (1.8.0)
|
|
75
|
+
launchy (2.3.0)
|
|
76
|
+
addressable (~> 2.3)
|
|
77
|
+
listen (1.1.3)
|
|
78
|
+
rb-fsevent (>= 0.9.3)
|
|
79
|
+
rb-inotify (>= 0.9)
|
|
80
|
+
rb-kqueue (>= 0.2)
|
|
81
|
+
lumberjack (1.0.3)
|
|
82
|
+
mail (2.5.4)
|
|
83
|
+
mime-types (~> 1.16)
|
|
84
|
+
treetop (~> 1.4.8)
|
|
85
|
+
method_source (0.8.1)
|
|
86
|
+
mime-types (1.23)
|
|
87
|
+
mongoid (3.1.4)
|
|
88
|
+
activemodel (~> 3.2)
|
|
89
|
+
moped (~> 1.4)
|
|
90
|
+
origin (~> 1.0)
|
|
91
|
+
tzinfo (~> 0.3.22)
|
|
92
|
+
mongoid-rspec (1.8.1)
|
|
93
|
+
mongoid (>= 3.0.1)
|
|
94
|
+
rake
|
|
95
|
+
rspec (>= 2.9)
|
|
96
|
+
moped (1.5.0)
|
|
97
|
+
multi_json (1.7.3)
|
|
98
|
+
origin (1.1.0)
|
|
99
|
+
polyglot (0.3.3)
|
|
100
|
+
pry (0.9.12.2)
|
|
101
|
+
coderay (~> 1.0.5)
|
|
102
|
+
method_source (~> 0.8)
|
|
103
|
+
slop (~> 3.4)
|
|
104
|
+
pry-rails (0.3.0)
|
|
105
|
+
pry (>= 0.9.10)
|
|
106
|
+
pry-rescue (1.1.1)
|
|
107
|
+
interception (>= 0.3)
|
|
108
|
+
pry
|
|
109
|
+
pry-stack_explorer (0.4.9)
|
|
110
|
+
binding_of_caller (>= 0.7)
|
|
111
|
+
pry (~> 0.9.11)
|
|
112
|
+
rack (1.4.5)
|
|
113
|
+
rack-cache (1.2)
|
|
114
|
+
rack (>= 0.4)
|
|
115
|
+
rack-ssl (1.3.3)
|
|
116
|
+
rack
|
|
117
|
+
rack-test (0.6.2)
|
|
118
|
+
rack (>= 1.0)
|
|
119
|
+
rails (3.2.13)
|
|
120
|
+
actionmailer (= 3.2.13)
|
|
121
|
+
actionpack (= 3.2.13)
|
|
122
|
+
activerecord (= 3.2.13)
|
|
123
|
+
activeresource (= 3.2.13)
|
|
124
|
+
activesupport (= 3.2.13)
|
|
125
|
+
bundler (~> 1.0)
|
|
126
|
+
railties (= 3.2.13)
|
|
127
|
+
railties (3.2.13)
|
|
128
|
+
actionpack (= 3.2.13)
|
|
129
|
+
activesupport (= 3.2.13)
|
|
130
|
+
rack-ssl (~> 1.3.2)
|
|
131
|
+
rake (>= 0.8.7)
|
|
132
|
+
rdoc (~> 3.4)
|
|
133
|
+
thor (>= 0.14.6, < 2.0)
|
|
134
|
+
rake (10.0.4)
|
|
135
|
+
rb-fsevent (0.9.3)
|
|
136
|
+
rb-inotify (0.9.0)
|
|
137
|
+
ffi (>= 0.5.0)
|
|
138
|
+
rb-kqueue (0.2.0)
|
|
139
|
+
ffi (>= 0.5.0)
|
|
140
|
+
rdoc (3.12.2)
|
|
141
|
+
json (~> 1.4)
|
|
142
|
+
rspec (2.13.0)
|
|
143
|
+
rspec-core (~> 2.13.0)
|
|
144
|
+
rspec-expectations (~> 2.13.0)
|
|
145
|
+
rspec-mocks (~> 2.13.0)
|
|
146
|
+
rspec-core (2.13.1)
|
|
147
|
+
rspec-expectations (2.13.0)
|
|
148
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
|
149
|
+
rspec-mocks (2.13.1)
|
|
150
|
+
rspec-rails (2.13.2)
|
|
151
|
+
actionpack (>= 3.0)
|
|
152
|
+
activesupport (>= 3.0)
|
|
153
|
+
railties (>= 3.0)
|
|
154
|
+
rspec-core (~> 2.13.0)
|
|
155
|
+
rspec-expectations (~> 2.13.0)
|
|
156
|
+
rspec-mocks (~> 2.13.0)
|
|
157
|
+
slop (3.4.5)
|
|
158
|
+
sprockets (2.2.2)
|
|
159
|
+
hike (~> 1.2)
|
|
160
|
+
multi_json (~> 1.0)
|
|
161
|
+
rack (~> 1.0)
|
|
162
|
+
tilt (~> 1.1, != 1.3.0)
|
|
163
|
+
sqlite3 (1.3.7)
|
|
164
|
+
thor (0.18.1)
|
|
165
|
+
tilt (1.4.1)
|
|
166
|
+
treetop (1.4.12)
|
|
167
|
+
polyglot
|
|
168
|
+
polyglot (>= 0.3.1)
|
|
169
|
+
tzinfo (0.3.37)
|
|
170
|
+
workflow (1.0.0)
|
|
171
|
+
workflow_on_mongoid (1.0.0.0)
|
|
172
|
+
mongoid
|
|
173
|
+
workflow (~> 1.0)
|
|
174
|
+
|
|
175
|
+
PLATFORMS
|
|
176
|
+
ruby
|
|
177
|
+
|
|
178
|
+
DEPENDENCIES
|
|
179
|
+
awesome_print
|
|
180
|
+
canmoia!
|
|
181
|
+
database_cleaner
|
|
182
|
+
email_spec
|
|
183
|
+
fabrication
|
|
184
|
+
forgery
|
|
185
|
+
growl
|
|
186
|
+
guard-rspec
|
|
187
|
+
jquery-rails
|
|
188
|
+
mongoid
|
|
189
|
+
mongoid-rspec
|
|
190
|
+
pry-rails
|
|
191
|
+
pry-rescue
|
|
192
|
+
pry-stack_explorer
|
|
193
|
+
rspec-rails
|
|
194
|
+
sqlite3
|
|
195
|
+
workflow_on_mongoid
|
data/README.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
canmöia
|
|
2
3
|
=======
|
|
3
4
|
|
|
4
5
|
<!---
|
|
@@ -20,9 +21,9 @@ Canmöia (can = order, möia = work, work order). The core functionality of the
|
|
|
20
21
|
Requirements
|
|
21
22
|
------------
|
|
22
23
|
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
24
|
+
- Ruby 2.0.0
|
|
25
|
+
- Workflow Gem
|
|
26
|
+
- Currently only support mongoid models
|
|
26
27
|
|
|
27
28
|
Getting Started
|
|
28
29
|
---------------
|
data/canmoia.gemspec
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
$:.push File.expand_path("../lib", __FILE__)
|
|
2
|
+
|
|
3
|
+
require "canmoia/version"
|
|
4
|
+
|
|
5
|
+
Gem::Specification.new do |gem|
|
|
6
|
+
gem.name = "canmoia"
|
|
7
|
+
gem.version = Canmoia::VERSION
|
|
8
|
+
gem.summary = %q{Canmöia (can = order, möia = work). The core functionality of Order domain.}
|
|
9
|
+
gem.description = %q{The core domain concerns for Orders (Work Orders and Purchase Orders).}
|
|
10
|
+
gem.license = 'WTFP'
|
|
11
|
+
gem.authors = ["Heitor Salazar Baldelli"]
|
|
12
|
+
gem.email = ["heitor@indefini.do"]
|
|
13
|
+
gem.homepage = "http://indefini.do"
|
|
14
|
+
|
|
15
|
+
gem.files = `git ls-files`.split($/)
|
|
16
|
+
gem.test_files = Dir["spec/**/*"]
|
|
17
|
+
|
|
18
|
+
gem.add_dependency "rails", ">= 3"
|
|
19
|
+
gem.add_dependency "mongoid"
|
|
20
|
+
gem.add_dependency "workflow_on_mongoid"
|
|
21
|
+
|
|
22
|
+
gem.add_development_dependency 'mongoid'
|
|
23
|
+
gem.add_development_dependency 'workflow_on_mongoid'
|
|
24
|
+
gem.add_development_dependency 'awesome_print'
|
|
25
|
+
gem.add_development_dependency 'fabrication'
|
|
26
|
+
gem.add_development_dependency 'forgery'
|
|
27
|
+
gem.add_development_dependency 'database_cleaner'
|
|
28
|
+
gem.add_development_dependency 'rspec-rails'
|
|
29
|
+
gem.add_development_dependency 'growl'
|
|
30
|
+
gem.add_development_dependency 'email_spec'
|
|
31
|
+
gem.add_development_dependency 'pry-rescue'
|
|
32
|
+
gem.add_development_dependency 'pry-stack_explorer'
|
|
33
|
+
gem.add_development_dependency 'pry-rails'
|
|
34
|
+
gem.add_development_dependency 'guard-rspec'
|
|
35
|
+
gem.add_development_dependency 'mongoid-rspec'
|
|
36
|
+
gem.add_development_dependency 'sqlite3'
|
|
37
|
+
end
|
|
@@ -14,8 +14,9 @@ module Canmoia
|
|
|
14
14
|
belongs_to :responsible, :class_name => "::User"
|
|
15
15
|
|
|
16
16
|
# States Notifications
|
|
17
|
-
|
|
18
|
-
notify :
|
|
17
|
+
# TODO implement notification overridness, and then use this defaults
|
|
18
|
+
# notify :responsible, :on => [:open , :close]
|
|
19
|
+
# notify :client , :on => [:close, :accept, :reject, :cancel]
|
|
19
20
|
end
|
|
20
21
|
end
|
|
21
22
|
end
|
|
@@ -13,6 +13,8 @@ module Canmoia
|
|
|
13
13
|
def notify recipient_attribute = :responsible, on: -> { raise "on is required" }, via: :email
|
|
14
14
|
raise "Recipient named as '#{recipient_attribute}' not found for #{self.name}" unless instance_methods.include? recipient_attribute.to_sym
|
|
15
15
|
|
|
16
|
+
on = [on] unless on.kind_of? Array
|
|
17
|
+
|
|
16
18
|
on.each do |event|
|
|
17
19
|
add_notification_method event, recipient_attribute, via
|
|
18
20
|
end
|
|
@@ -34,7 +36,7 @@ module Canmoia
|
|
|
34
36
|
# TODO only define notification method if method is present on mailer
|
|
35
37
|
# TODO create task to generate / update mailer with notification settings
|
|
36
38
|
|
|
37
|
-
define_method "#{event}
|
|
39
|
+
define_method "#{event}" do |*args|
|
|
38
40
|
returned = super *args if defined? super
|
|
39
41
|
# TODO better error message when mailer is not found
|
|
40
42
|
# TODO allow specification of custom mailer
|
data/lib/canmoia/version.rb
CHANGED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Configure Rails Envinronment
|
|
2
|
+
ENV["RAILS_ENV"] ||= "test"
|
|
3
|
+
|
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
|
5
|
+
|
|
6
|
+
require 'rspec/rails'
|
|
7
|
+
require 'rspec/autorun'
|
|
8
|
+
require 'rails/mongoid'
|
|
9
|
+
|
|
10
|
+
require 'email_spec'
|
|
11
|
+
require 'fabrication'
|
|
12
|
+
require 'forgery'
|
|
13
|
+
require 'database_cleaner'
|
|
14
|
+
|
|
15
|
+
Rails.backtrace_cleaner.remove_silencers!
|
|
16
|
+
|
|
17
|
+
ENGINE_ROOT_DIR = File.dirname(File.expand_path File.join(__FILE__, '..'))
|
|
18
|
+
|
|
19
|
+
# Requires supporting ruby files with custom matchers and macros, etc,
|
|
20
|
+
# in spec/support/ and its subdirectories.
|
|
21
|
+
Dir["#{ENGINE_ROOT_DIR}/spec/support/**/*.rb"].each { |f| require f }
|
|
22
|
+
|
|
23
|
+
RSpec.configure do |config|
|
|
24
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
|
25
|
+
config.run_all_when_everything_filtered = true
|
|
26
|
+
config.filter_run :focus
|
|
27
|
+
|
|
28
|
+
# Email support
|
|
29
|
+
RSpec.configure do |config|
|
|
30
|
+
config.include EmailSpec::Helpers
|
|
31
|
+
config.include EmailSpec::Matchers
|
|
32
|
+
config.include MailerMacros
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# Database Cleaner support
|
|
36
|
+
config.before(:each) do
|
|
37
|
+
DatabaseCleaner.strategy = :truncation, {:except => %w[ ]}
|
|
38
|
+
DatabaseCleaner.clean
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Run specs in random order to surface order dependencies. If you find an
|
|
42
|
+
# order dependency and want to debug it, you can fix the order by providing
|
|
43
|
+
# the seed, which is printed after each run.
|
|
44
|
+
# --seed 1234
|
|
45
|
+
config.order = 'random'
|
|
46
|
+
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/spec/spec_helper.rb
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: canmoia
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Heitor Salazar Baldelli
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-09-
|
|
11
|
+
date: 2013-09-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -52,6 +52,20 @@ dependencies:
|
|
|
52
52
|
- - '>='
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '0'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: mongoid
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - '>='
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '0'
|
|
62
|
+
type: :development
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - '>='
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '0'
|
|
55
69
|
- !ruby/object:Gem::Dependency
|
|
56
70
|
name: workflow_on_mongoid
|
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -255,25 +269,36 @@ executables: []
|
|
|
255
269
|
extensions: []
|
|
256
270
|
extra_rdoc_files: []
|
|
257
271
|
files:
|
|
272
|
+
- .gitignore
|
|
273
|
+
- .rspec
|
|
274
|
+
- .ruby-gemset
|
|
275
|
+
- .ruby-version
|
|
276
|
+
- Gemfile
|
|
277
|
+
- Gemfile.lock
|
|
278
|
+
- Guardfile
|
|
279
|
+
- README.md
|
|
280
|
+
- Rakefile
|
|
281
|
+
- WTFP-LICENSE
|
|
282
|
+
- canmoia.gemspec
|
|
283
|
+
- lib/canmoia.rb
|
|
258
284
|
- lib/canmoia/concerns/order.rb
|
|
259
285
|
- lib/canmoia/concerns/work.rb
|
|
260
286
|
- lib/canmoia/features/notification.rb
|
|
261
287
|
- lib/canmoia/tasks/install.rb.erb
|
|
262
288
|
- lib/canmoia/version.rb
|
|
263
|
-
- lib/canmoia.rb
|
|
264
289
|
- lib/tasks/canmoia_tasks.rake
|
|
265
290
|
- lib/tasks/canmoia_tasks.rb.erb
|
|
266
|
-
- WTFP-LICENSE
|
|
267
|
-
- Rakefile
|
|
268
|
-
- README.md
|
|
269
|
-
- Guardfile
|
|
270
291
|
- spec/concerns/order_spec.rb
|
|
271
292
|
- spec/concerns/work_spec.rb
|
|
293
|
+
- spec/dummy/README.rdoc
|
|
294
|
+
- spec/dummy/Rakefile
|
|
272
295
|
- spec/dummy/app/assets/javascripts/application.js
|
|
273
296
|
- spec/dummy/app/assets/stylesheets/application.css
|
|
274
297
|
- spec/dummy/app/controllers/application_controller.rb
|
|
275
298
|
- spec/dummy/app/helpers/application_helper.rb
|
|
299
|
+
- spec/dummy/app/mailers/.gitkeep
|
|
276
300
|
- spec/dummy/app/mailers/work_order_mailer.rb
|
|
301
|
+
- spec/dummy/app/models/.gitkeep
|
|
277
302
|
- spec/dummy/app/models/employee.rb
|
|
278
303
|
- spec/dummy/app/models/item.rb
|
|
279
304
|
- spec/dummy/app/models/order.rb
|
|
@@ -281,6 +306,7 @@ files:
|
|
|
281
306
|
- spec/dummy/app/models/work_order.rb
|
|
282
307
|
- spec/dummy/app/views/layouts/application.html.erb
|
|
283
308
|
- spec/dummy/app/views/work_order_mailer/close_notification_to_responsible.text.erb
|
|
309
|
+
- spec/dummy/config.ru
|
|
284
310
|
- spec/dummy/config/application.rb
|
|
285
311
|
- spec/dummy/config/boot.rb
|
|
286
312
|
- spec/dummy/config/database.yml
|
|
@@ -297,16 +323,15 @@ files:
|
|
|
297
323
|
- spec/dummy/config/locales/en.yml
|
|
298
324
|
- spec/dummy/config/mongoid.yml
|
|
299
325
|
- spec/dummy/config/routes.rb
|
|
300
|
-
- spec/dummy/config.ru
|
|
301
326
|
- spec/dummy/db/development.sqlite3
|
|
327
|
+
- spec/dummy/lib/assets/.gitkeep
|
|
328
|
+
- spec/dummy/log/.gitkeep
|
|
302
329
|
- spec/dummy/log/development.log
|
|
303
330
|
- spec/dummy/log/test.log
|
|
304
331
|
- spec/dummy/public/404.html
|
|
305
332
|
- spec/dummy/public/422.html
|
|
306
333
|
- spec/dummy/public/500.html
|
|
307
334
|
- spec/dummy/public/favicon.ico
|
|
308
|
-
- spec/dummy/Rakefile
|
|
309
|
-
- spec/dummy/README.rdoc
|
|
310
335
|
- spec/dummy/script/rails
|
|
311
336
|
- spec/dummy/spec/fixtures/work_order_mailer/close_notification_to_responsible
|
|
312
337
|
- spec/dummy/spec/mailers/work_order_mailer_spec.rb
|
|
@@ -318,6 +343,8 @@ files:
|
|
|
318
343
|
- spec/support/fabrication.rb
|
|
319
344
|
- spec/support/fabricator.rb
|
|
320
345
|
- spec/support/mailer_macros.rb
|
|
346
|
+
- tmp/rspec_guard_result
|
|
347
|
+
- spec/#spec_helper.rb#
|
|
321
348
|
homepage: http://indefini.do
|
|
322
349
|
licenses:
|
|
323
350
|
- WTFP
|
|
@@ -343,6 +370,7 @@ signing_key:
|
|
|
343
370
|
specification_version: 4
|
|
344
371
|
summary: Canmöia (can = order, möia = work). The core functionality of Order domain.
|
|
345
372
|
test_files:
|
|
373
|
+
- spec/#spec_helper.rb#
|
|
346
374
|
- spec/concerns/order_spec.rb
|
|
347
375
|
- spec/concerns/work_spec.rb
|
|
348
376
|
- spec/dummy/app/assets/javascripts/application.js
|