schema_monkey_rails 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/schema_monkey_rails/version.rb +1 -1
- data/schema_monkey_rails.gemspec +1 -1
- data/spec/rails_spec.rb +4 -1
- metadata +4 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6db210b412a5969067d6cb80a4009e70684f6e51
|
4
|
+
data.tar.gz: 19084f4c56bbf6be6cb8cdefd78c821de6ee8cfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4cf9e0b23f5e1d2355ff006ffdbce036a226efd64121a889ab29d78bbce22a877c3ef40551956f9334b08a56d7e7c1a96cce893709a8220a90b3ef739688a7f9
|
7
|
+
data.tar.gz: 090bc611257b4f0c54c21424b6e8ad77374c6fe8eef28d5c1236529efbc58046db7d8df33877082dc5d02204837de944d834d28ece9cbd4ecf7beb9a21d2f4be
|
data/schema_monkey_rails.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
|
20
20
|
spec.add_dependency "activerecord", "~> 4.2"
|
21
21
|
spec.add_dependency "rails"
|
22
|
-
spec.add_dependency "schema_monkey", "~>
|
22
|
+
spec.add_dependency "schema_monkey", "~> 1.0"
|
23
23
|
|
24
24
|
spec.add_development_dependency "bundler", "~> 1.7"
|
25
25
|
spec.add_development_dependency "rake", "~> 10.0"
|
data/spec/rails_spec.rb
CHANGED
@@ -26,12 +26,15 @@ describe SchemaMonkey::Rails do
|
|
26
26
|
Rails.application.initialize!
|
27
27
|
end
|
28
28
|
|
29
|
+
after(:each) do
|
30
|
+
@client.reset
|
31
|
+
end
|
32
|
+
|
29
33
|
it "inserts client into app" do
|
30
34
|
expect(@client).to be_inserted
|
31
35
|
end
|
32
36
|
|
33
37
|
it "inserts client into rake" do
|
34
|
-
@client.reset
|
35
38
|
expect { Rake::Task["db:schema:dump"].invoke }.to raise_error(Errno::ENOENT)
|
36
39
|
expect(@client).to be_inserted
|
37
40
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: schema_monkey_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ronen barzel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -44,20 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0
|
48
|
-
- - ">="
|
49
|
-
- !ruby/object:Gem::Version
|
50
|
-
version: 0.4.1
|
47
|
+
version: '1.0'
|
51
48
|
type: :runtime
|
52
49
|
prerelease: false
|
53
50
|
version_requirements: !ruby/object:Gem::Requirement
|
54
51
|
requirements:
|
55
52
|
- - "~>"
|
56
53
|
- !ruby/object:Gem::Version
|
57
|
-
version: '0
|
58
|
-
- - ">="
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: 0.4.1
|
54
|
+
version: '1.0'
|
61
55
|
- !ruby/object:Gem::Dependency
|
62
56
|
name: bundler
|
63
57
|
requirement: !ruby/object:Gem::Requirement
|