bookyt_projects 0.6.6 → 0.7.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.
- data/lib/bookyt_projects/version.rb +3 -0
- metadata +34 -71
- data/.document +0 -5
- data/.rspec +0 -1
- data/Gemfile +0 -19
- data/Gemfile.lock +0 -113
- data/Rakefile +0 -27
- data/VERSION +0 -1
- data/bookyt_projects.gemspec +0 -90
- data/script/cucumber +0 -10
- data/script/rails +0 -6
- data/spec/spec_helper.rb +0 -27
metadata
CHANGED
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bookyt_projects
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 3
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
version: 0.
|
|
8
|
+
- 7
|
|
9
|
+
- 0
|
|
10
|
+
version: 0.7.0
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
|
-
- Roman Simecek
|
|
13
|
+
- Roman Simecek (CyT)
|
|
14
|
+
- "Simon H\xC3\xBCrlimann (CyT)"
|
|
14
15
|
autorequire:
|
|
15
16
|
bindir: bin
|
|
16
17
|
cert_chain: []
|
|
17
18
|
|
|
18
|
-
date: 2011-10-
|
|
19
|
+
date: 2011-10-20 00:00:00 +02:00
|
|
20
|
+
default_executable:
|
|
19
21
|
dependencies:
|
|
20
22
|
- !ruby/object:Gem::Dependency
|
|
23
|
+
name: rails
|
|
24
|
+
prerelease: false
|
|
21
25
|
requirement: &id001 !ruby/object:Gem::Requirement
|
|
22
26
|
none: false
|
|
23
27
|
requirements:
|
|
@@ -29,11 +33,11 @@ dependencies:
|
|
|
29
33
|
- 1
|
|
30
34
|
- 0
|
|
31
35
|
version: 3.1.0
|
|
32
|
-
version_requirements: *id001
|
|
33
|
-
name: rails
|
|
34
|
-
prerelease: false
|
|
35
36
|
type: :runtime
|
|
37
|
+
version_requirements: *id001
|
|
36
38
|
- !ruby/object:Gem::Dependency
|
|
39
|
+
name: shoulda
|
|
40
|
+
prerelease: false
|
|
37
41
|
requirement: &id002 !ruby/object:Gem::Requirement
|
|
38
42
|
none: false
|
|
39
43
|
requirements:
|
|
@@ -43,44 +47,26 @@ dependencies:
|
|
|
43
47
|
segments:
|
|
44
48
|
- 0
|
|
45
49
|
version: "0"
|
|
46
|
-
version_requirements: *id002
|
|
47
|
-
name: shoulda
|
|
48
|
-
prerelease: false
|
|
49
50
|
type: :development
|
|
51
|
+
version_requirements: *id002
|
|
50
52
|
- !ruby/object:Gem::Dependency
|
|
53
|
+
name: rcov
|
|
54
|
+
prerelease: false
|
|
51
55
|
requirement: &id003 !ruby/object:Gem::Requirement
|
|
52
56
|
none: false
|
|
53
57
|
requirements:
|
|
54
|
-
- -
|
|
58
|
+
- - ">="
|
|
55
59
|
- !ruby/object:Gem::Version
|
|
56
|
-
hash:
|
|
60
|
+
hash: 3
|
|
57
61
|
segments:
|
|
58
|
-
- 1
|
|
59
|
-
- 0
|
|
60
62
|
- 0
|
|
61
|
-
version:
|
|
62
|
-
version_requirements: *id003
|
|
63
|
-
name: bundler
|
|
64
|
-
prerelease: false
|
|
63
|
+
version: "0"
|
|
65
64
|
type: :development
|
|
65
|
+
version_requirements: *id003
|
|
66
66
|
- !ruby/object:Gem::Dependency
|
|
67
|
-
|
|
68
|
-
none: false
|
|
69
|
-
requirements:
|
|
70
|
-
- - ~>
|
|
71
|
-
- !ruby/object:Gem::Version
|
|
72
|
-
hash: 7
|
|
73
|
-
segments:
|
|
74
|
-
- 1
|
|
75
|
-
- 6
|
|
76
|
-
- 4
|
|
77
|
-
version: 1.6.4
|
|
78
|
-
version_requirements: *id004
|
|
79
|
-
name: jeweler
|
|
67
|
+
name: rspec-rails
|
|
80
68
|
prerelease: false
|
|
81
|
-
|
|
82
|
-
- !ruby/object:Gem::Dependency
|
|
83
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
|
69
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
|
84
70
|
none: false
|
|
85
71
|
requirements:
|
|
86
72
|
- - ">="
|
|
@@ -89,27 +75,12 @@ dependencies:
|
|
|
89
75
|
segments:
|
|
90
76
|
- 0
|
|
91
77
|
version: "0"
|
|
92
|
-
version_requirements: *id005
|
|
93
|
-
name: rcov
|
|
94
|
-
prerelease: false
|
|
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
78
|
type: :development
|
|
111
|
-
|
|
112
|
-
|
|
79
|
+
version_requirements: *id004
|
|
80
|
+
description: This plugin extends bookyt with project management functionallty.
|
|
81
|
+
email:
|
|
82
|
+
- roman.simecek@cyt.ch
|
|
83
|
+
- simon.huerlimann@cyt.ch
|
|
113
84
|
executables: []
|
|
114
85
|
|
|
115
86
|
extensions: []
|
|
@@ -118,14 +89,6 @@ extra_rdoc_files:
|
|
|
118
89
|
- LICENSE.txt
|
|
119
90
|
- README.rdoc
|
|
120
91
|
files:
|
|
121
|
-
- .document
|
|
122
|
-
- .rspec
|
|
123
|
-
- Gemfile
|
|
124
|
-
- Gemfile.lock
|
|
125
|
-
- LICENSE.txt
|
|
126
|
-
- README.rdoc
|
|
127
|
-
- Rakefile
|
|
128
|
-
- VERSION
|
|
129
92
|
- app/assets/stylesheets/bookyt_projects.sass
|
|
130
93
|
- app/controllers/activities_controller.rb
|
|
131
94
|
- app/controllers/project_states_controller.rb
|
|
@@ -143,7 +106,6 @@ files:
|
|
|
143
106
|
- app/views/projects/_resource_detail.html.haml
|
|
144
107
|
- app/views/projects/new.html.haml
|
|
145
108
|
- app/views/projects/show.html.haml
|
|
146
|
-
- bookyt_projects.gemspec
|
|
147
109
|
- config/application.rb
|
|
148
110
|
- config/boot.rb
|
|
149
111
|
- config/locales/de.yml
|
|
@@ -151,10 +113,11 @@ files:
|
|
|
151
113
|
- lib/bookyt_projects.rb
|
|
152
114
|
- lib/bookyt_projects/navigation.rb
|
|
153
115
|
- lib/bookyt_projects/railtie.rb
|
|
154
|
-
-
|
|
155
|
-
-
|
|
156
|
-
-
|
|
157
|
-
|
|
116
|
+
- lib/bookyt_projects/version.rb
|
|
117
|
+
- LICENSE.txt
|
|
118
|
+
- README.rdoc
|
|
119
|
+
has_rdoc: true
|
|
120
|
+
homepage: https://github.com/raskhadafi/bookyt_projects
|
|
158
121
|
licenses:
|
|
159
122
|
- MIT
|
|
160
123
|
post_install_message:
|
|
@@ -183,9 +146,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
183
146
|
requirements: []
|
|
184
147
|
|
|
185
148
|
rubyforge_project:
|
|
186
|
-
rubygems_version: 1.
|
|
149
|
+
rubygems_version: 1.5.2
|
|
187
150
|
signing_key:
|
|
188
151
|
specification_version: 3
|
|
189
|
-
summary:
|
|
152
|
+
summary: Project management plugin for bookyt
|
|
190
153
|
test_files: []
|
|
191
154
|
|
data/.document
DELETED
data/.rspec
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
--colour
|
data/Gemfile
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
source "http://rubygems.org"
|
|
2
|
-
|
|
3
|
-
# Rails
|
|
4
|
-
# =====
|
|
5
|
-
gem 'rails', '~> 3.1.0'
|
|
6
|
-
|
|
7
|
-
# Add dependencies to develop your gem here.
|
|
8
|
-
# Include everything needed to run rake, tests, features, etc.
|
|
9
|
-
group :development do
|
|
10
|
-
gem "shoulda", ">= 0"
|
|
11
|
-
gem "bundler", "~> 1.0.0"
|
|
12
|
-
gem "jeweler", "~> 1.6.4"
|
|
13
|
-
gem "rcov", ">= 0"
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
group :test, :development do
|
|
17
|
-
gem "rspec-rails", "~> 2.6"
|
|
18
|
-
end
|
|
19
|
-
|
data/Gemfile.lock
DELETED
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
GEM
|
|
2
|
-
remote: http://rubygems.org/
|
|
3
|
-
specs:
|
|
4
|
-
actionmailer (3.1.1)
|
|
5
|
-
actionpack (= 3.1.1)
|
|
6
|
-
mail (~> 2.3.0)
|
|
7
|
-
actionpack (3.1.1)
|
|
8
|
-
activemodel (= 3.1.1)
|
|
9
|
-
activesupport (= 3.1.1)
|
|
10
|
-
builder (~> 3.0.0)
|
|
11
|
-
erubis (~> 2.7.0)
|
|
12
|
-
i18n (~> 0.6)
|
|
13
|
-
rack (~> 1.3.2)
|
|
14
|
-
rack-cache (~> 1.1)
|
|
15
|
-
rack-mount (~> 0.8.2)
|
|
16
|
-
rack-test (~> 0.6.1)
|
|
17
|
-
sprockets (~> 2.0.2)
|
|
18
|
-
activemodel (3.1.1)
|
|
19
|
-
activesupport (= 3.1.1)
|
|
20
|
-
builder (~> 3.0.0)
|
|
21
|
-
i18n (~> 0.6)
|
|
22
|
-
activerecord (3.1.1)
|
|
23
|
-
activemodel (= 3.1.1)
|
|
24
|
-
activesupport (= 3.1.1)
|
|
25
|
-
arel (~> 2.2.1)
|
|
26
|
-
tzinfo (~> 0.3.29)
|
|
27
|
-
activeresource (3.1.1)
|
|
28
|
-
activemodel (= 3.1.1)
|
|
29
|
-
activesupport (= 3.1.1)
|
|
30
|
-
activesupport (3.1.1)
|
|
31
|
-
multi_json (~> 1.0)
|
|
32
|
-
arel (2.2.1)
|
|
33
|
-
builder (3.0.0)
|
|
34
|
-
diff-lcs (1.1.3)
|
|
35
|
-
erubis (2.7.0)
|
|
36
|
-
git (1.2.5)
|
|
37
|
-
hike (1.2.1)
|
|
38
|
-
i18n (0.6.0)
|
|
39
|
-
jeweler (1.6.4)
|
|
40
|
-
bundler (~> 1.0)
|
|
41
|
-
git (>= 1.2.5)
|
|
42
|
-
rake
|
|
43
|
-
json (1.6.1)
|
|
44
|
-
mail (2.3.0)
|
|
45
|
-
i18n (>= 0.4.0)
|
|
46
|
-
mime-types (~> 1.16)
|
|
47
|
-
treetop (~> 1.4.8)
|
|
48
|
-
mime-types (1.16)
|
|
49
|
-
multi_json (1.0.3)
|
|
50
|
-
polyglot (0.3.2)
|
|
51
|
-
rack (1.3.4)
|
|
52
|
-
rack-cache (1.1)
|
|
53
|
-
rack (>= 0.4)
|
|
54
|
-
rack-mount (0.8.3)
|
|
55
|
-
rack (>= 1.0.0)
|
|
56
|
-
rack-ssl (1.3.2)
|
|
57
|
-
rack
|
|
58
|
-
rack-test (0.6.1)
|
|
59
|
-
rack (>= 1.0)
|
|
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
|
-
bundler (~> 1.0)
|
|
67
|
-
railties (= 3.1.1)
|
|
68
|
-
railties (3.1.1)
|
|
69
|
-
actionpack (= 3.1.1)
|
|
70
|
-
activesupport (= 3.1.1)
|
|
71
|
-
rack-ssl (~> 1.3.2)
|
|
72
|
-
rake (>= 0.8.7)
|
|
73
|
-
rdoc (~> 3.4)
|
|
74
|
-
thor (~> 0.14.6)
|
|
75
|
-
rake (0.9.2)
|
|
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)
|
|
92
|
-
shoulda (2.11.3)
|
|
93
|
-
sprockets (2.0.2)
|
|
94
|
-
hike (~> 1.2)
|
|
95
|
-
rack (~> 1.0)
|
|
96
|
-
tilt (~> 1.1, != 1.3.0)
|
|
97
|
-
thor (0.14.6)
|
|
98
|
-
tilt (1.3.3)
|
|
99
|
-
treetop (1.4.10)
|
|
100
|
-
polyglot
|
|
101
|
-
polyglot (>= 0.3.1)
|
|
102
|
-
tzinfo (0.3.30)
|
|
103
|
-
|
|
104
|
-
PLATFORMS
|
|
105
|
-
ruby
|
|
106
|
-
|
|
107
|
-
DEPENDENCIES
|
|
108
|
-
bundler (~> 1.0.0)
|
|
109
|
-
jeweler (~> 1.6.4)
|
|
110
|
-
rails (~> 3.1.0)
|
|
111
|
-
rcov
|
|
112
|
-
rspec-rails (~> 2.6)
|
|
113
|
-
shoulda
|
data/Rakefile
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# encoding: utf-8
|
|
2
|
-
|
|
3
|
-
require 'rubygems'
|
|
4
|
-
require 'bundler'
|
|
5
|
-
begin
|
|
6
|
-
Bundler.setup(:default, :development)
|
|
7
|
-
rescue Bundler::BundlerError => e
|
|
8
|
-
$stderr.puts e.message
|
|
9
|
-
$stderr.puts "Run `bundle install` to install missing gems"
|
|
10
|
-
exit e.status_code
|
|
11
|
-
end
|
|
12
|
-
require 'rake'
|
|
13
|
-
|
|
14
|
-
require 'jeweler'
|
|
15
|
-
Jeweler::Tasks.new do |gem|
|
|
16
|
-
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
|
17
|
-
gem.name = "bookyt_projects"
|
|
18
|
-
gem.homepage = "http://github.com/raskhadafi/bookyt_projects"
|
|
19
|
-
gem.license = "MIT"
|
|
20
|
-
gem.summary = %Q{Rails engine for project management}
|
|
21
|
-
gem.description = %Q{Rails engine for project management it's used to extend the functionallity of bookyt.}
|
|
22
|
-
gem.email = "roman.simecek@cyt.ch"
|
|
23
|
-
gem.authors = ["Roman Simecek"]
|
|
24
|
-
# dependencies defined in Gemfile
|
|
25
|
-
end
|
|
26
|
-
Jeweler::RubygemsDotOrgTasks.new
|
|
27
|
-
|
data/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.6.6
|
data/bookyt_projects.gemspec
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
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 = "bookyt_projects"
|
|
8
|
-
s.version = "0.6.6"
|
|
9
|
-
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
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
|
-
s.extra_rdoc_files = [
|
|
16
|
-
"LICENSE.txt",
|
|
17
|
-
"README.rdoc"
|
|
18
|
-
]
|
|
19
|
-
s.files = [
|
|
20
|
-
".document",
|
|
21
|
-
".rspec",
|
|
22
|
-
"Gemfile",
|
|
23
|
-
"Gemfile.lock",
|
|
24
|
-
"LICENSE.txt",
|
|
25
|
-
"README.rdoc",
|
|
26
|
-
"Rakefile",
|
|
27
|
-
"VERSION",
|
|
28
|
-
"app/assets/stylesheets/bookyt_projects.sass",
|
|
29
|
-
"app/controllers/activities_controller.rb",
|
|
30
|
-
"app/controllers/project_states_controller.rb",
|
|
31
|
-
"app/controllers/projects_controller.rb",
|
|
32
|
-
"app/models/activity.rb",
|
|
33
|
-
"app/models/project.rb",
|
|
34
|
-
"app/models/project_state.rb",
|
|
35
|
-
"app/views/activities/_form.html.haml",
|
|
36
|
-
"app/views/activities/_resource_detail.html.haml",
|
|
37
|
-
"app/views/activities/show.html.haml",
|
|
38
|
-
"app/views/project_states/_form.html.haml",
|
|
39
|
-
"app/views/project_states/new.html.haml",
|
|
40
|
-
"app/views/projects/_form.html.haml",
|
|
41
|
-
"app/views/projects/_list.html.haml",
|
|
42
|
-
"app/views/projects/_resource_detail.html.haml",
|
|
43
|
-
"app/views/projects/new.html.haml",
|
|
44
|
-
"app/views/projects/show.html.haml",
|
|
45
|
-
"bookyt_projects.gemspec",
|
|
46
|
-
"config/application.rb",
|
|
47
|
-
"config/boot.rb",
|
|
48
|
-
"config/locales/de.yml",
|
|
49
|
-
"config/routes.rb",
|
|
50
|
-
"lib/bookyt_projects.rb",
|
|
51
|
-
"lib/bookyt_projects/navigation.rb",
|
|
52
|
-
"lib/bookyt_projects/railtie.rb",
|
|
53
|
-
"script/cucumber",
|
|
54
|
-
"script/rails",
|
|
55
|
-
"spec/spec_helper.rb"
|
|
56
|
-
]
|
|
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"
|
|
62
|
-
|
|
63
|
-
if s.respond_to? :specification_version then
|
|
64
|
-
s.specification_version = 3
|
|
65
|
-
|
|
66
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
67
|
-
s.add_runtime_dependency(%q<rails>, ["~> 3.1.0"])
|
|
68
|
-
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
|
69
|
-
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
|
70
|
-
s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
|
|
71
|
-
s.add_development_dependency(%q<rcov>, [">= 0"])
|
|
72
|
-
s.add_development_dependency(%q<rspec-rails>, ["~> 2.6"])
|
|
73
|
-
else
|
|
74
|
-
s.add_dependency(%q<rails>, ["~> 3.1.0"])
|
|
75
|
-
s.add_dependency(%q<shoulda>, [">= 0"])
|
|
76
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
|
77
|
-
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
|
78
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
|
79
|
-
s.add_dependency(%q<rspec-rails>, ["~> 2.6"])
|
|
80
|
-
end
|
|
81
|
-
else
|
|
82
|
-
s.add_dependency(%q<rails>, ["~> 3.1.0"])
|
|
83
|
-
s.add_dependency(%q<shoulda>, [">= 0"])
|
|
84
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
|
85
|
-
s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
|
|
86
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
|
87
|
-
s.add_dependency(%q<rspec-rails>, ["~> 2.6"])
|
|
88
|
-
end
|
|
89
|
-
end
|
|
90
|
-
|
data/script/cucumber
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
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
|