mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
Merge branch 'master' of git://github.com/bsag/tracks
Conflicts: config/locales/de.yml config/locales/en.yml
This commit is contained in:
commit
eb22178b67
2 changed files with 17 additions and 4 deletions
|
|
@ -1,6 +1,9 @@
|
||||||
development:
|
development:
|
||||||
adapter: mysql
|
adapter: mysql
|
||||||
database: tracks
|
database: tracks
|
||||||
|
# set this if you are storing utf8 in your mysql database to handle strings
|
||||||
|
# like "Réné".Not needed for sqlite. For PostgreSQL use encoding: unicode
|
||||||
|
# encoding: utf8
|
||||||
host: localhost
|
host: localhost
|
||||||
username: root
|
username: root
|
||||||
password:
|
password:
|
||||||
|
|
@ -12,6 +15,9 @@ test: &TEST
|
||||||
production:
|
production:
|
||||||
adapter: mysql
|
adapter: mysql
|
||||||
database: tracks
|
database: tracks
|
||||||
|
# set this if you are storing utf8 in your mysql database to handle strings
|
||||||
|
# like "Réné".Not needed for sqlite. For PostgreSQL use encoding: unicode
|
||||||
|
# encoding: utf8
|
||||||
host: localhost
|
host: localhost
|
||||||
username: root
|
username: root
|
||||||
password:
|
password:
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ module Rails
|
||||||
specification.dependencies.reject do |dependency|
|
specification.dependencies.reject do |dependency|
|
||||||
dependency.type == :development
|
dependency.type == :development
|
||||||
end.map do |dependency|
|
end.map do |dependency|
|
||||||
GemDependency.new(dependency.name, :requirement => dependency.version_requirements)
|
GemDependency.new(dependency.name, :requirement => (dependency.respond_to?(:requirement) ? dependency.requirement : dependency.version_requirements))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -115,9 +115,16 @@ module Rails
|
||||||
@spec = s
|
@spec = s
|
||||||
end
|
end
|
||||||
|
|
||||||
def requirement
|
if method_defined?(:requirement)
|
||||||
r = version_requirements
|
def requirement
|
||||||
(r == Gem::Requirement.default) ? nil : r
|
req = super
|
||||||
|
req unless req == Gem::Requirement.default
|
||||||
|
end
|
||||||
|
else
|
||||||
|
def requirement
|
||||||
|
req = version_requirements
|
||||||
|
req unless req == Gem::Requirement.default
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def built?
|
def built?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue