alman 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/VERSION +1 -1
- data/alman.gemspec +1 -1
- data/lib/alman.rb +2 -2
- data/lib/alman/apibits/requester.rb +1 -1
- data/test/alman/requester_test.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2db54a836c73fec904fa4ea2967a9e3087ff1521
|
4
|
+
data.tar.gz: 58bef82c281f11418474386db1c9c89a4138f60a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c49e06a9f1213551c6dd8e9dbc7973892f66eb9e816030dbc8c91734492f41487cb738d50d9df88fdcbee57f0d5e051675c33b4f8363fe62f3d1da5c80fec277
|
7
|
+
data.tar.gz: dfbd277f8f691f4c9c55c75da4353e540522e88a37875bead7f560c47385e5f9dd855d4b69f337ef727abdcf0d77660415be7f829826246a2c026f8fc03875bb
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Alman Ruby Bindings
|
1
|
+
# Alman Ruby Bindings ![Travis CI Status](https://travis-ci.org/almanapi/alman-ruby.svg?branch=master) [![Code Climate](https://codeclimate.com/github/almanapi/alman-ruby/badges/gpa.svg)](https://codeclimate.com/github/almanapi/alman-ruby)
|
2
2
|
|
3
3
|
[![API Library via Apibits.com](http://apibits.com/assets/images/apibits-badge.png)](http://apibits.com)
|
4
4
|
|
@@ -16,12 +16,12 @@ If you want to build & install the gem from source:
|
|
16
16
|
|
17
17
|
```bash
|
18
18
|
gem build alman.gemspec
|
19
|
-
gem install alman-0.0.
|
19
|
+
gem install alman-0.0.2.gem
|
20
20
|
```
|
21
21
|
|
22
22
|
## Documentation
|
23
23
|
|
24
|
-
Full documentation is available at [http://almanapi.com
|
24
|
+
Full documentation is available at [http://docs.almanapi.com](http://docs.almanapi.com).
|
25
25
|
|
26
26
|
|
27
27
|
## Requirements
|
@@ -52,7 +52,7 @@ gem 'alman'
|
|
52
52
|
|
53
53
|
## Using the library
|
54
54
|
|
55
|
-
The following section covers some general info about this API library. If you are looking for documentation covering the entire API, check here: [http://almanapi.com
|
55
|
+
The following section covers some general info about this API library. If you are looking for documentation covering the entire API, check here: [http://docs.almanapi.com](http://docs.almanapi.com).
|
56
56
|
|
57
57
|
### Params and Headers
|
58
58
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|
data/alman.gemspec
CHANGED
@@ -6,7 +6,7 @@ spec = Gem::Specification.new do |s|
|
|
6
6
|
s.name = 'alman'
|
7
7
|
s.summary = 'Ruby bindings for Alman API'
|
8
8
|
s.description = 'Alman is a calendar scheduling API.'
|
9
|
-
s.homepage = 'http://almanapi.com
|
9
|
+
s.homepage = 'http://docs.almanapi.com'
|
10
10
|
s.authors = ['Apibits.com']
|
11
11
|
s.email = ['libraries@apibits.com']
|
12
12
|
s.version = Alman::VERSION
|
data/lib/alman.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# Alman Ruby bindings
|
2
|
-
# API Docs are located at http://almanapi.com
|
2
|
+
# API Docs are located at http://docs.almanapi.com
|
3
3
|
require 'cgi'
|
4
4
|
require 'set'
|
5
5
|
require 'openssl'
|
@@ -54,7 +54,7 @@ module Alman
|
|
54
54
|
@api_staging = ""
|
55
55
|
@api_version = "v0"
|
56
56
|
@support_email = "support@almanapi.com"
|
57
|
-
@docs_url = "http://almanapi.com
|
57
|
+
@docs_url = "http://docs.almanapi.com"
|
58
58
|
|
59
59
|
class << self
|
60
60
|
attr_accessor :api_base, :api_version
|
@@ -35,7 +35,7 @@ module Alman
|
|
35
35
|
end
|
36
36
|
|
37
37
|
should 'not convert params to a query string if a file is in them' do
|
38
|
-
expected = { file
|
38
|
+
expected = { :file => File.new(__FILE__) }
|
39
39
|
url, params = Requester.prepare_params(@method, @url, expected)
|
40
40
|
assert_equal(expected, params)
|
41
41
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Apibits.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -170,7 +170,7 @@ files:
|
|
170
170
|
- test/alman/util_test.rb
|
171
171
|
- test/test_data.rb
|
172
172
|
- test/test_helper.rb
|
173
|
-
homepage: http://almanapi.com
|
173
|
+
homepage: http://docs.almanapi.com
|
174
174
|
licenses:
|
175
175
|
- MIT
|
176
176
|
metadata: {}
|