lib/travis/cli/env.rb in travis-1.10.1.travis.1312.9 vs lib/travis/cli/env.rb in travis-1.10.1.travis.1321.9

- old
+ new

@@ -13,11 +13,11 @@ subcommands :list, :set, :unset, :copy, :clear def setup super authenticate - error "not allowed to access environment variables for #{color(repository.slug, :bold)}" unless repository.admin? + error "not allowed to access environment variables for #{color(repository.slug, :bold)}" unless repository.push? end def set(name, value) options ||= { :public => public } if public != nil say color('[+] ', [:green, :bold]) + "setting environment variable #{color "$#{name}", :info}" @@ -61,6 +61,6 @@ def env_vars repository.env_vars end end end -end \ No newline at end of file +end