enju_inventory 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +1 -1
- data/app/models/inventory.rb +1 -0
- data/app/models/inventory_file.rb +1 -0
- data/lib/enju_inventory/engine.rb +1 -1
- data/lib/enju_inventory/version.rb +1 -1
- data/spec/dummy/config/initializers/devise.rb +0 -4
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/models/inventory_file_spec.rb +5 -1
- metadata +2 -2
data/MIT-LICENSE
CHANGED
data/app/models/inventory.rb
CHANGED
@@ -92,10 +92,6 @@ Devise.setup do |config|
|
|
92
92
|
# If true, extends the user's remember period when remembered via cookie.
|
93
93
|
# config.extend_remember_period = false
|
94
94
|
|
95
|
-
# If true, uses the password salt as remember token. This should be turned
|
96
|
-
# to false if you are not using database authenticatable.
|
97
|
-
config.use_salt_as_remember_token = true
|
98
|
-
|
99
95
|
# Options to be passed to the created cookie. For instance, you can set
|
100
96
|
# :secure => true in order to force SSL only cookies.
|
101
97
|
# config.cookie_options = {}
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -2,8 +2,12 @@
|
|
2
2
|
require 'spec_helper'
|
3
3
|
|
4
4
|
describe InventoryFile do
|
5
|
+
fixtures :users
|
6
|
+
|
5
7
|
before(:each) do
|
6
|
-
@file = InventoryFile.
|
8
|
+
@file = InventoryFile.new :inventory => File.new("#{Rails.root.to_s}/../../examples/inventory_file_sample.tsv")
|
9
|
+
@file.user = users(:admin)
|
10
|
+
@file.save
|
7
11
|
end
|
8
12
|
|
9
13
|
it "should be imported" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enju_inventory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-05-
|
12
|
+
date: 2012-05-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|