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-0.26.0 lib/social_stream/release/dependency_update.rb
social_stream-0.25.2 lib/social_stream/release/dependency_update.rb
social_stream-0.25.1 lib/social_stream/release/dependency_update.rb
social_stream-0.25.0 lib/social_stream/release/dependency_update.rb
social_stream-0.24.1 lib/social_stream/release/dependency_update.rb
social_stream-0.24.0 lib/social_stream/release/dependency_update.rb
social_stream-0.23.4 lib/social_stream/release/dependency_update.rb
social_stream-0.23.3 lib/social_stream/release/dependency_update.rb
social_stream-0.23.2 lib/social_stream/release/dependency_update.rb
social_stream-0.23.1 lib/social_stream/release/dependency_update.rb
social_stream-0.22.1 lib/social_stream/release/dependency_update.rb
social_stream-0.22.0 lib/social_stream/release/dependency_update.rb
social_stream-0.21.4 lib/social_stream/release/dependency_update.rb
social_stream-0.21.3 lib/social_stream/release/dependency_update.rb
social_stream-0.21.2 lib/social_stream/release/dependency_update.rb
social_stream-0.21.1 lib/social_stream/release/dependency_update.rb
social_stream-0.21.0 lib/social_stream/release/dependency_update.rb
social_stream-0.20.2 lib/social_stream/release/dependency_update.rb
social_stream-0.20.1 lib/social_stream/release/dependency_update.rb
social_stream-0.20.0 lib/social_stream/release/dependency_update.rb