ginst 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.0
1
+ 2.0.1
data/ginst.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ginst}
8
- s.version = "2.0.0"
8
+ s.version = "2.0.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Guillermo \303\201lvarez Fern\303\241ndez"]
@@ -113,6 +113,10 @@ Gem::Specification.new do |s|
113
113
  "lib/ginst/web_server.rb",
114
114
  "lib/tasks/ginst.rake",
115
115
  "log/.gittouch",
116
+ "log/development.log",
117
+ "log/production.log",
118
+ "log/staging.log",
119
+ "log/test.log",
116
120
  "public/404.html",
117
121
  "public/422.html",
118
122
  "public/500.html",
data/lib/ginst.rb CHANGED
@@ -31,6 +31,7 @@ module Ginst
31
31
  @@root
32
32
  end
33
33
 
34
+ VERSION = File.read(root+'/VERSION')
34
35
  end
35
36
 
36
37
  # Add vendorized gems to load path
@@ -1,35 +1,35 @@
1
- <% build = SimpleBuild.find_by_commit_sha1(commit.id) %>
1
+ <%% build = SimpleBuild.find_by_commit_sha1(commit.id) %>
2
2
 
3
- <% content_tag_for :li, commit do %>
4
- <% if build %>
5
- <pre><%= link_to commit.short_message, project_commit_path(@project, commit.id) %></pre>
6
- <img src="<%= gravatar_url_for(commit) %>">
3
+ <%% content_tag_for :li, commit do %>
4
+ <%% if build %>
5
+ <pre><%%= link_to commit.short_message, project_commit_path(@project, commit.id) %></pre>
6
+ <img src="<%%= gravatar_url_for(commit) %>">
7
7
  <p>
8
- <strong><%= commit.author.name %></strong> (author)<br/>
9
- <em><%= commit.committed_date.to_s(:short) %></em>
8
+ <strong><%%= commit.author.name %></strong> (author)<br/>
9
+ <em><%%= commit.committed_date.to_s(:short) %></em>
10
10
 
11
- <% task = @project.tasks.for_commit(commit.id).first %>
12
- <% if task %>
13
- <%= link_to "Build status: #{task.status}", project_task_path(@project,task), :class => task.status %>
14
- <% else %>
15
- <% form_for commit, :url => project_commit_path(@project, commit) do |f| %>
11
+ <%% task = @project.tasks.for_commit(commit.id).first %>
12
+ <%% if task %>
13
+ <%%= link_to "Build status: #{task.status}", project_task_path(@project,task), :class => task.status %>
14
+ <%% else %>
15
+ <%% form_for commit, :url => project_commit_path(@project, commit) do |f| %>
16
16
  <button type="submit">build!</button>
17
- <% end %>
18
- <% end %>
17
+ <%% end %>
18
+ <%% end %>
19
19
  </p>
20
20
  <dl>
21
21
  <dt>sha1</dt>
22
- <dd><pre><%= commit.id %></pre></dd>
22
+ <dd><pre><%%= commit.id %></pre></dd>
23
23
 
24
- <% commit.parents.each do |parent| %>
24
+ <%% commit.parents.each do |parent| %>
25
25
  <dt>parent</dt>
26
- <dd><pre><%= parent.id %></pre></dd>
27
- <% end %>
26
+ <dd><pre><%%= parent.id %></pre></dd>
27
+ <%% end %>
28
28
 
29
29
  <dt>tree</dt>
30
- <dd><pre><%= commit.tree.id %></pre></dd>
30
+ <dd><pre><%%= commit.tree.id %></pre></dd>
31
31
  </dl>
32
- <% else %>
33
- <%= commit.short_message %>
34
- <% end %>
35
- <% end %>
32
+ <%% else %>
33
+ <%%= commit.short_message %>
34
+ <%% end %>
35
+ <%% end %>
@@ -1,4 +1,4 @@
1
- <% form_tag project_simple_builds_path(@project), :method => :post do %>
2
- <%= text_area_tag('build', SimpleBuildConf.new(@project.slug).build , :style => 'width: 100%; min-height: 300px;') %>
3
- <%= submit_tag 'Update build' %>
4
- <% end %>
1
+ <%% form_tag project_simple_builds_path(@project), :method => :post do %>
2
+ <%%= text_area_tag('build', SimpleBuildConf.new(@project.slug).build , :style => 'width: 100%; min-height: 300px;') %>
3
+ <%%= submit_tag 'Update build' %>
4
+ <%% end %>
@@ -1 +1 @@
1
- <%= simple_build.commit_sha1 %>
1
+ <%%= simple_build.commit_sha1 %>
@@ -1,7 +1,7 @@
1
- <% content_for :submenu do %>
2
- <%= show_branch_links %>
3
- <% end %>
1
+ <%% content_for :submenu do %>
2
+ <%%= show_branch_links %>
3
+ <%% end %>
4
4
 
5
5
  <ul>
6
- <%= render :partial => 'commit', :collection => @commits %>
6
+ <%%= render :partial => 'commit', :collection => @commits %>
7
7
  </ul>
File without changes
File without changes
data/log/staging.log ADDED
File without changes
data/log/test.log ADDED
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ginst
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Guillermo \xC3\x81lvarez Fern\xC3\xA1ndez"
@@ -146,6 +146,10 @@ files:
146
146
  - lib/ginst/web_server.rb
147
147
  - lib/tasks/ginst.rake
148
148
  - log/.gittouch
149
+ - log/development.log
150
+ - log/production.log
151
+ - log/staging.log
152
+ - log/test.log
149
153
  - public/404.html
150
154
  - public/422.html
151
155
  - public/500.html