lib/semmy/project.rb in semmy-0.2.1 vs lib/semmy/project.rb in semmy-0.3.0
- old
+ new
@@ -4,9 +4,13 @@
def version
VersionFile.parse_version(File.read(version_file))
end
+ def has_not_yet_imported_locales?
+ Dir.glob('config/locales/new/**/*.yml').any?
+ end
+
private
def version_file
VersionFile.find(Gemspec.gem_name)
end