File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,17 @@ Gem::Specification.new do |spec|
13
13
spec . homepage = "https://github.com/eval/envied"
14
14
spec . license = "MIT"
15
15
16
- spec . files = `git ls-files -z` . split ( "\x0 " )
17
- spec . executables = spec . files . grep ( %r{^bin/} ) { |f | File . basename ( f ) }
16
+ spec . metadata [ "homepage_uri" ] = spec . homepage
17
+ spec . metadata [ "source_code_uri" ] = "https://github.com/eval/envied.git"
18
+ spec . metadata [ "changelog_uri" ] = "https://github.com/eval/envied/blob/master/CHANGELOG.md"
19
+
20
+ # Specify which files should be added to the gem when it is released.
21
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
22
+ spec . files = Dir . chdir ( File . expand_path ( '..' , __FILE__ ) ) do
23
+ `git ls-files -z` . split ( "\x0 " ) . reject { |f | f . match ( %r{^(test|spec|features)/} ) }
24
+ end
25
+ spec . bindir = 'exe'
26
+ spec . executables = spec . files . grep ( %r{^exe/} ) { |f | File . basename ( f ) }
18
27
spec . test_files = spec . files . grep ( %r{^(test|spec|features)/} )
19
28
spec . require_paths = [ "lib" ]
20
29
File renamed without changes.
You can’t perform that action at this time.
0 commit comments