roqua-rom-api 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 70e0934abd61776ee22cd8d741a1072392ee68ca
4
- data.tar.gz: 88a6cbecbcf6ad2f5c8916bbed02ea000df1dd17
3
+ metadata.gz: 91d667b8631aa54589b366efad47bfeddef143d7
4
+ data.tar.gz: a795fc9d8ea7c2184b4ab58f378618c736457f76
5
5
  SHA512:
6
- metadata.gz: dd62f40fbdf81b934b833d7a76f5a825f4a30aad33a6887c755bbfe632c63c655c158c3cdcc6acf3112b76f24e2f6dbb5305bf1c9bcb9f85750de59f8b2d92a8
7
- data.tar.gz: b7adbde6d2082badf6f5c7dac47ad148c3953cbdc5713f3d4f1e6a88d1834ccb548bfe0becdd8fe71bd373983d327f394b81ef239f7b8632ae763254c431cc69
6
+ metadata.gz: cff1500644d1f5c89885b46055bd0283633d306cae2cf138904a0a5b1f23aa84c8c8dc40c89f42d0adee87a404dd43285af53f744f91890acacb12f00d424f7c
7
+ data.tar.gz: dd08a2bb94242e2945f6c1417e4c29568bdbcd1b8622abcbb57d2f4b5d10f3295641098cf3eff41da0c02489b56fa2aa2abc227c8336cc832e9e8054a29af5e7
data/ChangeLog.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 0.0.8 / 2014-03-13
2
+
3
+ * rename env vars for consistency with roqua-core-api gem
4
+
1
5
  ### 0.0.7 / 2014-03-13
2
6
 
3
7
  * relax active-interaction version requirement
data/Gemfile CHANGED
@@ -2,7 +2,7 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
  gem 'httparty', '= 0.12.0'
5
- gem 'active_interaction', '= 1.0.0'
5
+ gem 'active_interaction', '= 1.1.0'
6
6
 
7
7
  group :test do
8
8
  gem 'guard-rspec', '~> 4.2'
data/README.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  Make sure the following environment variables are defined:
4
4
 
5
- ENV['ROQUA_ROM_HOST'] # uri of the RoQua application whose API you are targeting
6
- ENV['ROQUA_ROM_KEY'] # username used for HTTP basic authentication on the RoQua API
7
- ENV['ROQUA_ROM_SECRET'] # password used for HTTP basic authentication on the RoQua API
5
+ ENV['ROM_HOST'] # uri of the RoQua application whose API you are targeting
6
+ ENV['ROM_KEY'] # username used for HTTP basic authentication on the RoQua API
7
+ ENV['ROM_SECRET'] # password used for HTTP basic authentication on the RoQua API
8
8
 
9
9
  An HTTP basic auth username password combination can be generated in the RoQua admin interface integration tab
10
10
 
data/Rakefile CHANGED
@@ -22,6 +22,14 @@ require 'rake'
22
22
  task test: :spec
23
23
  task default: :spec
24
24
 
25
+ task :release do
26
+ # run bundle in parent dir to update Gemfile.lock
27
+ `cd ../ && bundle`
28
+ `git add ../Gemfile.lock && git commit -m 'update roqua-core-api in Gemfile.lock'`
29
+ # fetch tags first to prevent errors when releasing gem
30
+ `git fetch --tags`
31
+ end
32
+
25
33
  require "bundler/gem_tasks"
26
34
 
27
35
  require 'yard'
@@ -6,9 +6,9 @@ module Roqua
6
6
  attr_reader :username
7
7
  attr_reader :password
8
8
 
9
- def initialize(rom_host: ENV['ROM_HOST'],
10
- username: ENV['ROM_KEY'],
11
- password: ENV['ROM_SECRET'])
9
+ def initialize(rom_host: ENV['ROM_SITE'],
10
+ username: ENV['ROM_BASICAUTH_ID'],
11
+ password: ENV['ROM_BASICAUTH_SECRET'])
12
12
  @rom_host = rom_host
13
13
  @username = username
14
14
  @password = password
@@ -1,5 +1,5 @@
1
1
  module Roqua
2
2
  module RomApi
3
- VERSION = '0.0.7'
3
+ VERSION = '0.0.8'
4
4
  end
5
5
  end
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
17
17
  gem.require_paths = ['lib']
18
18
 
19
19
  gem.add_dependency 'httparty', '~> 0.12.0'
20
- gem.add_dependency 'active_interaction', '~> 1.0'
20
+ gem.add_dependency 'active_interaction', '~> 1.1'
21
21
 
22
22
  gem.add_development_dependency 'bundler', '~> 1.0'
23
23
  gem.add_development_dependency 'rake', '~> 10.1'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roqua-rom-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Esposito
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.0'
33
+ version: '1.1'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.0'
40
+ version: '1.1'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement