inventorymaster 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 40cccffa7646893ddd398a1afaa35a7456d8c08e
4
- data.tar.gz: 22043dec86c0c22a835d646d0cd2d7132b5f9237
3
+ metadata.gz: 3db309a0b7ef8ab9589453e6e11028501e401153
4
+ data.tar.gz: b4d46b40fef05cb4a30efb8ca72bea911190e178
5
5
  SHA512:
6
- metadata.gz: 559902a0fa2b2e43b5390b6fd69129d7b6cb93973d3edec959d72affd9ce3481443aa8274cfd25a59620fc262073edd50b656912bbbb6dbaec61fbba33cb1479
7
- data.tar.gz: b1016ab24d98624094a5e7c607e2ad3a3d4645d6fe95c6c7dbe99478da64f4ddbe70a9fecc003e17ed30633182860ff32b78836a35b7199092214ea8216d3cc6
6
+ metadata.gz: afe960edc6c193ba1731679575c3dbb7489adecec11f03bdbf3388597c2e97fd43cacfdc8005e6148cb9de964219b4af18757eaffd2f8c16c9247bbf38a67a1d
7
+ data.tar.gz: 3b4aaeebb8e83115e4c21c8b0526fbf8e3e87287f1f2b893234e951a99dec6dbae53335ad7373f63e4e021b2081b455e7cb0271c0fe25e326848224c3a086ece
data/README.rdoc CHANGED
@@ -33,4 +33,54 @@ paste this code in application.html.erb to see and navigate in the app.
33
33
 
34
34
  App takes the layout from main app, but this engine uses Bootstrap 3.0.0 layout.
35
35
 
36
+
37
+ =For search in products
38
+
39
+ You need install Elastic search first
40
+
41
+ I follow this tuto
42
+ https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-4-on-ubuntu-14-04
43
+
44
+ Add this style
45
+ https://raw.githubusercontent.com/grk/bookstore-example/master/app/assets/stylesheets/typeahead.css
46
+
47
+ Add this javascript
48
+ <%= javascript_include_tag '//cdnjs.cloudflare.com/ajax/libs/typeahead.js/0.9.3/typeahead.min.js', 'data-turbolinks-track' => true %>
49
+
50
+ Add this gem
51
+ gem "searchkick"
52
+
53
+ And start javascript search
54
+
55
+ $ ->
56
+ $('#product_search').typeahead
57
+ name: "product"
58
+ remote: "/stok/products/autocomplete?query=%QUERY"
59
+
60
+
61
+ =RoadMap
62
+
63
+ * More features
64
+ * Develop reports
65
+ * Write Tests
66
+
67
+ =Contributing
68
+
69
+ Everyone is encouraged to help improve this project. Here are a few ways you can help:
70
+
71
+ * Report bugs
72
+ * Fix bugs and submit pull requests
73
+ * Write, clarify, or fix documentation
74
+ * Suggest or add new features
75
+
76
+ To get started with development and testing:
77
+
78
+ git clone https://github.com/jcottobboni/inventorymaster.git
79
+
80
+
81
+ Add
82
+ gem 'inventorymaster',path:=> '../inventorymaster'
83
+
84
+ to you current project and follow steps in the up this file for implement inventory system in your project.
85
+
36
86
  Enjoy!!!
@@ -11,6 +11,8 @@
11
11
  <%= submit_tag("+ Saida", :class => 'btn btn-small btn-danger') %>
12
12
  <% end %>
13
13
  <p>
14
+ <%= link_to 'Editar', edit_product_path(@product) ,:class=>"btn btn-xs btn-warning"%>
15
+ <%= link_to 'Deletar', @product, method: :delete, data: { confirm: 'Voce tem Certeza?' },:class=>"btn btn-xs btn-danger" %>
14
16
  <strong>Quantidade em Estoque:</strong>
15
17
  <span class="label label-primary"><%= @product.ammount %></span>
16
18
  </p>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inventorymaster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - jcottobboni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-25 00:00:00.000000000 Z
11
+ date: 2015-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails