Sha256: 3c3ae4f3d5a87e60fabd6b56437ed17c82c2bbdcd7d9db1efbf3735fe718b63b

Contents?: true

Size: 697 Bytes

Versions: 11

Compression:

Stored size: 697 Bytes

Contents

module SocialStream
  module Release
    class << self
      def create(*args)
        # First of all, update gems
        system "bundle"

        dependencies = Global::Release.new.dependencies

        components = args.map do |a|
          name, version = a.split(":")

          if dependencies.include?(name)
            Component::Release.new(name, version).release!
          else
            @target = name
          end
        end

        Global::Release.new(@target).release!
      end
    end
  end
end

%w(dependency_update global/release global/version_file component/release component/version_file).each do |file|
  require File.expand_path("../release/#{ file }", __FILE__)
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
social_stream-0.11.8 lib/social_stream/release.rb
social_stream-0.11.7 lib/social_stream/release.rb
social_stream-0.11.6 lib/social_stream/release.rb
social_stream-0.11.5 lib/social_stream/release.rb
social_stream-0.11.4 lib/social_stream/release.rb
social_stream-0.11.3 lib/social_stream/release.rb
social_stream-0.11.2 lib/social_stream/release.rb
social_stream-0.11.1 lib/social_stream/release.rb
social_stream-0.11.0 lib/social_stream/release.rb
social_stream-0.10.4 lib/social_stream/release.rb
social_stream-0.10.3 lib/social_stream/release.rb