schema_dev 3.2.1 → 3.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/schema_dev/gem.rb +1 -1
- data/lib/schema_dev/version.rb +1 -1
- data/spec/gem_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf1f7ec6c2b5d5badbf304a41c0805ffe24bb8f3
|
4
|
+
data.tar.gz: 7440fc2cf538fc06a303ca16012d78158c41327d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7ba7183fce969d0f96615a93289c7aa4e3ae69eb1517fa56bfe2acb92c6edf9f4d9da249ecc6966672180a09ec4c2e150babd73aff27217474d652e295c06cb
|
7
|
+
data.tar.gz: 1245988ddd0db54177ab44723627420b64a6e10aa909774073b14b2e640aa41eaf5492562c278a8bbfbecba50183543fa728e02ed3d6f43eb05c7805f55fbf9f
|
data/lib/schema_dev/gem.rb
CHANGED
@@ -102,7 +102,7 @@ module SchemaDev
|
|
102
102
|
libdir.mkpath
|
103
103
|
FileUtils.mv aside, subdir
|
104
104
|
(gem_root + "lib" + "#{gem_name}.rb").write <<-END.lstrip
|
105
|
-
require_relative '#{gem_parent_name}/#{gem_base_name}
|
105
|
+
require_relative '#{gem_parent_name}/#{gem_base_name}'
|
106
106
|
END
|
107
107
|
end
|
108
108
|
|
data/lib/schema_dev/version.rb
CHANGED
data/spec/gem_spec.rb
CHANGED
@@ -48,7 +48,7 @@ describe SchemaDev::Gem do
|
|
48
48
|
context "subdir gem" do
|
49
49
|
Given(:gem_name) { "schema_plus_new_gem" }
|
50
50
|
Then { expect(gemspec).to include %q{require 'schema_plus/new_gem/version'} }
|
51
|
-
Then { expect(File.read "schema_plus_new_gem/lib/schema_plus_new_gem.rb").to include %q{require_relative 'schema_plus/new_gem
|
51
|
+
Then { expect(File.read "schema_plus_new_gem/lib/schema_plus_new_gem.rb").to include %q{require_relative 'schema_plus/new_gem'} }
|
52
52
|
Then { expect(File.read "schema_plus_new_gem/lib/schema_plus/new_gem.rb").to include %q{SchemaMonkey.register SchemaPlus::NewGem} }
|
53
53
|
end
|
54
54
|
end
|