I hereby claim:
- I am jjenkins on github.
- I am jjenkins (https://keybase.io/jjenkins) on keybase.
- I have a public key ASCX08ldnQVk3WTYCRkjKtZEFFRP9Q5PiZnSQmjhd2KTGAo
To claim this, I am signing this object:
I hereby claim:
- I am jjenkins on github.
- I am jjenkins (https://keybase.io/jjenkins) on keybase.
- I have a public key whose fingerprint is E6CB 9037 867E 343B 21A8 5BDA 7BC8 AE76 69CC EE76
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| language: objective-c | |
| before_script: | |
| - ./scripts/travis/add-key.sh | |
| after_script: | |
| - ./scripts/travis/remove-key.sh | |
| after_success: | |
| - ./scripts/travis/testflight.sh | |
| env: | |
| global: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "encoding/xml" | |
| "fmt" | |
| ) | |
| type Rule struct { | |
| RuleID string `xml:"ruleID,attr"` | |
| SessionBasedRule string `xml:"sessionBasedRule,attr"` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| query = <<-SQL | |
| SELECT d.public_id as drug_id, l.public_id as log_id, l.created_at, l.created_at_offset | |
| FROM drugs d, user_drug_logs l | |
| WHERE l.drug_id = d.id | |
| AND l.created_at > '#{Time.at(params[:last_sync_time].to_i)}' | |
| SQL | |
| results = Drug.connection.execute(query) |