Class: NextRails::GemInfo::NullGemInfo
Constant Summary
RAILS_GEMS
Instance Attribute Summary
#gem_specification, #latest_compatible_version, #name
Instance Method Summary
collapse
all, #compatible_with_rails?, #compatible_with_ruby?, #find_latest_compatible, #from_rails?, #latest_version, #sourced_from_git?, #spec_compatible_with_rails?
Constructor Details
Returns a new instance of NullGemInfo.
4
|
# File 'lib/next_rails/gem_info.rb', line 4
def initialize; end
|
Instance Method Details
#age ⇒ Object
6
7
8
|
# File 'lib/next_rails/gem_info.rb', line 6
def age
"-"
end
|
#created_at ⇒ Object
10
11
12
|
# File 'lib/next_rails/gem_info.rb', line 10
def created_at
Time.now
end
|
#state(_) ⇒ Object
26
27
28
|
# File 'lib/next_rails/gem_info.rb', line 26
def state(_)
:null
end
|
#unsatisfied_rails_dependencies ⇒ Object
22
23
24
|
# File 'lib/next_rails/gem_info.rb', line 22
def unsatisfied_rails_dependencies(*)
["unknown"]
end
|
#up_to_date? ⇒ Boolean
14
15
16
|
# File 'lib/next_rails/gem_info.rb', line 14
def up_to_date?
false
end
|
#version ⇒ Object
18
19
20
|
# File 'lib/next_rails/gem_info.rb', line 18
def version
"NOT FOUND"
end
|