ginst 0.1.3 → 0.2.2

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.
Files changed (58) hide show
  1. data.tar.gz.sig +0 -0
  2. data/Manifest +34 -8
  3. data/Rakefile +6 -3
  4. data/bin/ginst +11 -4
  5. data/features/browsing_project.feature +20 -0
  6. data/features/manage_projects.feature +36 -0
  7. data/features/manage_server.feature +17 -0
  8. data/features/step_definitions/manage_projects_steps.rb +35 -0
  9. data/features/step_definitions/manage_server_steps.rb +33 -0
  10. data/features/step_definitions/webrat_steps.rb +99 -0
  11. data/features/support/env.rb +29 -0
  12. data/features/support/git.rb +22 -0
  13. data/features/support/paths.rb +16 -0
  14. data/ginst.gemspec +8 -11
  15. data/lib/app/authorization.rb +1 -1
  16. data/lib/app/views/_commit.haml +8 -0
  17. data/lib/app/views/commit.haml +38 -8
  18. data/lib/app/views/commits.haml +1 -1
  19. data/lib/app/views/edit.haml +11 -0
  20. data/lib/app/views/layout.haml +10 -7
  21. data/lib/app/views/new.haml +19 -0
  22. data/lib/app/views/project.haml +4 -1
  23. data/lib/app/views/ref.haml +3 -0
  24. data/lib/app/views/style.sass +0 -1
  25. data/lib/app/webserver.rb +66 -76
  26. data/lib/ginst.rb +7 -5
  27. data/lib/ginst/core_extensions.rb +32 -0
  28. data/lib/ginst/ginst.rb +5 -72
  29. data/lib/ginst/project.rb +13 -38
  30. data/lib/ginst/project/base.rb +59 -0
  31. data/lib/ginst/project/build.rb +117 -0
  32. data/lib/ginst/project/commit_db.rb +29 -0
  33. data/lib/ginst/project/finders.rb +17 -0
  34. data/lib/ginst/project/grit.rb +53 -0
  35. data/lib/ginst/project/validations.rb +60 -0
  36. data/lib/ginst/test.rb +8 -0
  37. data/lib/ginst/test/base.rb +17 -0
  38. data/lib/ginst/test/dir.rb +39 -0
  39. data/lib/ginst/test/repo.rb +13 -0
  40. data/lib/ginst/test/run.rb +11 -0
  41. data/lib/ginst/web_server.rb +43 -0
  42. data/spec/fixtures/sample_repo.zip +0 -0
  43. data/spec/models/project_base_spec.rb +56 -0
  44. data/spec/models/project_build_spec.rb +18 -0
  45. data/spec/models/project_commit_db_spec.rb +19 -0
  46. data/spec/models/project_finders_spec.rb +34 -0
  47. data/spec/models/project_grit_spec.rb +19 -0
  48. data/spec/models/project_validations_spec.rb +72 -0
  49. data/spec/spec_helper.rb +8 -0
  50. metadata +56 -29
  51. metadata.gz.sig +0 -0
  52. data/lib/app/views/full_commit.haml +0 -38
  53. data/lib/app/views/project_index.haml +0 -11
  54. data/lib/ginst/command_line.rb +0 -47
  55. data/lib/ginst/master_command_line.rb +0 -40
  56. data/lib/ginst/plugin.rb +0 -16
  57. data/lib/ginst/server.rb +0 -51
  58. data/lib/ginst/templates/rgithook.rb +0 -6
data.tar.gz.sig CHANGED
Binary file
data/Manifest CHANGED
@@ -1,33 +1,59 @@
1
1
  bin/ginst
2
2
  bin/ginst_master
3
3
  CHANGELOG
4
- ginst.gemspec
4
+ features/browsing_project.feature
5
+ features/manage_projects.feature
6
+ features/manage_server.feature
7
+ features/step_definitions/manage_projects_steps.rb
8
+ features/step_definitions/manage_server_steps.rb
9
+ features/step_definitions/webrat_steps.rb
10
+ features/support/env.rb
11
+ features/support/git.rb
12
+ features/support/paths.rb
5
13
  lib/app/authorization.rb
14
+ lib/app/views/_commit.haml
6
15
  lib/app/views/assets/jquery.corners.js
7
16
  lib/app/views/assets/jquery.js
8
17
  lib/app/views/branch_index.haml
9
18
  lib/app/views/clean_layout.haml
10
19
  lib/app/views/commit.haml
11
20
  lib/app/views/commits.haml
12
- lib/app/views/full_commit.haml
21
+ lib/app/views/edit.haml
13
22
  lib/app/views/index.haml
14
23
  lib/app/views/layout.haml
24
+ lib/app/views/new.haml
15
25
  lib/app/views/not_found.haml
16
26
  lib/app/views/project.haml
17
- lib/app/views/project_index.haml
27
+ lib/app/views/ref.haml
18
28
  lib/app/views/style.sass
19
29
  lib/app/webserver.rb
20
- lib/ginst/command_line.rb
30
+ lib/ginst/core_extensions.rb
21
31
  lib/ginst/ginst.rb
22
- lib/ginst/master_command_line.rb
23
- lib/ginst/plugin.rb
32
+ lib/ginst/project/base.rb
33
+ lib/ginst/project/build.rb
34
+ lib/ginst/project/commit_db.rb
35
+ lib/ginst/project/finders.rb
36
+ lib/ginst/project/grit.rb
37
+ lib/ginst/project/validations.rb
24
38
  lib/ginst/project.rb
25
- lib/ginst/server.rb
26
- lib/ginst/templates/rgithook.rb
39
+ lib/ginst/test/base.rb
40
+ lib/ginst/test/dir.rb
41
+ lib/ginst/test/repo.rb
42
+ lib/ginst/test/run.rb
43
+ lib/ginst/test.rb
44
+ lib/ginst/web_server.rb
27
45
  lib/ginst.rb
28
46
  Manifest
29
47
  Rakefile
30
48
  README.txt
49
+ spec/fixtures/sample_repo.zip
50
+ spec/models/project_base_spec.rb
51
+ spec/models/project_build_spec.rb
52
+ spec/models/project_commit_db_spec.rb
53
+ spec/models/project_finders_spec.rb
54
+ spec/models/project_grit_spec.rb
55
+ spec/models/project_validations_spec.rb
56
+ spec/spec_helper.rb
31
57
  test/app/test_webserver.rb
32
58
  test/test_ginst.rb
33
59
  test/test_helper.rb
data/Rakefile CHANGED
@@ -1,4 +1,6 @@
1
1
  require 'rubygems'
2
+ require File.join(File.dirname(__FILE__),'lib','ginst')
3
+
2
4
  begin
3
5
  require 'rake'
4
6
  require 'echoe'
@@ -11,12 +13,13 @@ end
11
13
 
12
14
  Echoe.new('ginst') do |p|
13
15
  p.description = "Git Integration System."
14
- p.summary = "With ginst you can send e-mails, twittes, record changes, run tests, deploy machines automatically every time you push to a server. You can manage all within its own web page. You can use for just one repo, or for all. It support GitHub push services"
16
+ p.summary = "Git Integration System"
15
17
  p.url = "http://github.com/guillermo/ginst"
16
18
  p.author = "Guillermo Álvarez"
17
19
  p.email = "guillermo@cientifico.net"
18
- p.runtime_dependencies = ["grit ~>0.9.4","rgithook ~>3.0.0",'daemons ~>1.0.10', 'sinatra > 0.3.2']
19
- p.ignore_pattern = ["tmp/*", "script/*", "demo?/*", "pkg/*", "*.tmproj","*.png"]
20
+ p.version = Ginst::VERSION
21
+ p.runtime_dependencies = ["grit >0.9.4",'daemons ~>1.0.10', 'sinatra > 0.3.2']
22
+ p.ignore_pattern = ["tmp/*", "script/*", "demo?/*", "pkg/*", "*.tmproj","*.png","spec/fixtures/tmp*"]
20
23
  end
21
24
 
22
25
  desc 'Build Gemspec'
data/bin/ginst CHANGED
@@ -1,12 +1,19 @@
1
1
  #!/usr/bin/env ruby
2
+
2
3
  require 'rubygems'
3
4
 
4
- # Use development by default
5
5
  begin
6
- require File.dirname(__FILE__)+'/../lib/ginst'
7
- puts "Usign Development version"
6
+ require File.dirname(__FILE__)+'/../lib/ginst.rb'
7
+ require 'ruby-debug'
8
+ puts 'Using development ginst'
8
9
  rescue LoadError
9
10
  require 'ginst'
10
11
  end
11
12
 
12
- Ginst::CommandLine.run
13
+ Ginst::Ginst.working_dir= Dir.pwd
14
+
15
+ if %w(start stop status).include? ARGV[0]
16
+ Ginst::WebServer.send(ARGV[0])
17
+ else
18
+ puts "#{$0} start|stop|status"
19
+ end
@@ -0,0 +1,20 @@
1
+ Feature: Browsing Projects
2
+ In order to browse our project
3
+ As a web user
4
+ I want to be able see branches and commits
5
+
6
+ Background:
7
+ Given There is a valid project called "waduswadus"
8
+
9
+ Scenario: Loking Branches
10
+ Given I go to the "waduswadus" project page
11
+ Then I should see "master"
12
+ Then I should see "production"
13
+
14
+ Scenario: Looking Branch Commits
15
+ Given I go to the "master" branch of "waduswadus" project
16
+ Then I should see "Add successfull feature"
17
+ And I should see "Add Rspec success spec"
18
+ And I should not see "Update production branch"
19
+ When I go to the "production" branch of "waduswadus" project
20
+ And I should see "Update production branch"
@@ -0,0 +1,36 @@
1
+ Feature: Managing Projects
2
+ In order to work with diferents projects
3
+ As a web user
4
+ I want to be able to create, edit and delete project
5
+
6
+ Background:
7
+ Given Ginst is runing in a clean ginst dir
8
+
9
+ Scenario: Create project
10
+ Given there is no projects
11
+ And I go to the homepage
12
+ When I follow "New Project"
13
+ And I fill in "project[dir]" with a valid git directory
14
+ And I fill in "Name" with "¡ Wadus Wadus !"
15
+ And I press "Create"
16
+ Then I should see a link to "/projects/wadus-wadus"
17
+
18
+ Scenario: Editing project
19
+ Given There is a valid project called "waduswadus"
20
+ And I go to the "waduswadus" project page
21
+ When I follow "Edit project"
22
+ And I fill in "build_process" with "{:status => 0}"
23
+ And I press "Update"
24
+ Then I follow "Edit project"
25
+ And I should see "{:status => 0}"
26
+
27
+ Scenario: Delete project
28
+ Given There is a valid project called "waduswadus"
29
+ And I go to the "waduswadus" project page
30
+ When I press "Delete"
31
+ Then I should not see "waduswadus"
32
+
33
+ Scenario: Checking the database
34
+ Given There is a valid project called "wadus"
35
+ When I go to the "master" branch of "wadus" project
36
+ Then I should see "wadus.db" file
@@ -0,0 +1,17 @@
1
+ Feature: Manage the web server
2
+ In order to start stop the web server
3
+ As a console user
4
+ I want to be able to install the web server
5
+
6
+ Background:
7
+ Given I am on the target install directory
8
+ Scenario: Create the server
9
+ When I install the server
10
+ Then I should see "ginst.yml" file
11
+
12
+ Scenario: Starting and stoping the web server
13
+ Given I should not be able to access the webserver
14
+ When I start the server
15
+ Then I should be able to access the webserver
16
+ When I stop the server
17
+ Then I should not be able to access the webserver
@@ -0,0 +1,35 @@
1
+ When /^I fill in "([^\"]*)" with a valid git directory$/ do |input|
2
+ @project_dir = create_sample_repo
3
+ When "I fill in \"#{input}\" with \"#{@project_dir}\""
4
+ end
5
+
6
+ Then /^I should see a link to "(.*)"$/ do |link|
7
+ response.body.should match(/href=["']#{link}["']/)
8
+ end
9
+
10
+ Given /^there is no projects$/ do
11
+ in_dir Ginst::Ginst.working_dir do
12
+ run("rm projects.yml")
13
+ end
14
+ Ginst::Project.load_projects
15
+ end
16
+
17
+ Given /^There is a valid project called "([^\"]*)"$/ do |prj_name|
18
+ Given 'there is no projects'
19
+ Given "I go to the homepage"
20
+ Given 'I follow "New Project"'
21
+ Given 'I fill in "project[dir]" with a valid git directory'
22
+ Given "I fill in \"Name\" with \"#{prj_name}\""
23
+ Given 'I press "Create"'
24
+ Given "I should see a link to \"/projects/#{prj_name}\""
25
+ end
26
+
27
+
28
+ Given /^Ginst is runing in a clean ginst dir$/ do
29
+ Ginst::Ginst.working_dir = create_temp_dir
30
+ Ginst::Project.load_projects
31
+ end
32
+
33
+ Given /^I change the build process to "([^\"]*)"$/ do |arg1|
34
+ pending
35
+ end
@@ -0,0 +1,33 @@
1
+ require 'net/http'
2
+ require 'open3'
3
+
4
+
5
+ Given /^I am on the target install directory$/ do
6
+ @ginst_path = create_temp_dir
7
+ end
8
+
9
+
10
+ Then /^I should see "([^\"]*)" file$/ do |file|
11
+ in_dir(@ginst_path || Ginst::Ginst.working_dir) do
12
+ File.exists?(file).should be
13
+ end
14
+ end
15
+
16
+ When /^I (.*) the server$/ do |action|
17
+ server_cmd = File.expand_path(File.join(File.dirname(__FILE__),%w[.. .. bin ginst]))
18
+ in_dir(@ginst_path) do
19
+ stding, stdout, stderr = Open3.popen3("#{server_cmd} #{action}")
20
+ [stdout.read, stderr.read]
21
+ end
22
+ $?.to_i.should == 0
23
+ sleep 5
24
+ end
25
+
26
+ Then /^I should be able to access the webserver$/ do
27
+ lambda{ Net::HTTP.get_response('127.0.0.1','/',4567).code.to_i.should == 200 }.should_not raise_error
28
+ end
29
+
30
+
31
+ Then /^I should not be able to access the webserver$/ do
32
+ lambda{ Net::HTTP.get_response('127.0.0.1','/',4567) }.should raise_error(Errno::ECONNREFUSED)
33
+ end
@@ -0,0 +1,99 @@
1
+ require File.expand_path(File.join(File.dirname(__FILE__), "..", "support", "paths"))
2
+
3
+ # Commonly used webrat steps
4
+ # http://github.com/brynary/webrat
5
+
6
+ When /^I go to (.+)$/ do |page_name|
7
+ visit path_to(page_name)
8
+ end
9
+
10
+ When /^I press "(.*)"$/ do |button|
11
+ click_button(button)
12
+ end
13
+
14
+ When /^I follow "(.*)"$/ do |link|
15
+ click_link(link)
16
+ end
17
+
18
+ When /^I fill in "(.*)" with "(.*)"$/ do |field, value|
19
+ fill_in(field, :with => value)
20
+ end
21
+
22
+ When /^I select "(.*)" from "(.*)"$/ do |value, field|
23
+ select(value, :from => field)
24
+ end
25
+
26
+ # Use this step in conjunction with Rail's datetime_select helper. For example:
27
+ # When I select "December 25, 2008 10:00" as the date and time
28
+ When /^I select "(.*)" as the date and time$/ do |time|
29
+ select_datetime(time)
30
+ end
31
+
32
+ # Use this step when using multiple datetime_select helpers on a page or
33
+ # you want to specify which datetime to select. Given the following view:
34
+ # <%= f.label :preferred %><br />
35
+ # <%= f.datetime_select :preferred %>
36
+ # <%= f.label :alternative %><br />
37
+ # <%= f.datetime_select :alternative %>
38
+ # The following steps would fill out the form:
39
+ # When I select "November 23, 2004 11:20" as the "Preferred" data and time
40
+ # And I select "November 25, 2004 10:30" as the "Alternative" data and time
41
+ When /^I select "(.*)" as the "(.*)" date and time$/ do |datetime, datetime_label|
42
+ select_datetime(datetime, :from => datetime_label)
43
+ end
44
+
45
+ # Use this step in conjuction with Rail's time_select helper. For example:
46
+ # When I select "2:20PM" as the time
47
+ # Note: Rail's default time helper provides 24-hour time-- not 12 hour time. Webrat
48
+ # will convert the 2:20PM to 14:20 and then select it.
49
+ When /^I select "(.*)" as the time$/ do |time|
50
+ select_time(time)
51
+ end
52
+
53
+ # Use this step when using multiple time_select helpers on a page or you want to
54
+ # specify the name of the time on the form. For example:
55
+ # When I select "7:30AM" as the "Gym" time
56
+ When /^I select "(.*)" as the "(.*)" time$/ do |time, time_label|
57
+ select_time(time, :from => time_label)
58
+ end
59
+
60
+ # Use this step in conjuction with Rail's date_select helper. For example:
61
+ # When I select "February 20, 1981" as the date
62
+ When /^I select "(.*)" as the date$/ do |date|
63
+ select_date(date)
64
+ end
65
+
66
+ # Use this step when using multiple date_select helpers on one page or
67
+ # you want to specify the name of the date on the form. For example:
68
+ # When I select "April 26, 1982" as the "Date of Birth" date
69
+ When /^I select "(.*)" as the "(.*)" date$/ do |date, date_label|
70
+ select_date(date, :from => date_label)
71
+ end
72
+
73
+ When /^I check "(.*)"$/ do |field|
74
+ check(field)
75
+ end
76
+
77
+ When /^I uncheck "(.*)"$/ do |field|
78
+ uncheck(field)
79
+ end
80
+
81
+ When /^I choose "(.*)"$/ do |field|
82
+ choose(field)
83
+ end
84
+
85
+ When /^I attach the file at "(.*)" to "(.*)" $/ do |path, field|
86
+ attach_file(field, path)
87
+ end
88
+
89
+ Then /^I should see "(.*)"$/ do |text|
90
+ response.should contain(text)
91
+ end
92
+
93
+ Then /^I should not see "(.*)"$/ do |text|
94
+ response.should_not contain(text)
95
+ end
96
+
97
+ Then /^the "(.*)" checkbox should be checked$/ do |label|
98
+ field_labeled(label).should be_checked
99
+ end
@@ -0,0 +1,29 @@
1
+ # Sinatra
2
+ app_file = File.join(File.dirname(__FILE__), *%w[.. .. lib app webserver.rb])
3
+ require app_file
4
+ # Force the application name because polyglot breaks the auto-detection logic.
5
+ Sinatra::Application.app_file = app_file
6
+
7
+ # RSpec matchers
8
+ require 'spec/expectations'
9
+
10
+
11
+ # Webrat
12
+ require 'webrat'
13
+ Webrat.configure do |config|
14
+ config.mode = :sinatra
15
+ end
16
+
17
+ World do
18
+ session = Webrat::SinatraSession.new
19
+ session.extend(Webrat::Matchers)
20
+ session.extend(Webrat::HaveTagMatcher)
21
+ session
22
+ end
23
+
24
+ World(Ginst::Test)
25
+
26
+ at_exit do
27
+ include Ginst::Test
28
+ remove_temp_dir
29
+ end
@@ -0,0 +1,22 @@
1
+ require 'tmpdir'
2
+
3
+ def create_git_repo
4
+ old_dir = Dir.pwd
5
+ dir = create_temp_dir
6
+ Dir.chdir dir
7
+ %x(git init)
8
+ %x(touch README)
9
+ %x(git add . && git commit -a -m 'my first commit')
10
+ Dir.chdir old_dir
11
+ dir
12
+ end
13
+
14
+ def create_temp_dir
15
+ dir = random_dir_name while (File.exists?(dir = random_dir_name))
16
+ Dir.mkdir(dir)
17
+ dir
18
+ end
19
+
20
+ def random_dir_name
21
+ File.join(Dir.tmpdir,"ginst-#{Time.now.usec}#{rand(999999999)}")
22
+ end
@@ -0,0 +1,16 @@
1
+ def path_to(page_name)
2
+ case page_name
3
+
4
+ when /the homepage/i
5
+ '/'
6
+ when /the "(.*)" project page/
7
+ "/projects/#{$1}"
8
+ when /the "(.*)" branch of "(.*)" project/
9
+ url = "/projects/#{$2}/refs/#{$1}"
10
+ puts url
11
+ url
12
+ else
13
+ raise "Can't find mapping from \"#{page_name}\" to a path."
14
+ end
15
+ end
16
+
data/ginst.gemspec CHANGED
@@ -2,17 +2,17 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{ginst}
5
- s.version = "0.1.3"
5
+ s.version = "0.2.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Guillermo \303\201lvarez"]
9
9
  s.cert_chain = ["/Users/guillermo/.rubygems/gem-public_cert.pem"]
10
- s.date = %q{2009-02-03}
10
+ s.date = %q{2009-04-21}
11
11
  s.description = %q{Git Integration System.}
12
12
  s.email = %q{guillermo@cientifico.net}
13
13
  s.executables = ["ginst", "ginst_master"]
14
- s.extra_rdoc_files = ["bin/ginst", "bin/ginst_master", "CHANGELOG", "lib/app/authorization.rb", "lib/app/views/assets/jquery.corners.js", "lib/app/views/assets/jquery.js", "lib/app/views/branch_index.haml", "lib/app/views/clean_layout.haml", "lib/app/views/commit.haml", "lib/app/views/commits.haml", "lib/app/views/full_commit.haml", "lib/app/views/index.haml", "lib/app/views/layout.haml", "lib/app/views/not_found.haml", "lib/app/views/project.haml", "lib/app/views/project_index.haml", "lib/app/views/style.sass", "lib/app/webserver.rb", "lib/ginst/command_line.rb", "lib/ginst/ginst.rb", "lib/ginst/master_command_line.rb", "lib/ginst/plugin.rb", "lib/ginst/project.rb", "lib/ginst/server.rb", "lib/ginst/templates/rgithook.rb", "lib/ginst.rb", "README.txt"]
15
- s.files = ["bin/ginst", "bin/ginst_master", "CHANGELOG", "ginst.gemspec", "lib/app/authorization.rb", "lib/app/views/assets/jquery.corners.js", "lib/app/views/assets/jquery.js", "lib/app/views/branch_index.haml", "lib/app/views/clean_layout.haml", "lib/app/views/commit.haml", "lib/app/views/commits.haml", "lib/app/views/full_commit.haml", "lib/app/views/index.haml", "lib/app/views/layout.haml", "lib/app/views/not_found.haml", "lib/app/views/project.haml", "lib/app/views/project_index.haml", "lib/app/views/style.sass", "lib/app/webserver.rb", "lib/ginst/command_line.rb", "lib/ginst/ginst.rb", "lib/ginst/master_command_line.rb", "lib/ginst/plugin.rb", "lib/ginst/project.rb", "lib/ginst/server.rb", "lib/ginst/templates/rgithook.rb", "lib/ginst.rb", "Manifest", "Rakefile", "README.txt", "test/app/test_webserver.rb", "test/test_ginst.rb", "test/test_helper.rb", "test/test_project.rb", "test/test_server.rb"]
14
+ s.extra_rdoc_files = ["bin/ginst", "bin/ginst_master", "CHANGELOG", "lib/app/authorization.rb", "lib/app/views/_commit.haml", "lib/app/views/assets/jquery.corners.js", "lib/app/views/assets/jquery.js", "lib/app/views/branch_index.haml", "lib/app/views/clean_layout.haml", "lib/app/views/commit.haml", "lib/app/views/commits.haml", "lib/app/views/edit.haml", "lib/app/views/index.haml", "lib/app/views/layout.haml", "lib/app/views/new.haml", "lib/app/views/not_found.haml", "lib/app/views/project.haml", "lib/app/views/ref.haml", "lib/app/views/style.sass", "lib/app/webserver.rb", "lib/ginst/core_extensions.rb", "lib/ginst/ginst.rb", "lib/ginst/project/base.rb", "lib/ginst/project/build.rb", "lib/ginst/project/commit_db.rb", "lib/ginst/project/finders.rb", "lib/ginst/project/grit.rb", "lib/ginst/project/validations.rb", "lib/ginst/project.rb", "lib/ginst/test/base.rb", "lib/ginst/test/dir.rb", "lib/ginst/test/repo.rb", "lib/ginst/test/run.rb", "lib/ginst/test.rb", "lib/ginst/web_server.rb", "lib/ginst.rb", "README.txt"]
15
+ s.files = ["bin/ginst", "bin/ginst_master", "CHANGELOG", "features/browsing_project.feature", "features/manage_projects.feature", "features/manage_server.feature", "features/step_definitions/manage_projects_steps.rb", "features/step_definitions/manage_server_steps.rb", "features/step_definitions/webrat_steps.rb", "features/support/env.rb", "features/support/git.rb", "features/support/paths.rb", "lib/app/authorization.rb", "lib/app/views/_commit.haml", "lib/app/views/assets/jquery.corners.js", "lib/app/views/assets/jquery.js", "lib/app/views/branch_index.haml", "lib/app/views/clean_layout.haml", "lib/app/views/commit.haml", "lib/app/views/commits.haml", "lib/app/views/edit.haml", "lib/app/views/index.haml", "lib/app/views/layout.haml", "lib/app/views/new.haml", "lib/app/views/not_found.haml", "lib/app/views/project.haml", "lib/app/views/ref.haml", "lib/app/views/style.sass", "lib/app/webserver.rb", "lib/ginst/core_extensions.rb", "lib/ginst/ginst.rb", "lib/ginst/project/base.rb", "lib/ginst/project/build.rb", "lib/ginst/project/commit_db.rb", "lib/ginst/project/finders.rb", "lib/ginst/project/grit.rb", "lib/ginst/project/validations.rb", "lib/ginst/project.rb", "lib/ginst/test/base.rb", "lib/ginst/test/dir.rb", "lib/ginst/test/repo.rb", "lib/ginst/test/run.rb", "lib/ginst/test.rb", "lib/ginst/web_server.rb", "lib/ginst.rb", "Manifest", "Rakefile", "README.txt", "spec/fixtures/sample_repo.zip", "spec/models/project_base_spec.rb", "spec/models/project_build_spec.rb", "spec/models/project_commit_db_spec.rb", "spec/models/project_finders_spec.rb", "spec/models/project_grit_spec.rb", "spec/models/project_validations_spec.rb", "spec/spec_helper.rb", "test/app/test_webserver.rb", "test/test_ginst.rb", "test/test_helper.rb", "test/test_project.rb", "test/test_server.rb", "ginst.gemspec"]
16
16
  s.has_rdoc = true
17
17
  s.homepage = %q{http://github.com/guillermo/ginst}
18
18
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Ginst", "--main", "README.txt"]
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.rubyforge_project = %q{ginst}
21
21
  s.rubygems_version = %q{1.3.1}
22
22
  s.signing_key = %q{/Users/guillermo/.rubygems/gem-private_key.pem}
23
- s.summary = %q{With ginst you can send e-mails, twittes, record changes, run tests, deploy machines automatically every time you push to a server. You can manage all within its own web page. You can use for just one repo, or for all. It support GitHub push services}
23
+ s.summary = %q{Git Integration System}
24
24
  s.test_files = ["test/app/test_webserver.rb", "test/test_ginst.rb", "test/test_helper.rb", "test/test_project.rb", "test/test_server.rb"]
25
25
 
26
26
  if s.respond_to? :specification_version then
@@ -28,21 +28,18 @@ Gem::Specification.new do |s|
28
28
  s.specification_version = 2
29
29
 
30
30
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
31
- s.add_runtime_dependency(%q<grit>, ["~> 0.9.4"])
32
- s.add_runtime_dependency(%q<rgithook>, ["~> 3.0.0"])
31
+ s.add_runtime_dependency(%q<grit>, ["> 0.9.4"])
33
32
  s.add_runtime_dependency(%q<daemons>, ["~> 1.0.10"])
34
33
  s.add_runtime_dependency(%q<sinatra>, ["> 0", "= 0.3.2"])
35
34
  s.add_development_dependency(%q<echoe>, [">= 0"])
36
35
  else
37
- s.add_dependency(%q<grit>, ["~> 0.9.4"])
38
- s.add_dependency(%q<rgithook>, ["~> 3.0.0"])
36
+ s.add_dependency(%q<grit>, ["> 0.9.4"])
39
37
  s.add_dependency(%q<daemons>, ["~> 1.0.10"])
40
38
  s.add_dependency(%q<sinatra>, ["> 0", "= 0.3.2"])
41
39
  s.add_dependency(%q<echoe>, [">= 0"])
42
40
  end
43
41
  else
44
- s.add_dependency(%q<grit>, ["~> 0.9.4"])
45
- s.add_dependency(%q<rgithook>, ["~> 3.0.0"])
42
+ s.add_dependency(%q<grit>, ["> 0.9.4"])
46
43
  s.add_dependency(%q<daemons>, ["~> 1.0.10"])
47
44
  s.add_dependency(%q<sinatra>, ["> 0", "= 0.3.2"])
48
45
  s.add_dependency(%q<echoe>, [">= 0"])