bookkeeper 0.0.1.beta2 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,7 +20,6 @@
20
20
  <td><%= purchase.warranty_duration %> <%=t '.months' %></td>
21
21
  <td><%= link_to "<i class='icon-download-alt'></i> #{purchase.receipt.file.filename}".html_safe, purchase.receipt.url, class: 'btn btn-mini' if purchase.receipt.file %></td>
22
22
  <td>
23
- <%= link_to ('<i class="icon-search"></i> ' + t('bookkeeper.actions.show')).html_safe, purchase, class: 'btn btn-mini' %>
24
23
  <%= link_to ('<i class="icon-pencil"></i> ' + t('bookkeeper.actions.edit')).html_safe, edit_purchase_path(purchase), class: 'btn btn-mini' %>
25
24
  <%= link_to ('<i class="icon-remove"></i> ' + t('bookkeeper.actions.destroy')).html_safe, purchase, method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-mini btn-danger' %>
26
25
  </td>
@@ -4,7 +4,6 @@ en:
4
4
  actions:
5
5
  save: 'Save'
6
6
  back: 'Back'
7
- show: 'Show'
8
7
  new: 'New'
9
8
  edit: 'Edit'
10
9
  destroy: 'Destroy'
@@ -1,3 +1,3 @@
1
1
  module Bookkeeper
2
- VERSION = "0.0.1.beta2"
2
+ VERSION = "0.0.1"
3
3
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bookkeeper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.beta2
5
- prerelease: 6
4
+ version: 0.0.1
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Tommaso Visconti
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-23 00:00:00.000000000 Z
12
+ date: 2013-02-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -242,7 +242,6 @@ files:
242
242
  - app/views/bookkeeper/purchases/edit.html.erb
243
243
  - app/views/bookkeeper/purchases/index.html.erb
244
244
  - app/views/bookkeeper/purchases/new.html.erb
245
- - app/views/bookkeeper/purchases/show.html.erb
246
245
  - app/views/layouts/bookkeeper/application.html.erb
247
246
  - config/initializers/carrierwave.rb
248
247
  - config/initializers/simple_form.rb
@@ -352,9 +351,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
352
351
  required_rubygems_version: !ruby/object:Gem::Requirement
353
352
  none: false
354
353
  requirements:
355
- - - ! '>'
354
+ - - ! '>='
356
355
  - !ruby/object:Gem::Version
357
- version: 1.3.1
356
+ version: '0'
358
357
  requirements: []
359
358
  rubyforge_project:
360
359
  rubygems_version: 1.8.24
@@ -1,34 +0,0 @@
1
- <p id="notice"><%= notice %></p>
2
-
3
- <p>
4
- <b>Title:</b>
5
- <%= @purchase.title %>
6
- </p>
7
-
8
- <p>
9
- <b>Description:</b>
10
- <%= @purchase.description %>
11
- </p>
12
-
13
- <p>
14
- <b>Purchase date:</b>
15
- <%= @purchase.purchase_date %>
16
- </p>
17
-
18
- <p>
19
- <b>Warranty duration:</b>
20
- <%= @purchase.warranty_duration %>
21
- </p>
22
-
23
- <p>
24
- <b>Receipt:</b>
25
- <% if ['png', 'jpg', 'jpeg', 'gif'].include?(@purchase.receipt.file.extension.downcase) %>
26
- <%= link_to image_tag(@purchase.receipt.thumb.url), @purchase.receipt.url %>
27
- <% else %>
28
- <%= link_to "<i class='icon-download-alt'></i> #{@purchase.receipt.file.filename}".html_safe, @purchase.receipt.url, class: 'btn' %>
29
- <% end %>
30
- </p>
31
-
32
-
33
- <%= link_to '<i class="icon-pencil"></i> Edit'.html_safe, edit_purchase_path(@purchase), class: 'btn' %>
34
- <%= link_to '<i class="icon-arrow-left"></i> Back'.html_safe, purchases_path, class: 'btn' %>