Class: TenYearsRails::GemInfo::NullGemInfo
Instance Attribute Summary
#gem_specification, #name
Instance Method Summary
collapse
all, #compatible_with_rails?, #from_rails?, #latest_version, #sourced_from_git?
Constructor Details
Returns a new instance of NullGemInfo.
14
|
# File 'lib/ten_years_rails/gem_info.rb', line 14
def initialize; end
|
Instance Method Details
#age ⇒ Object
16
17
18
|
# File 'lib/ten_years_rails/gem_info.rb', line 16
def age
"-"
end
|
#created_at ⇒ Object
20
21
22
|
# File 'lib/ten_years_rails/gem_info.rb', line 20
def created_at
Time.now
end
|
#state(_) ⇒ Object
36
37
38
|
# File 'lib/ten_years_rails/gem_info.rb', line 36
def state(_)
:null
end
|
#unsatisfied_rails_dependencies ⇒ Object
32
33
34
|
# File 'lib/ten_years_rails/gem_info.rb', line 32
def unsatisfied_rails_dependencies(*)
["unknown"]
end
|
#up_to_date? ⇒ Boolean
24
25
26
|
# File 'lib/ten_years_rails/gem_info.rb', line 24
def up_to_date?
false
end
|
#version ⇒ Object
28
29
30
|
# File 'lib/ten_years_rails/gem_info.rb', line 28
def version
"NOT FOUND"
end
|