Class: Slather::Project
- Inherits:
-
Xcodeproj::Project
- Object
- Xcodeproj::Project
- Slather::Project
- Defined in:
- lib/slather/project.rb
Instance Method Summary collapse
Instance Method Details
#post_to_coveralls ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'lib/slather/project.rb', line 40 def post_to_coveralls f = File.open('coveralls_json_file', 'w+') f.write(coveralls_coverage_data) puts "file data!!!!!" f.rewind puts f.read `curl -s --form json_file=@#{f.path} https://coveralls.io/api/v1/jobs` FileUtils.rm(f) end |