Skip to content

Commit 0e1f448

Browse files
committed
Merge pull request #22 from loudnate/dev
Version 0.3.1
2 parents c6c1eb3 + 4e5caa8 commit 0e1f448

File tree

5 files changed

+77
-7
lines changed

5 files changed

+77
-7
lines changed

CODE_OF_CONDUCT.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# Code of Conduct
2+
3+
In the interest of fostering an open and welcoming environment, we as
4+
contributors and maintainers pledge to making participation in our project and
5+
our community a harassment-free experience for everyone, regardless of age, body
6+
size, disability, ethnicity, gender identity and expression, level of experience,
7+
nationality, personal appearance, race, religion, or sexual identity and
8+
orientation.
9+
10+
## Our Standards
11+
12+
Examples of behavior that contributes to creating a positive environment
13+
include:
14+
15+
* Using welcoming and inclusive language
16+
* Being respectful of differing viewpoints and experiences
17+
* Gracefully accepting constructive criticism
18+
* Focusing on what is best for the community
19+
* Showing empathy towards other community members
20+
21+
Examples of unacceptable behavior by participants include:
22+
23+
* The use of sexualized language or imagery and unwelcome sexual attention or
24+
advances
25+
* Trolling, insulting/derogatory comments, and personal or political attacks
26+
* Public or private harassment
27+
* Publishing others' private information, such as a physical or electronic
28+
address, without explicit permission
29+
* Other conduct which could reasonably be considered inappropriate in a
30+
professional setting
31+
32+
## Our Responsibilities
33+
34+
Project maintainers are responsible for clarifying the standards of acceptable
35+
behavior and are expected to take appropriate and fair corrective action in
36+
response to any instances of unacceptable behavior.
37+
38+
Project maintainers have the right and responsibility to remove, edit, or
39+
reject comments, commits, code, wiki edits, issues, and other contributions
40+
that are not aligned to this Code of Conduct, or to ban temporarily or
41+
permanently any contributor for other behaviors that they deem inappropriate,
42+
threatening, offensive, or harmful.
43+
44+
## Scope
45+
46+
This Code of Conduct applies both within project spaces and in public spaces
47+
when an individual is representing the project or its community. Examples of
48+
representing a project or community include using an official project e-mail
49+
address, posting via an official social media account, or acting as an appointed
50+
representative at an online or offline event. Representation of a project may be
51+
further defined and clarified by project maintainers.
52+
53+
## Enforcement
54+
55+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
56+
reported by contacting the maintaner [via email](mailto:[email protected]). All
57+
complaints will be reviewed and investigated and will result in a response that
58+
is deemed necessary and appropriate to the circumstances. The project team is
59+
obligated to maintain confidentiality with regard to the reporter of an incident.
60+
Further details of specific enforcement policies may be posted separately.
61+
62+
Project maintainers who do not follow or enforce the Code of Conduct in good
63+
faith may face temporary or permanent repercussions as determined by other
64+
members of the project's leadership.
65+
66+
## Attribution
67+
68+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
69+
available at [http://contributor-covenant.org/version/1/4][version]
70+
71+
[homepage]: http://contributor-covenant.org
72+
[version]: http://contributor-covenant.org/version/1/4/

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,9 @@ If you plan to run your app alongside the G5 Mobile application, make sure to se
4646

4747
[glucose-badge](https://github.com/dennisgove/glucose-badge) – Display the latest glucose values as an app icon badge
4848

49+
## Code of Conduct
4950

50-
51-
## Author
52-
53-
Nathan Racklyeft, [email protected]
51+
Please note that this project is released with a [Contributor Code of Conduct](https://github.com/loudnate/LoopKit/blob/master/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
5452

5553
## License
5654

xDripG5.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "xDripG5"
3-
s.version = "0.3.0"
3+
s.version = "0.3.1"
44
s.summary = "An interface for communicating with the G5 glucose transmitter over Bluetooth."
55

66
s.description = <<-DESC

xDripG5/BluetoothManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ class BluetoothManager: NSObject, CBCentralManagerDelegate, CBPeripheralDelegate
364364
// MARK: - CBPeripheralDelegate
365365

366366
func peripheral(peripheral: CBPeripheral, didDiscoverServices error: NSError?) {
367-
for service in peripheral.services ?? [] {
367+
for service in peripheral.services ?? [] where service.UUID.UUIDString == TransmitterServiceUUID.CGMService.rawValue {
368368
var characteristicsToDiscover = [CBUUID]()
369369
let knownCharacteristics = service.characteristics?.flatMap({ $0.UUID }) ?? []
370370

xDripG5/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>0.3.0</string>
18+
<string>0.3.1</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

0 commit comments

Comments
 (0)