foreman_api 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/foreman_api.gemspec CHANGED
@@ -10,6 +10,7 @@ Gem::Specification.new do |gem|
10
10
 
11
11
  gem.files = `git ls-files`.split($\)
12
12
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
13
+ gem.files.reject! { |fn| fn == 'rubygem-foreman_api.spec' }
13
14
  gem.name = "foreman_api"
14
15
  gem.require_paths = ["lib"]
15
16
  gem.version = ForemanApi::VERSION
@@ -1,3 +1,3 @@
1
1
  module ForemanApi
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_api
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Martin Ba\xC4\x8Dovsk\xC3\xBD"
@@ -87,7 +87,6 @@ files:
87
87
  - lib/foreman_api/resources/user.rb
88
88
  - lib/foreman_api/rest_client_oauth.rb
89
89
  - lib/foreman_api/version.rb
90
- - rubygem-foreman_api.spec
91
90
  homepage: http://github.com/mbacovsky/foreman_api
92
91
  licenses: []
93
92
 
@@ -1,102 +0,0 @@
1
- %global gem_name foreman_api
2
-
3
- %if 0%{?rhel} == 6 || 0%{?fedora} < 17
4
- %define rubyabi 1.8
5
- %else
6
- %define rubyabi 1.9.1
7
- %endif
8
-
9
- %if 0%{?rhel} == 6
10
- %global gem_dir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
11
- %global gem_docdir %{gem_dir}/doc/%{gem_name}-%{version}
12
- %global gem_cache %{gem_dir}/cache/%{gem_name}-%{version}.gem
13
- %global gem_spec %{gem_dir}/specifications/%{gem_name}-%{version}.gemspec
14
- %global gem_instdir %{gem_dir}/gems/%{gem_name}-%{version}
15
- %endif
16
-
17
- Summary: Ruby bindings for Forman's rest API
18
- Name: rubygem-%{gem_name}
19
- Version: 0.0.3
20
- Release: 1%{?dist}
21
- Group: Development/Languages
22
- License: MIT
23
- URL: http://github.com/theforeman/foreman_api
24
- Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
25
- Requires: ruby(abi) = %{rubyabi}
26
- Requires: ruby(rubygems)
27
- Requires: rubygem(json)
28
- Requires: rubygem(rest-client) >= 1.6.1
29
- Requires: rubygem(oauth)
30
- BuildRequires: ruby(abi) = %{rubyabi}
31
- BuildRequires: ruby(rubygems)
32
-
33
- %if 0%{?fedora}
34
- BuildRequires: rubygems-devel
35
- %endif
36
-
37
- BuildArch: noarch
38
- Provides: rubygem(%{gem_name}) = %{version}
39
-
40
- %description
41
- Helps you to use Foreman's API calls from your app.
42
-
43
- %package doc
44
- BuildArch: noarch
45
- Requires: %{name} = %{version}-%{release}
46
- Summary: Documentation for rubygem-%{gem_name}
47
-
48
- %description doc
49
- This package contains documentation for rubygem-%{gem_name}.
50
-
51
- %prep
52
- gem unpack %{SOURCE0}
53
- %setup -q -D -T -n %{gem_name}-%{version}
54
-
55
- gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
56
-
57
-
58
- %build
59
- mkdir -p .%{gem_dir}
60
- gem install --local --install-dir .%{gem_dir} \
61
- --force --rdoc --no-ri %{SOURCE0}
62
-
63
- %install
64
- mkdir -p %{buildroot}%{gem_dir}
65
- cp -a .%{gem_dir}/* \
66
- %{buildroot}%{gem_dir}/
67
- mv %{buildroot}%{gem_instdir}/{MIT-LICENSE,README.rdoc} ./
68
- rm -f %{buildroot}%{gem_instdir}/%{gem_name}.gemspec
69
-
70
- %files
71
- %dir %{gem_instdir}
72
- %{gem_instdir}/lib
73
- %{gem_cache}
74
- %{gem_spec}
75
-
76
- %doc MIT-LICENSE README.rdoc
77
-
78
- %files doc
79
- %{gem_docdir}
80
- %{gem_instdir}/Gemfile
81
- %{gem_instdir}/Rakefile
82
-
83
-
84
- %changelog
85
- * Tue Aug 14 2012 Martin Bacovsky <mbacovsk@redhat.com> 0.0.3-1
86
- - Updated to 0.0.3
87
- - added domains and config_templates
88
-
89
- * Tue Aug 14 2012 Martin Bačovský <mbacovsk@redhat.com> 0.0.2-1
90
- - Updated gem to 0.0.2 (mbacovsk@redhat.com)
91
-
92
- * Mon Aug 13 2012 Miroslav Suchý <msuchy@redhat.com> 0.0.1-4
93
- - for rubyabi do s/1.9/1.9.1/ (msuchy@redhat.com)
94
-
95
- * Mon Aug 13 2012 Martin Bačovský <mbacovsk@redhat.com> 0.0.1-3
96
- - Fixed failing spec removal (mbacovsk@redhat.com)
97
-
98
- * Mon Aug 13 2012 Martin Bačovský <mbacovsk@redhat.com> 0.0.1-2
99
- - new package built with tito
100
-
101
- * Wed Aug 08 2012 Martin Bacovsky <mbacovsk@redhat.com> - 0.0.1-1
102
- - Initial package