bait 0.2.0 → 0.2.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a26df53b8594473bd65a349db9746a2f58eae3b
4
- data.tar.gz: 3b2c21ed9b86815ea4cbc542f9ab38548f02132a
3
+ metadata.gz: 9352d315f041c234622a2d08cb1d7eefc70886c0
4
+ data.tar.gz: b508310f57abe42029ca801cca980c0f978bd378
5
5
  SHA512:
6
- metadata.gz: a2a12d75d3bd4b57a843ae680e99d4add6c736721889d087353c97402389339a5a3034f397702ddc83cc3d714c7e164bd4cdac35468c1e990c58dfdcb1829183
7
- data.tar.gz: e8ac8c6fe4f7e52101224a059fed668923a77daf9acbea3f8349f74c32141788056b9fb6baaeb4cd8e79626509fc232dcfbec9acad7a59f6f95372f3a2a97c29
6
+ metadata.gz: 263636979c1adf36fe0d1113ebbaa122aa464a247c88fdbf7fa0816526cfc139bd74d4d7d61bc046951d0a31f39cbde561ac37def514406820d15454582c9837
7
+ data.tar.gz: 6d6a352c5554ecacaeb76fb85403c246ddf3e22beeb66d9faba9fa1265b0208b1ba319c4a0b26304ea9316256c3ff351a8d0db8b943b1ad2a942877ea6fe14bc
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bait (0.1.1)
4
+ bait (0.2.0)
5
5
  git
6
6
  haml
7
7
  moneta
data/README.md CHANGED
@@ -3,6 +3,14 @@ Bait
3
3
 
4
4
  `bait` is a build and integration tester
5
5
 
6
+ # Usage
7
+
8
+ Install the gem and then just run `bait`
9
+
10
+ A sinatra server will start up. YAML files will be stored in ~/.bait
11
+
12
+ Hit up 0.0.0.0:8417 to see what's up. You can set your Github to notify it and it will run your tests per the bait spec.
13
+
6
14
  # Backstory
7
15
 
8
16
  https://github.com/DFTi/Scribbeo-motion already is designed in such a way that it vendors our existing iOS (completely written in Objective-C) application https://github.com/DFTi/Critique
@@ -97,6 +105,9 @@ bundle install > /dev/null 2>&1
97
105
  bundle exec motion-specwrap
98
106
  ```
99
107
 
108
+ An example project that will work on bait can be [found
109
+ here](https://github.com/keyvanfatehi/baitmotion)
110
+
100
111
  There is a bug in RubyMotion where the exit value isn't reported
101
112
  properly, that's why we are using
102
113
  [motion-specwrap](https://github.com/mdks/motion-specwrap) to run the
data/bin/bait CHANGED
@@ -1,5 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  ENV['RACK_ENV'] = 'production'
3
- require File.expand_path("../../config/boot.rb", __FILE__)
3
+ require 'rubygems'
4
+ require 'bait'
5
+ require 'bait/api'
4
6
  Bait::Api.run!
5
7
 
@@ -1,3 +1,3 @@
1
1
  module Bait
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bait
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keyvan Fatehi
@@ -211,7 +211,6 @@ files:
211
211
  - Rakefile
212
212
  - bait.gemspec
213
213
  - bin/bait
214
- - config/boot.rb
215
214
  - lib/bait.rb
216
215
  - lib/bait/api.rb
217
216
  - lib/bait/build.rb
@@ -1,8 +0,0 @@
1
- ENV["RACK_ENV"] ||= "development"
2
-
3
- require 'rubygems' unless defined?(Gem)
4
- require 'bundler/setup'
5
- Bundler.require(:default, ENV["RACK_ENV"].to_sym)
6
-
7
- Dir["./lib/**/*.rb"].each { |f| require f }
8
-