Class: Arel::PgJson::BuildInfo
- Inherits:
-
Object
- Object
- Arel::PgJson::BuildInfo
- Defined in:
- lib/arel/pg_json/build_info.rb
Instance Method Summary collapse
- #add_to_gemspec(spec) ⇒ Object
-
#initialize ⇒ BuildInfo
constructor
A new instance of BuildInfo.
Constructor Details
#initialize ⇒ BuildInfo
Returns a new instance of BuildInfo.
4 5 6 |
# File 'lib/arel/pg_json/build_info.rb', line 4 def initialize @files = `git ls-files -z`.split("\x0") end |
Instance Method Details
#add_to_gemspec(spec) ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/arel/pg_json/build_info.rb', line 8 def add_to_gemspec(spec) spec.version = version spec. = spec.email = emails spec.summary = summary spec.description = description spec.files = files spec.executables = executables spec.test_files = test_files spec.license = license self end |