bookyt_projects 0.6.5 → 0.6.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.rspec +1 -0
- data/Gemfile +5 -0
- data/Gemfile.lock +49 -34
- data/VERSION +1 -1
- data/bookyt_projects.gemspec +20 -13
- data/config/application.rb +19 -0
- data/config/boot.rb +6 -0
- data/script/cucumber +10 -0
- data/script/rails +6 -0
- data/spec/spec_helper.rb +27 -0
- metadata +26 -7
- data/test/helper.rb +0 -18
- data/test/test_bookyt_projects.rb +0 -7
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--colour
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,38 +1,37 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
actionmailer (3.1.
|
5
|
-
actionpack (= 3.1.
|
4
|
+
actionmailer (3.1.1)
|
5
|
+
actionpack (= 3.1.1)
|
6
6
|
mail (~> 2.3.0)
|
7
|
-
actionpack (3.1.
|
8
|
-
activemodel (= 3.1.
|
9
|
-
activesupport (= 3.1.
|
7
|
+
actionpack (3.1.1)
|
8
|
+
activemodel (= 3.1.1)
|
9
|
+
activesupport (= 3.1.1)
|
10
10
|
builder (~> 3.0.0)
|
11
11
|
erubis (~> 2.7.0)
|
12
12
|
i18n (~> 0.6)
|
13
13
|
rack (~> 1.3.2)
|
14
|
-
rack-cache (~> 1.
|
14
|
+
rack-cache (~> 1.1)
|
15
15
|
rack-mount (~> 0.8.2)
|
16
16
|
rack-test (~> 0.6.1)
|
17
|
-
sprockets (~> 2.0.
|
18
|
-
activemodel (3.1.
|
19
|
-
activesupport (= 3.1.
|
20
|
-
bcrypt-ruby (~> 3.0.0)
|
17
|
+
sprockets (~> 2.0.2)
|
18
|
+
activemodel (3.1.1)
|
19
|
+
activesupport (= 3.1.1)
|
21
20
|
builder (~> 3.0.0)
|
22
21
|
i18n (~> 0.6)
|
23
|
-
activerecord (3.1.
|
24
|
-
activemodel (= 3.1.
|
25
|
-
activesupport (= 3.1.
|
22
|
+
activerecord (3.1.1)
|
23
|
+
activemodel (= 3.1.1)
|
24
|
+
activesupport (= 3.1.1)
|
26
25
|
arel (~> 2.2.1)
|
27
26
|
tzinfo (~> 0.3.29)
|
28
|
-
activeresource (3.1.
|
29
|
-
activemodel (= 3.1.
|
30
|
-
activesupport (= 3.1.
|
31
|
-
activesupport (3.1.
|
27
|
+
activeresource (3.1.1)
|
28
|
+
activemodel (= 3.1.1)
|
29
|
+
activesupport (= 3.1.1)
|
30
|
+
activesupport (3.1.1)
|
32
31
|
multi_json (~> 1.0)
|
33
32
|
arel (2.2.1)
|
34
|
-
bcrypt-ruby (3.0.0)
|
35
33
|
builder (3.0.0)
|
34
|
+
diff-lcs (1.1.3)
|
36
35
|
erubis (2.7.0)
|
37
36
|
git (1.2.5)
|
38
37
|
hike (1.2.1)
|
@@ -41,6 +40,7 @@ GEM
|
|
41
40
|
bundler (~> 1.0)
|
42
41
|
git (>= 1.2.5)
|
43
42
|
rake
|
43
|
+
json (1.6.1)
|
44
44
|
mail (2.3.0)
|
45
45
|
i18n (>= 0.4.0)
|
46
46
|
mime-types (~> 1.16)
|
@@ -48,8 +48,8 @@ GEM
|
|
48
48
|
mime-types (1.16)
|
49
49
|
multi_json (1.0.3)
|
50
50
|
polyglot (0.3.2)
|
51
|
-
rack (1.3.
|
52
|
-
rack-cache (1.
|
51
|
+
rack (1.3.4)
|
52
|
+
rack-cache (1.1)
|
53
53
|
rack (>= 0.4)
|
54
54
|
rack-mount (0.8.3)
|
55
55
|
rack (>= 1.0.0)
|
@@ -57,26 +57,40 @@ GEM
|
|
57
57
|
rack
|
58
58
|
rack-test (0.6.1)
|
59
59
|
rack (>= 1.0)
|
60
|
-
rails (3.1.
|
61
|
-
actionmailer (= 3.1.
|
62
|
-
actionpack (= 3.1.
|
63
|
-
activerecord (= 3.1.
|
64
|
-
activeresource (= 3.1.
|
65
|
-
activesupport (= 3.1.
|
60
|
+
rails (3.1.1)
|
61
|
+
actionmailer (= 3.1.1)
|
62
|
+
actionpack (= 3.1.1)
|
63
|
+
activerecord (= 3.1.1)
|
64
|
+
activeresource (= 3.1.1)
|
65
|
+
activesupport (= 3.1.1)
|
66
66
|
bundler (~> 1.0)
|
67
|
-
railties (= 3.1.
|
68
|
-
railties (3.1.
|
69
|
-
actionpack (= 3.1.
|
70
|
-
activesupport (= 3.1.
|
67
|
+
railties (= 3.1.1)
|
68
|
+
railties (3.1.1)
|
69
|
+
actionpack (= 3.1.1)
|
70
|
+
activesupport (= 3.1.1)
|
71
71
|
rack-ssl (~> 1.3.2)
|
72
72
|
rake (>= 0.8.7)
|
73
73
|
rdoc (~> 3.4)
|
74
74
|
thor (~> 0.14.6)
|
75
75
|
rake (0.9.2)
|
76
|
-
rcov (0.9.
|
77
|
-
rdoc (3.
|
76
|
+
rcov (0.9.11)
|
77
|
+
rdoc (3.10)
|
78
|
+
json (~> 1.4)
|
79
|
+
rspec (2.6.0)
|
80
|
+
rspec-core (~> 2.6.0)
|
81
|
+
rspec-expectations (~> 2.6.0)
|
82
|
+
rspec-mocks (~> 2.6.0)
|
83
|
+
rspec-core (2.6.4)
|
84
|
+
rspec-expectations (2.6.0)
|
85
|
+
diff-lcs (~> 1.1.2)
|
86
|
+
rspec-mocks (2.6.0)
|
87
|
+
rspec-rails (2.6.1)
|
88
|
+
actionpack (~> 3.0)
|
89
|
+
activesupport (~> 3.0)
|
90
|
+
railties (~> 3.0)
|
91
|
+
rspec (~> 2.6.0)
|
78
92
|
shoulda (2.11.3)
|
79
|
-
sprockets (2.0.
|
93
|
+
sprockets (2.0.2)
|
80
94
|
hike (~> 1.2)
|
81
95
|
rack (~> 1.0)
|
82
96
|
tilt (~> 1.1, != 1.3.0)
|
@@ -85,7 +99,7 @@ GEM
|
|
85
99
|
treetop (1.4.10)
|
86
100
|
polyglot
|
87
101
|
polyglot (>= 0.3.1)
|
88
|
-
tzinfo (0.3.
|
102
|
+
tzinfo (0.3.30)
|
89
103
|
|
90
104
|
PLATFORMS
|
91
105
|
ruby
|
@@ -95,4 +109,5 @@ DEPENDENCIES
|
|
95
109
|
jeweler (~> 1.6.4)
|
96
110
|
rails (~> 3.1.0)
|
97
111
|
rcov
|
112
|
+
rspec-rails (~> 2.6)
|
98
113
|
shoulda
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.6
|
data/bookyt_projects.gemspec
CHANGED
@@ -4,20 +4,21 @@
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version = "0.6.
|
7
|
+
s.name = "bookyt_projects"
|
8
|
+
s.version = "0.6.6"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
11
|
+
s.authors = ["Roman Simecek"]
|
12
|
+
s.date = "2011-10-12"
|
13
|
+
s.description = "Rails engine for project management it's used to extend the functionallity of bookyt."
|
14
|
+
s.email = "roman.simecek@cyt.ch"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE.txt",
|
17
17
|
"README.rdoc"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
20
|
".document",
|
21
|
+
".rspec",
|
21
22
|
"Gemfile",
|
22
23
|
"Gemfile.lock",
|
23
24
|
"LICENSE.txt",
|
@@ -42,19 +43,22 @@ Gem::Specification.new do |s|
|
|
42
43
|
"app/views/projects/new.html.haml",
|
43
44
|
"app/views/projects/show.html.haml",
|
44
45
|
"bookyt_projects.gemspec",
|
46
|
+
"config/application.rb",
|
47
|
+
"config/boot.rb",
|
45
48
|
"config/locales/de.yml",
|
46
49
|
"config/routes.rb",
|
47
50
|
"lib/bookyt_projects.rb",
|
48
51
|
"lib/bookyt_projects/navigation.rb",
|
49
52
|
"lib/bookyt_projects/railtie.rb",
|
50
|
-
"
|
51
|
-
"
|
53
|
+
"script/cucumber",
|
54
|
+
"script/rails",
|
55
|
+
"spec/spec_helper.rb"
|
52
56
|
]
|
53
|
-
s.homepage =
|
54
|
-
s.licenses = [
|
55
|
-
s.require_paths = [
|
56
|
-
s.rubygems_version =
|
57
|
-
s.summary =
|
57
|
+
s.homepage = "http://github.com/raskhadafi/bookyt_projects"
|
58
|
+
s.licenses = ["MIT"]
|
59
|
+
s.require_paths = ["lib"]
|
60
|
+
s.rubygems_version = "1.8.11"
|
61
|
+
s.summary = "Rails engine for project management"
|
58
62
|
|
59
63
|
if s.respond_to? :specification_version then
|
60
64
|
s.specification_version = 3
|
@@ -65,12 +69,14 @@ Gem::Specification.new do |s|
|
|
65
69
|
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
66
70
|
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
67
71
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
72
|
+
s.add_development_dependency(%q<rspec-rails>, ["~> 2.6"])
|
68
73
|
else
|
69
74
|
s.add_dependency(%q<rails>, ["~> 3.1.0"])
|
70
75
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
71
76
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
72
77
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
73
78
|
s.add_dependency(%q<rcov>, [">= 0"])
|
79
|
+
s.add_dependency(%q<rspec-rails>, ["~> 2.6"])
|
74
80
|
end
|
75
81
|
else
|
76
82
|
s.add_dependency(%q<rails>, ["~> 3.1.0"])
|
@@ -78,6 +84,7 @@ Gem::Specification.new do |s|
|
|
78
84
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
79
85
|
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
80
86
|
s.add_dependency(%q<rcov>, [">= 0"])
|
87
|
+
s.add_dependency(%q<rspec-rails>, ["~> 2.6"])
|
81
88
|
end
|
82
89
|
end
|
83
90
|
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require File.expand_path('../boot', __FILE__)
|
2
|
+
|
3
|
+
require 'rails/all'
|
4
|
+
|
5
|
+
# If you have a Gemfile, require the gems listed there, including any gems
|
6
|
+
# you've limited to :test, :development, or :production.
|
7
|
+
Bundler.require *Rails.groups(:assets) if defined?(Bundler)
|
8
|
+
|
9
|
+
module BookytProjects
|
10
|
+
class Application < Rails::Application
|
11
|
+
# Configure generators values. Many other options are available, be sure to check the documentation.
|
12
|
+
config.generators do |g|
|
13
|
+
g.stylesheets false
|
14
|
+
g.test_framework :rspec
|
15
|
+
g.template_engine :haml
|
16
|
+
g.fixture_replacement :factory_girl
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
data/config/boot.rb
ADDED
data/script/cucumber
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
vendored_cucumber_bin = Dir["#{File.dirname(__FILE__)}/../vendor/{gems,plugins}/cucumber*/bin/cucumber"].first
|
4
|
+
if vendored_cucumber_bin
|
5
|
+
load File.expand_path(vendored_cucumber_bin)
|
6
|
+
else
|
7
|
+
require 'rubygems' unless ENV['NO_RUBYGEMS']
|
8
|
+
require 'cucumber'
|
9
|
+
load Cucumber::BINARY
|
10
|
+
end
|
data/script/rails
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby1.8
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
2
|
+
ENV["RAILS_ENV"] ||= 'test'
|
3
|
+
require File.expand_path("../../config/environment", __FILE__)
|
4
|
+
require 'rspec/rails'
|
5
|
+
|
6
|
+
# Requires supporting ruby files with custom matchers and macros, etc,
|
7
|
+
# in spec/support/ and its subdirectories.
|
8
|
+
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
|
9
|
+
|
10
|
+
RSpec.configure do |config|
|
11
|
+
# == Mock Framework
|
12
|
+
#
|
13
|
+
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
|
14
|
+
#
|
15
|
+
# config.mock_with :mocha
|
16
|
+
# config.mock_with :flexmock
|
17
|
+
# config.mock_with :rr
|
18
|
+
config.mock_with :rspec
|
19
|
+
|
20
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
21
|
+
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
22
|
+
|
23
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
24
|
+
# examples within a transaction, remove the following line or assign false
|
25
|
+
# instead of true.
|
26
|
+
config.use_transactional_fixtures = true
|
27
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bookyt_projects
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 6
|
10
|
+
version: 0.6.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Roman Simecek
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-10-
|
18
|
+
date: 2011-10-12 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
requirement: &id001 !ruby/object:Gem::Requirement
|
@@ -93,6 +93,21 @@ dependencies:
|
|
93
93
|
name: rcov
|
94
94
|
prerelease: false
|
95
95
|
type: :development
|
96
|
+
- !ruby/object:Gem::Dependency
|
97
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
99
|
+
requirements:
|
100
|
+
- - ~>
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
hash: 15
|
103
|
+
segments:
|
104
|
+
- 2
|
105
|
+
- 6
|
106
|
+
version: "2.6"
|
107
|
+
version_requirements: *id006
|
108
|
+
name: rspec-rails
|
109
|
+
prerelease: false
|
110
|
+
type: :development
|
96
111
|
description: Rails engine for project management it's used to extend the functionallity of bookyt.
|
97
112
|
email: roman.simecek@cyt.ch
|
98
113
|
executables: []
|
@@ -104,6 +119,7 @@ extra_rdoc_files:
|
|
104
119
|
- README.rdoc
|
105
120
|
files:
|
106
121
|
- .document
|
122
|
+
- .rspec
|
107
123
|
- Gemfile
|
108
124
|
- Gemfile.lock
|
109
125
|
- LICENSE.txt
|
@@ -128,13 +144,16 @@ files:
|
|
128
144
|
- app/views/projects/new.html.haml
|
129
145
|
- app/views/projects/show.html.haml
|
130
146
|
- bookyt_projects.gemspec
|
147
|
+
- config/application.rb
|
148
|
+
- config/boot.rb
|
131
149
|
- config/locales/de.yml
|
132
150
|
- config/routes.rb
|
133
151
|
- lib/bookyt_projects.rb
|
134
152
|
- lib/bookyt_projects/navigation.rb
|
135
153
|
- lib/bookyt_projects/railtie.rb
|
136
|
-
-
|
137
|
-
-
|
154
|
+
- script/cucumber
|
155
|
+
- script/rails
|
156
|
+
- spec/spec_helper.rb
|
138
157
|
homepage: http://github.com/raskhadafi/bookyt_projects
|
139
158
|
licenses:
|
140
159
|
- MIT
|
@@ -164,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
183
|
requirements: []
|
165
184
|
|
166
185
|
rubyforge_project:
|
167
|
-
rubygems_version: 1.8.
|
186
|
+
rubygems_version: 1.8.11
|
168
187
|
signing_key:
|
169
188
|
specification_version: 3
|
170
189
|
summary: Rails engine for project management
|
data/test/helper.rb
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'bundler'
|
3
|
-
begin
|
4
|
-
Bundler.setup(:default, :development)
|
5
|
-
rescue Bundler::BundlerError => e
|
6
|
-
$stderr.puts e.message
|
7
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
-
exit e.status_code
|
9
|
-
end
|
10
|
-
require 'test/unit'
|
11
|
-
require 'shoulda'
|
12
|
-
|
13
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
14
|
-
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
15
|
-
require 'bookyt_projects'
|
16
|
-
|
17
|
-
class Test::Unit::TestCase
|
18
|
-
end
|