Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Commit

Permalink
Remove social promotions 😢
Browse files Browse the repository at this point in the history
  • Loading branch information
binarylogic committed Oct 27, 2017
1 parent 1235831 commit e26dbba
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 19 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Changed

- Remove social promotions during the installation process

## [2.4.0] - 2017-10-23

### Added
Expand Down
8 changes: 0 additions & 8 deletions lib/timber/cli/installers/root.rb
Expand Up @@ -32,7 +32,6 @@ def run(app)
confirm_log_delivery
api.event(:success)
collect_feedback
free_data
wrap_up(app)
end

Expand Down Expand Up @@ -111,13 +110,6 @@ def collect_feedback
io.puts "Thank you! We take feedback seriously and will work to improve this."
end
end

def free_data
io.puts ""
io.puts IO::Messages.separator
io.puts ""
io.puts IO::Messages.free_data
end
end
end
end
Expand Down
10 changes: 0 additions & 10 deletions lib/timber/cli/io/messages.rb
Expand Up @@ -86,16 +86,6 @@ def http_environment_variables(api_key)
message
end

def free_data
message = <<-MESSAGE
Get free data:
* Get ✨ 250mb✨ for starring our repo: #{IO::ANSI.colorize(REPO_URL, :blue)}
* Get ✨ 250mb✨ for tweeting your experience to #{IO::ANSI.colorize(TWITTER_HANDLE, :blue)}
MESSAGE
message.rstrip
end

def header
message = <<-MESSAGE
🌲 Timber.io Ruby Installer - Great Ruby Logging Made *Easy*
Expand Down
1 change: 0 additions & 1 deletion spec/timber/cli/installers/root_spec.rb
Expand Up @@ -30,7 +30,6 @@
expect(installer).to receive(:wrap_up).with(app).exactly(1).times
expect(api).to receive(:event).with(:success).exactly(1).times
expect(installer).to receive(:collect_feedback).exactly(1).times
expect(installer).to receive(:free_data).exactly(1).times

installer.run(app)
end
Expand Down

0 comments on commit e26dbba

Please sign in to comment.