File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ Gemfile.lock
77InstalledFiles
88_yardoc
99coverage
10- doc /
1110lib /bundler /man
1211pkg
1312rdoc
Original file line number Diff line number Diff line change 1- ![ Decent Exposure] ( decent_exposure.png )
1+ ![ Decent Exposure] ( ./doc/ decent_exposure.png)
22
33[ ![ Gem Version] ( https://img.shields.io/gem/v/decent_exposure.svg )] ( https://rubygems.org/gems/decent_exposure )
44[ ![ Build Status] ( https://img.shields.io/github/workflow/status/hashrocket/decent_exposure/CI )] ( https://github.com/hashrocket/decent_exposure/actions?query=workflow%3ACI )
Original file line number Diff line number Diff line change 1- require File . expand_path ( "../lib/decent_exposure/version" , __FILE__ )
1+ lib = File . expand_path ( "../lib" , __FILE__ )
2+ $LOAD_PATH. unshift ( lib ) unless $LOAD_PATH. include? ( lib )
3+ require "version"
24
35Gem ::Specification . new do |spec |
46 spec . name = "decent_exposure"
57 spec . version = DecentExposure ::VERSION
68 spec . authors = [ "Pavel Pravosud" , "Stephen Caudill" ]
79 spec . email = [ "info@hashrocket.com" ]
8- spec . summary = "A helper for creating declarative interfaces in controllers"
10+ spec . summary = "Create declarative interfaces in Ruby on Rails controllers & views "
911 spec . description = '
1012 DecentExposure helps you program to an interface, rather than an
1113 implementation in your Rails controllers. The fact of the matter is that
@@ -16,8 +18,9 @@ Gem::Specification.new do |spec|
1618 '
1719 spec . homepage = "https://github.com/hashrocket/decent_exposure"
1820 spec . license = "MIT"
19- spec . files = `git ls-files -z` . split ( "\x0 " )
20- spec . test_files = spec . files . grep ( /\A spec\/ / )
21+ spec . files = Dir . chdir ( File . expand_path ( ".." , __FILE__ ) ) do
22+ `git ls-files -z` . split ( "\x0 " ) . reject { |f | f . match ( %r{^(test|spec|features|doc)/} ) }
23+ end
2124 spec . require_path = "lib"
2225
2326 spec . required_ruby_version = ">= 2.6"
File renamed without changes.
You can’t perform that action at this time.
0 commit comments