Sha256: 8fcf305db8ac0b96d84bf62fa8e8e99e4b391328a533c4fcf7af992f82dbf6fb

Contents?: true

Size: 406 Bytes

Versions: 119

Compression:

Stored size: 406 Bytes

Contents

module SocialStream
  module Release
    class DependencyUpdate < Thor
      include Thor::Actions

      desc :update, "Update gemfile's dependency with some version"
      def update gemspec, dependency, version
        gsub_file gemspec,
                  /social_stream-#{ dependency }.*(\d+\.\d+\.\d+)/,
                  "social_stream-#{ dependency }', '~> #{ version }"
      end
    end
  end
end

Version data entries

119 entries across 119 versions & 2 rubygems

Version Path
social_stream-2.2.2 lib/social_stream/release/dependency_update.rb
social_stream-2.2.1 lib/social_stream/release/dependency_update.rb
social_stream-2.2.0 lib/social_stream/release/dependency_update.rb
social_stream-2.1.1 lib/social_stream/release/dependency_update.rb
social_stream-1.1.12 lib/social_stream/release/dependency_update.rb
social_stream-2.1.0 lib/social_stream/release/dependency_update.rb
social_stream-2.0.4 lib/social_stream/release/dependency_update.rb
social_stream-2.0.3 lib/social_stream/release/dependency_update.rb
social_stream-1.1.11 lib/social_stream/release/dependency_update.rb
social_stream-1.1.10 lib/social_stream/release/dependency_update.rb
social_stream-1.1.9 lib/social_stream/release/dependency_update.rb
social_stream-1.1.8 lib/social_stream/release/dependency_update.rb
social_stream-2.0.2 lib/social_stream/release/dependency_update.rb
social_stream-2.0.1 lib/social_stream/release/dependency_update.rb
social_stream-2.0.0 lib/social_stream/release/dependency_update.rb
social_stream-2.0.0.beta3 lib/social_stream/release/dependency_update.rb
social_stream-2.0.0.beta2 lib/social_stream/release/dependency_update.rb
social_stream-2.0.0.beta1 lib/social_stream/release/dependency_update.rb
social_stream-1.1.7 lib/social_stream/release/dependency_update.rb
social_stream-1.1.6 lib/social_stream/release/dependency_update.rb