Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix/compile error in environ-auth #43

Merged
merged 3 commits into from

2 participants

@cbilson

Just a small change to address something that was making it hard to try something else.

cbilson added some commits
@cbilson cbilson turn on :aot and warn-on-reflection for :dev
Sorry about the reflection warning noise, but I was having trouble
getting this to compile and aot and warn-on-reflection helped me find
the problem.

Feel free to nuke this commit if you don't like the noise.
5b1ed7c
@cbilson cbilson fix compile error in environ-auth
This function doesn't seem to be used here, but maybe is in other
projects?

If not, maybe it should be deleted? I don't really know what it's for, I
just ran into the compile error.

It came from pull request #42, so I guess it's important.
92b9a2b
@cbilson cbilson add nrepl port to gitignore 972159b
@Raynes Raynes merged commit ed0ddca into Raynes:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 6, 2013
  1. @cbilson

    turn on :aot and warn-on-reflection for :dev

    cbilson authored
    Sorry about the reflection warning noise, but I was having trouble
    getting this to compile and aot and warn-on-reflection helped me find
    the problem.
    
    Feel free to nuke this commit if you don't like the noise.
  2. @cbilson

    fix compile error in environ-auth

    cbilson authored
    This function doesn't seem to be used here, but maybe is in other
    projects?
    
    If not, maybe it should be deleted? I don't really know what it's for, I
    just ran into the compile error.
    
    It came from pull request #42, so I guess it's important.
  3. @cbilson

    add nrepl port to gitignore

    cbilson authored
This page is out of date. Refresh to see the latest.
Showing with 8 additions and 2 deletions.
  1. +2 −1  .gitignore
  2. +5 −1 project.clj
  3. +1 −0  src/tentacles/core.clj
View
3  .gitignore
@@ -6,4 +6,5 @@ pom.xml
testinfo.clj
.lein*
target/
-docs/
+docs/
+.nrepl-port
View
6 project.clj
@@ -8,4 +8,8 @@
[cheshire "4.0.0"]
[com.cemerick/url "0.0.6"]
[org.clojure/data.codec "0.1.0"]
- [environ "0.4.0"]])
+ [environ "0.4.0"]]
+ :profiles
+ {:dev
+ {:global-vars {*warn-on-reflection* true}
+ :aot :all}})
View
1  src/tentacles/core.clj
@@ -136,6 +136,7 @@
(defn environ-auth
"Lookup :gh-username and :gh-password in environ (~/.lein/profiles.clj or .lein-env) and return a string auth.
Usage: (users/me {:auth (environ-auth)})"
+ [env]
(str (:gh-username env ) ":" (:gh-password env)))
(defn rate-limit
Something went wrong with that request. Please try again.