policymap_wrap 0.7.2 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4241a7309e07251b272b7feb04aa8abfae58e86b
4
+ data.tar.gz: 6ba8fa4e33c85e7ee4da876c541c102743d2954b
5
+ SHA512:
6
+ metadata.gz: 44d445671782ee826e6a3ec05f0f1d902f044541493a149cad6150e216d2afd6544a519bca37e1b6955ef2c786a4ef7bdba21711efb6a7c2a73d64dffd544c88
7
+ data.tar.gz: 1388e55d59d4ecab6439b3009eeb5e52720fb0a48661d3ed5f1bf785b590f8f5058af8ae60197f4c02d7b54d56da0c5c8798cb24795280c2d20088295e072be8
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ README.rdoc
2
+ lib/**/*.rb
3
+ bin/*
4
+ features/**/*.feature
5
+ LICENSE
data/.gitignore ADDED
@@ -0,0 +1,6 @@
1
+ .DS_Store
2
+ *.log
3
+ pkg/*
4
+ coverage/*
5
+ doc/*
6
+ benchmarks/*
data/Rakefile ADDED
@@ -0,0 +1,4 @@
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
3
+
4
+ require 'rake'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.2
1
+ 1.0.0
@@ -5,9 +5,9 @@ module PolicyMap
5
5
  class << self
6
6
 
7
7
  def endpoint_url
8
- [REALM, 's/'].join('/')
8
+ [REALM, 'd/'].join('/')
9
9
  end
10
-
10
+
11
11
  end
12
12
 
13
13
  end
@@ -0,0 +1,21 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+
4
+ Gem::Specification.new do |s|
5
+ s.name = %q{policymap_wrap}
6
+ s.summary = %q{Ruby wrapper around the PolicyMap API v2}
7
+ s.description = %q{Ruby wrapper around the PolicyMap API v2}
8
+ s.homepage = %q{http://github.com/geminisbs/policymap_wrap}
9
+ s.version = File.read(File.join(File.dirname(__FILE__), 'VERSION'))
10
+ s.authors = ["Mauricio Gomes"]
11
+ s.email = "mgomes@geminisbs.com"
12
+
13
+ s.add_dependency "yajl-ruby", "~> 1.1.0"
14
+ s.add_dependency "rest-client", "~> 1.6"
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
+ s.require_paths = ["lib"]
20
+ end
21
+
@@ -0,0 +1,7 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe "PolicymapWrap" do
4
+ it "fails" do
5
+ fail "hey buddy, you should probably rename this file and start specing for real"
6
+ end
7
+ end
data/spec/spec.opts ADDED
@@ -0,0 +1,4 @@
1
+ --colour
2
+ --format nested
3
+ --loadby mtime
4
+ --backtrace
@@ -0,0 +1,9 @@
1
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
2
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
3
+ require 'policymap_wrap'
4
+ require 'spec'
5
+ require 'spec/autorun'
6
+
7
+ Spec::Runner.configure do |config|
8
+
9
+ end
metadata CHANGED
@@ -1,74 +1,54 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: policymap_wrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
5
- prerelease:
4
+ version: 1.0.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Mauricio Gomes
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-11-15 00:00:00.000000000 Z
11
+ date: 2013-07-03 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: yajl-ruby
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ~>
20
18
  - !ruby/object:Gem::Version
21
- version: 0.7.7
19
+ version: 1.1.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ~>
28
25
  - !ruby/object:Gem::Version
29
- version: 0.7.7
26
+ version: 1.1.0
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rest-client
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
37
- version: 1.6.7
33
+ version: '1.6'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
45
- version: 1.6.7
46
- - !ruby/object:Gem::Dependency
47
- name: rspec
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: 1.2.9
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: 1.2.9
62
- description: Ruby wrapper around the PolicyMap API. Your API may vary.
63
- email: mauricio@geminisbs.com
40
+ version: '1.6'
41
+ description: Ruby wrapper around the PolicyMap API v2
42
+ email: mgomes@geminisbs.com
64
43
  executables: []
65
44
  extensions: []
66
- extra_rdoc_files:
67
- - LICENSE
68
- - README.rdoc
45
+ extra_rdoc_files: []
69
46
  files:
47
+ - .document
48
+ - .gitignore
70
49
  - LICENSE
71
50
  - README.rdoc
51
+ - Rakefile
72
52
  - VERSION
73
53
  - lib/policymap.rb
74
54
  - lib/policymap_wrap.rb
@@ -76,28 +56,34 @@ files:
76
56
  - lib/policymap_wrap/connection.rb
77
57
  - lib/policymap_wrap/endpoint.rb
78
58
  - lib/policymap_wrap/hash_utils.rb
59
+ - policymap_wrap.gemspec
60
+ - spec/policymap_wrap_spec.rb
61
+ - spec/spec.opts
62
+ - spec/spec_helper.rb
79
63
  homepage: http://github.com/geminisbs/policymap_wrap
80
64
  licenses: []
65
+ metadata: {}
81
66
  post_install_message:
82
67
  rdoc_options: []
83
68
  require_paths:
84
69
  - lib
85
70
  required_ruby_version: !ruby/object:Gem::Requirement
86
- none: false
87
71
  requirements:
88
- - - ! '>='
72
+ - - '>='
89
73
  - !ruby/object:Gem::Version
90
74
  version: '0'
91
75
  required_rubygems_version: !ruby/object:Gem::Requirement
92
- none: false
93
76
  requirements:
94
- - - ! '>='
77
+ - - '>='
95
78
  - !ruby/object:Gem::Version
96
79
  version: '0'
97
80
  requirements: []
98
81
  rubyforge_project:
99
- rubygems_version: 1.8.24
82
+ rubygems_version: 2.0.3
100
83
  signing_key:
101
- specification_version: 3
102
- summary: Ruby wrapper around the PolicyMap API
103
- test_files: []
84
+ specification_version: 4
85
+ summary: Ruby wrapper around the PolicyMap API v2
86
+ test_files:
87
+ - spec/policymap_wrap_spec.rb
88
+ - spec/spec.opts
89
+ - spec/spec_helper.rb