Sha256: d573008a3f51ff3ff45778e0bf490cd568b740807304d1184468576d5ba4c145

Contents?: true

Size: 320 Bytes

Versions: 7

Compression:

Stored size: 320 Bytes

Contents

module Semmy
  module Project
    extend self

    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
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
semmy-1.2.0 lib/semmy/project.rb
semmy-1.1.0 lib/semmy/project.rb
semmy-1.0.2 lib/semmy/project.rb
semmy-1.0.1 lib/semmy/project.rb
semmy-1.0.0 lib/semmy/project.rb
semmy-0.4.0 lib/semmy/project.rb
semmy-0.3.0 lib/semmy/project.rb