strobe 0.0.1 → 0.0.2

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.
Files changed (42) hide show
  1. data/bin/strobe +2 -12
  2. data/lib/strobe.rb +35 -88
  3. data/lib/strobe/association.rb +86 -0
  4. data/lib/strobe/cli.rb +39 -53
  5. data/lib/strobe/cli/action.rb +131 -0
  6. data/lib/strobe/cli/actions.rb +103 -0
  7. data/lib/strobe/cli/settings.rb +62 -0
  8. data/lib/strobe/collection.rb +53 -0
  9. data/lib/strobe/connection.rb +91 -0
  10. data/lib/strobe/resource/base.rb +235 -0
  11. data/lib/strobe/resource/collection.rb +50 -0
  12. data/lib/strobe/resource/singleton.rb +18 -0
  13. data/lib/strobe/resources/account.rb +12 -0
  14. data/lib/strobe/resources/application.rb +129 -0
  15. data/lib/strobe/resources/me.rb +11 -0
  16. data/lib/strobe/resources/signup.rb +27 -0
  17. data/lib/strobe/resources/team.rb +13 -0
  18. data/lib/strobe/resources/user.rb +11 -0
  19. data/lib/strobe/validations.rb +118 -0
  20. metadata +50 -124
  21. data/.gitignore +0 -5
  22. data/Gemfile +0 -4
  23. data/Gemfile.lock +0 -69
  24. data/Rakefile +0 -36
  25. data/features/1_sign_up.feature +0 -16
  26. data/features/2_deploying.feature +0 -35
  27. data/features/3_deploying_sproutcore_apps.feature +0 -19
  28. data/features/step_definitions/cli_steps.rb +0 -8
  29. data/features/step_definitions/deploying_steps.rb +0 -58
  30. data/features/step_definitions/sign_up.rb +0 -74
  31. data/features/support/helpers.rb +0 -104
  32. data/features/support/strobe.rb +0 -57
  33. data/lib/strobe/account.rb +0 -67
  34. data/lib/strobe/deploy.rb +0 -131
  35. data/lib/strobe/errors.rb +0 -12
  36. data/lib/strobe/http.rb +0 -94
  37. data/lib/strobe/server.rb +0 -13
  38. data/lib/strobe/settings.rb +0 -56
  39. data/lib/strobe/ui.rb +0 -81
  40. data/lib/strobe/user.rb +0 -9
  41. data/lib/strobe/version.rb +0 -3
  42. data/strobe.gemspec +0 -35
@@ -1,9 +0,0 @@
1
- class Strobe
2
- class User
3
- attr_reader :token
4
-
5
- def initialize(json)
6
- @token = json["authentication_token"]
7
- end
8
- end
9
- end
@@ -1,3 +0,0 @@
1
- class Strobe
2
- VERSION = "0.0.1"
3
- end
@@ -1,35 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path("../lib", __FILE__)
3
- require "strobe/version"
4
-
5
- Gem::Specification.new do |s|
6
- s.name = "strobe"
7
- s.version = Strobe::VERSION
8
- s.platform = Gem::Platform::RUBY
9
- s.authors = ["Yehuda Katz", "Carl Lerche"]
10
- s.email = ["wycats@strobecorp.com", "carllerche@strobecorp.com"]
11
- s.homepage = "http://rubygems.org/gems/strobe"
12
- s.summary = "A deployment tool for HTML5 applications"
13
- s.description = "The client library for deploying applications to Strobe's HTML5 deployment platform"
14
-
15
- s.required_rubygems_version = ">= 1.3.6"
16
- s.rubyforge_project = "strobe"
17
-
18
- s.add_runtime_dependency "thor", "~> 0.14.1"
19
- s.add_runtime_dependency "rack", "~> 1.2.1"
20
- s.add_runtime_dependency "highline", "~> 1.6.1"
21
- s.add_runtime_dependency "excon", "~> 0.2.2"
22
- s.add_runtime_dependency "mime-types", "= 1.16"
23
- s.add_runtime_dependency "activesupport", "~> 3.0.0"
24
-
25
- s.add_development_dependency "rake"
26
- s.add_development_dependency "rspec", "~> 2.0.0"
27
- s.add_development_dependency "childlabor", "0.0.3"
28
- s.add_development_dependency "cucumber"
29
- s.add_development_dependency "prawn"
30
-
31
- s.files = `git ls-files`.split("\n")
32
- s.executables = `git ls-files bin`.split("\n").map{ |file| File.basename(file) }
33
- s.require_path = 'lib'
34
- end
35
-