travis 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -123,6 +123,35 @@ $ gem install travis --no-rdoc --no-ri
123
123
 
124
124
  If you have the old `travis-cli` gem installed, you should `gem uninstall travis-cli`, just to be sure, as it ships with an executable that is also named `travis`.
125
125
 
126
+ ## Version History
127
+
128
+ **v1.0.3** (January 15, 2013)
129
+
130
+ * Fix `-r slug` for repository commands. (#3)
131
+
132
+ **v1.0.2** (January 14, 2013)
133
+
134
+ * Only bundle CA certs needed to verify Travis CI and GitHub domains.
135
+ * Make tests pass on Windows.
136
+
137
+ **v1.0.1** (January 14, 2013)
138
+
139
+ * Improve `encrypt --add` behavior.
140
+
141
+ **v1.0.0** (January 14, 2013)
142
+
143
+ * Fist public release.
144
+ * Improved documentation.
145
+
146
+ **v1.0.0pre2** (January 14, 2013)
147
+
148
+ * Added Windows support.
149
+ * Suggestion to run `travis login` will add `--org` if needed.
150
+
151
+ **v1.0.0pre** (January 13, 2013)
152
+
153
+ * Initial public prerelease.
154
+
126
155
  ## TODO
127
156
 
128
157
  ### Command Line Client
@@ -4,7 +4,7 @@ module Travis
4
4
  module CLI
5
5
  class RepoCommand < ApiCommand
6
6
  GIT_REGEX = %r{Fetch URL: (?:https://|git://|git@)github\.com[:/](.*/.+?)(\.git)?$}
7
- on('-r', '--repo SLUG') { |c| c.slug = slug }
7
+ on('-r', '--repo SLUG') { |c, slug| c.slug = slug }
8
8
 
9
9
  attr_accessor :slug
10
10
  abstract
@@ -1,3 +1,3 @@
1
1
  module Travis
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
@@ -2,7 +2,12 @@ require 'spec_helper'
2
2
 
3
3
  describe Travis::CLI::Endpoint do
4
4
  example "travis encrypt foo" do
5
- run_cli('encrypt', 'foo', '-E').should be_success
5
+ run_cli('encrypt', 'foo').should be_success
6
+ stdout.should match(/^".{60,}"\n$/)
7
+ end
8
+
9
+ example "travis encrypt foo -r rails/rails" do
10
+ run_cli('encrypt', 'foo', '-r', 'rails/rails').should be_success
6
11
  stdout.should match(/^".{60,}"\n$/)
7
12
  end
8
13
 
data/travis.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  # general infos
4
4
  s.name = "travis"
5
- s.version = "1.0.2"
5
+ s.version = "1.0.3"
6
6
  s.description = "CLI and Ruby client library for Travis CI"
7
7
  s.homepage = "https://github.com/travis-ci/travis"
8
8
  s.summary = "Travis CI client"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: travis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-14 00:00:00.000000000 Z
12
+ date: 2013-01-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday