Sha256: 817c91ce56d3f20b31c303c8f31909e8b1d6cb823e930356b86b6bab73162870

Contents?: true

Size: 409 Bytes

Versions: 19

Compression:

Stored size: 409 Bytes

Contents

# frozen_string_literal: true

require 'cocoapods'

module GoNative
  module Plugins
    module IOS
      module Helpers
        module SpecReader
          def spec_name
            @spec_name ||= Dir.entries('.').select { |s| s.end_with? '.podspec' }.first
          end

          def spec
            @spec ||= Pod::Specification.from_file(spec_name)
          end
        end
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
gonative-cli-1.4.4 lib/gonative/plugins/ios/helpers/spec_reader.rb
gonative-cli-1.4.3 lib/gonative/plugins/ios/helpers/spec_reader.rb
gonative-cli-1.4.2 lib/gonative/plugins/ios/helpers/spec_reader.rb
gonative-cli-1.4.1 lib/gonative/plugins/ios/helpers/spec_reader.rb
gonative-cli-1.4.0 lib/gonative/plugins/ios/helpers/spec_reader.rb
gonative-cli-1.3.9 lib/gonative/plugins/ios/helpers/spec_reader.rb
gonative-cli-1.3.8 lib/gonative/plugins/ios/helpers/spec_reader.rb
gonative-cli-1.3.7 lib/gonative/plugins/ios/helpers/spec_reader.rb
gonative-cli-1.3.6 lib/gonative/plugins/ios/helpers/spec_reader.rb
gonative-cli-1.3.5 lib/gonative/plugins/ios/helpers/spec_reader.rb
gonative-cli-1.3.4 lib/gonative/plugins/ios/helpers/spec_reader.rb
gonative-cli-1.3.3 lib/gonative/plugins/ios/helpers/spec_reader.rb
gonative-cli-1.3.2 lib/gonative/plugins/ios/helpers/spec_reader.rb
gonative-cli-1.3.1 lib/gonative/plugins/ios/helpers/spec_reader.rb
gonative-cli-1.3.0 lib/gonative/plugins/ios/helpers/spec_reader.rb
gonative-cli-1.2.4 lib/gonative/plugins/ios/helpers/spec_reader.rb
gonative-cli-1.2.3 lib/gonative/plugins/ios/helpers/spec_reader.rb
gonative-cli-1.2.2 lib/gonative/plugins/ios/helpers/spec_reader.rb
gonative-cli-1.2.1 lib/gonative/plugins/ios/helpers/spec_reader.rb