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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 21e05d2e19f03e10f11b23d5e54ff2fac2f19374
4
- data.tar.gz: 3fabd221df462635db1e256d25111acef10cc53f
3
+ metadata.gz: 6db210b412a5969067d6cb80a4009e70684f6e51
4
+ data.tar.gz: 19084f4c56bbf6be6cb8cdefd78c821de6ee8cfe
5
5
  SHA512:
6
- metadata.gz: f448ccf800557dc644fb017ed7842c89a630cc6362050292340ab143dce8226a8633f64c2f3f100b13d9687154a1e04c6b6cdc6249f7b908c99aa2642541ac7c
7
- data.tar.gz: 942fbd00880201499e7c2da2229ec82e59692d659da96af611d8cbe4f55c9c4e5296f391ffadfc7558953a7bf7ca2859837ead40e1aa57637a9c052c5e992a5e
6
+ metadata.gz: 4cf9e0b23f5e1d2355ff006ffdbce036a226efd64121a889ab29d78bbce22a877c3ef40551956f9334b08a56d7e7c1a96cce893709a8220a90b3ef739688a7f9
7
+ data.tar.gz: 090bc611257b4f0c54c21424b6e8ad77374c6fe8eef28d5c1236529efbc58046db7d8df33877082dc5d02204837de944d834d28ece9cbd4ecf7beb9a21d2f4be
@@ -1,5 +1,5 @@
1
1
  module SchemaMonkey
2
2
  module Rails
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -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", "~> 0.4", ">= 0.4.1"
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.0
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-01 00:00:00.000000000 Z
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.4'
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.4'
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