fletcherm-culerity 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## WHAT THIS FORK DOES
2
+
3
+ Culerity normally assumes you have JRuby installed somewhere on your system and in your environment. This fork embeds JRuby 1.4.0 (in the form of the jruby complete jar) within Culerity itself. This way, JRuby does not need to be installed system-wide.
4
+
1
5
  ## Introduction
2
6
 
3
7
  Culerity integrates Cucumber and Celerity in order to test your application's full stack.
@@ -11,19 +15,7 @@ Culerity lets you:
11
15
 
12
16
  The following guide is written for a Rails application (tested with 2.3.5) but Culerity should work with any other Web Framework that is supported by Cucumber.
13
17
 
14
- First download JRuby and unpack it to some location, for example $HOME/jruby. Make sure that the jruby executable is in your path. You can do this by either setting your PATH accordingly...
15
-
16
- export PATH=$HOME/jruby/bin:$PATH
17
-
18
- ... or by creating a symlink from your bin directory:
19
-
20
- ln -s $HOME/jruby/bin/jruby /usr/bin/jruby
21
-
22
- You will need the celerity gem installed into JRuby:
23
-
24
- jruby -S gem install celerity
25
-
26
- Now install the Culerity gem:
18
+ Install the Culerity gem:
27
19
 
28
20
  gem install culerity --source http://gemcutter.org
29
21
 
@@ -55,10 +47,6 @@ While Celerity is based on Java and requires JRuby to run, with Culerity you can
55
47
 
56
48
  ## Troubleshooting
57
49
 
58
- I get a broken pipe error:
59
-
60
- * make sure JRuby is installed and in your path: running _jruby -v_ should not produce an error
61
-
62
50
  I get _Connection Refused_ errors
63
51
 
64
52
  * make sure you have started a server in the test environment that runs on port 3001
data/Rakefile CHANGED
@@ -13,8 +13,9 @@ begin
13
13
  s.homepage = "http://github.com/fletcherm/culerity"
14
14
  s.description = "Culerity integrates Cucumber and Celerity in order to test your application's full stack."
15
15
  s.authors = ["Alexander Lang", "Matt Fletcher"]
16
- s.add_dependency 'cucumber'
17
- s.add_dependency 'rspec'
16
+
17
+ s.add_development_dependency 'cucumber'
18
+ s.add_development_dependency 'rspec'
18
19
  end
19
20
  rescue LoadError
20
21
  puts 'Jeweler (or a dependency) not available. Install it with: gem install jeweler'
data/VERSION.yml CHANGED
@@ -2,4 +2,4 @@
2
2
  :build:
3
3
  :major: 0
4
4
  :minor: 2
5
- :patch: 5
5
+ :patch: 6
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{culerity}
8
- s.version = "0.2.5"
7
+ s.name = %q{fletcherm-culerity}
8
+ s.version = "0.2.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Alexander Lang"]
12
- s.date = %q{2009-12-08}
11
+ s.authors = ["Alexander Lang", "Matt Fletcher"]
12
+ s.date = %q{2009-12-26}
13
13
  s.description = %q{Culerity integrates Cucumber and Celerity in order to test your application's full stack.}
14
- s.email = %q{alex@upstream-berlin.com}
14
+ s.email = %q{fletcher@atomicobject.com}
15
15
  s.extra_rdoc_files = [
16
16
  "README.md"
17
17
  ]
@@ -22,7 +22,6 @@ Gem::Specification.new do |s|
22
22
  "README.md",
23
23
  "Rakefile",
24
24
  "VERSION.yml",
25
- "culerity.gemspec",
26
25
  "features/fixtures/jquery",
27
26
  "features/fixtures/sample_feature",
28
27
  "features/installing_culerity.feature",
@@ -34,6 +33,7 @@ Gem::Specification.new do |s|
34
33
  "features/support/common.rb",
35
34
  "features/support/env.rb",
36
35
  "features/support/matchers.rb",
36
+ "fletcherm-culerity.gemspec",
37
37
  "init.rb",
38
38
  "lib/culerity.rb",
39
39
  "lib/culerity/celerity_server.rb",
@@ -132,11 +132,11 @@ Gem::Specification.new do |s|
132
132
  "vendor/gems/celerity-0.7.6/tasks/yard.rake",
133
133
  "vendor/jruby/jruby-complete-1.4.0.jar"
134
134
  ]
135
- s.homepage = %q{http://github.com/langalex/culerity}
135
+ s.homepage = %q{http://github.com/fletcherm/culerity}
136
136
  s.rdoc_options = ["--charset=UTF-8"]
137
137
  s.require_paths = ["lib"]
138
138
  s.rubygems_version = %q{1.3.5}
139
- s.summary = %q{Culerity integrates Cucumber and Celerity in order to test your application's full stack.}
139
+ s.summary = %q{Culerity integrates Cucumber and Celerity in order to test your application's full stack. NOTE: This version of Culerity embeds JRuby 1.4.0}
140
140
  s.test_files = [
141
141
  "spec/celerity_server_spec.rb",
142
142
  "spec/culerity_spec.rb",
@@ -151,8 +151,8 @@ Gem::Specification.new do |s|
151
151
  s.specification_version = 3
152
152
 
153
153
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
154
- s.add_runtime_dependency(%q<cucumber>, [">= 0"])
155
- s.add_runtime_dependency(%q<rspec>, [">= 0"])
154
+ s.add_development_dependency(%q<cucumber>, [">= 0"])
155
+ s.add_development_dependency(%q<rspec>, [">= 0"])
156
156
  else
157
157
  s.add_dependency(%q<cucumber>, [">= 0"])
158
158
  s.add_dependency(%q<rspec>, [">= 0"])
@@ -3,7 +3,7 @@ module Culerity
3
3
  def self.cmd
4
4
  jruby_complete = "#{File.dirname(__FILE__)}/../../vendor/jruby/jruby-complete-1.4.0.jar"
5
5
  celerity = "#{File.dirname(__FILE__)}/../../vendor/gems/celerity-0.7.6/lib"
6
- "java -Xmx500m -Xss1024k -jar #{jruby_complete} -I#{celerity}"
6
+ "java -Xmx1024m -Xss1024k -jar #{jruby_complete} -I#{celerity}"
7
7
  end
8
8
 
9
9
  def self.run(command_to_run)
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fletcherm-culerity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Lang
@@ -10,12 +10,12 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-12-08 00:00:00 -05:00
13
+ date: 2009-12-26 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: cucumber
18
- type: :runtime
18
+ type: :development
19
19
  version_requirement:
20
20
  version_requirements: !ruby/object:Gem::Requirement
21
21
  requirements:
@@ -25,7 +25,7 @@ dependencies:
25
25
  version:
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rspec
28
- type: :runtime
28
+ type: :development
29
29
  version_requirement:
30
30
  version_requirements: !ruby/object:Gem::Requirement
31
31
  requirements:
@@ -48,7 +48,6 @@ files:
48
48
  - README.md
49
49
  - Rakefile
50
50
  - VERSION.yml
51
- - culerity.gemspec
52
51
  - features/fixtures/jquery
53
52
  - features/fixtures/sample_feature
54
53
  - features/installing_culerity.feature
@@ -60,6 +59,7 @@ files:
60
59
  - features/support/common.rb
61
60
  - features/support/env.rb
62
61
  - features/support/matchers.rb
62
+ - fletcherm-culerity.gemspec
63
63
  - init.rb
64
64
  - lib/culerity.rb
65
65
  - lib/culerity/celerity_server.rb