gtk2_expander_settings 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/Gemfile +0 -1
  2. data/Gemfile.lock +10 -23
  3. data/Rakefile +14 -0
  4. data/VERSION +1 -1
  5. data/gtk2_expander_settings.gemspec +11 -11
  6. metadata +97 -73
data/Gemfile CHANGED
@@ -3,7 +3,6 @@ source "http://rubygems.org"
3
3
  # Example:
4
4
  # gem "activesupport", ">= 2.3.5"
5
5
 
6
- gem "gtk2"
7
6
  gem "knjrbfw"
8
7
 
9
8
  # Add dependencies to develop your gem here.
@@ -1,43 +1,28 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- atk (1.1.5)
5
- glib2 (>= 1.1.5)
6
- cairo (1.12.2)
7
- pkg-config
8
- datet (0.0.19)
4
+ datet (0.0.22)
9
5
  diff-lcs (1.1.3)
10
- gdk_pixbuf2 (1.1.5)
11
- glib2 (>= 1.1.5)
12
6
  git (1.2.5)
13
- glib2 (1.1.5)
14
- pkg-config
15
- gtk2 (1.1.5)
16
- atk (>= 1.1.5)
17
- gdk_pixbuf2 (>= 1.1.5)
18
- pango (>= 1.1.5)
19
- http2 (0.0.10)
7
+ http2 (0.0.13)
20
8
  jeweler (1.8.4)
21
9
  bundler (~> 1.0)
22
10
  git (>= 1.2.5)
23
11
  rake
24
12
  rdoc
25
- json (1.7.5)
26
- knjrbfw (0.0.91)
13
+ json (1.7.7)
14
+ knjrbfw (0.0.103)
27
15
  datet
28
16
  http2
29
17
  php4r
18
+ ruby_process
30
19
  tsafe
31
20
  wref
32
- pango (1.1.5)
33
- cairo (>= 1.10.0)
34
- glib2 (>= 1.1.5)
35
21
  php4r (0.0.3)
36
22
  datet
37
23
  http2
38
- pkg-config (1.1.4)
39
- rake (0.9.2.2)
40
- rdoc (3.12)
24
+ rake (10.0.3)
25
+ rdoc (3.12.2)
41
26
  json (~> 1.4)
42
27
  rspec (2.8.0)
43
28
  rspec-core (~> 2.8.0)
@@ -47,6 +32,9 @@ GEM
47
32
  rspec-expectations (2.8.0)
48
33
  diff-lcs (~> 1.1.2)
49
34
  rspec-mocks (2.8.0)
35
+ ruby_process (0.0.8)
36
+ tsafe
37
+ wref
50
38
  tsafe (0.0.11)
51
39
  wref (0.0.5)
52
40
 
@@ -55,7 +43,6 @@ PLATFORMS
55
43
 
56
44
  DEPENDENCIES
57
45
  bundler (>= 1.0.0)
58
- gtk2
59
46
  jeweler (~> 1.8.4)
60
47
  knjrbfw
61
48
  rdoc (~> 3.12)
data/Rakefile CHANGED
@@ -22,6 +22,20 @@ Jeweler::Tasks.new do |gem|
22
22
  gem.email = "k@spernj.org"
23
23
  gem.authors = ["Kasper Johansen"]
24
24
  # dependencies defined in Gemfile
25
+
26
+ #Conditional dependencies (make them work with installed dist packages and dont comile).
27
+ deps = [:gtk2]
28
+
29
+ deps.each do |dep|
30
+ dep = {:require => dep, :gem => dep} if !dep.is_a?(Hash)
31
+
32
+ begin
33
+ require dep[:require].to_s
34
+ puts "Skipping '#{dep[:gem]}' - already installed."
35
+ rescue Gem::LoadError, LoadError
36
+ gem.add_dependency dep[:gem]
37
+ end
38
+ end
25
39
  end
26
40
  Jeweler::RubygemsDotOrgTasks.new
27
41
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{gtk2_expander_settings}
8
- s.version = "0.0.1"
7
+ s.name = "gtk2_expander_settings"
8
+ s.version = "0.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kasper Johansen"]
12
- s.date = %q{2012-08-31}
13
- s.description = %q{A library for remembering expander-settings using a database for the gtk2-extension in Ruby.}
14
- s.email = %q{k@spernj.org}
12
+ s.date = "2013-03-08"
13
+ s.description = "A library for remembering expander-settings using a database for the gtk2-extension in Ruby."
14
+ s.email = "k@spernj.org"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
17
17
  "README.rdoc"
@@ -30,37 +30,37 @@ Gem::Specification.new do |s|
30
30
  "spec/gtk2_expander_settings_spec.rb",
31
31
  "spec/spec_helper.rb"
32
32
  ]
33
- s.homepage = %q{http://github.com/kaspernj/gtk2_expander_settings}
33
+ s.homepage = "http://github.com/kaspernj/gtk2_expander_settings"
34
34
  s.licenses = ["MIT"]
35
35
  s.require_paths = ["lib"]
36
- s.rubygems_version = %q{1.6.2}
37
- s.summary = %q{A library for remembering expander-settings using a database for the gtk2-extension in Ruby.}
36
+ s.rubygems_version = "1.8.25"
37
+ s.summary = "A library for remembering expander-settings using a database for the gtk2-extension in Ruby."
38
38
 
39
39
  if s.respond_to? :specification_version then
40
40
  s.specification_version = 3
41
41
 
42
42
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
43
- s.add_runtime_dependency(%q<gtk2>, [">= 0"])
44
43
  s.add_runtime_dependency(%q<knjrbfw>, [">= 0"])
45
44
  s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
46
45
  s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
47
46
  s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
48
47
  s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
48
+ s.add_runtime_dependency(%q<gtk2>, [">= 0"])
49
49
  else
50
- s.add_dependency(%q<gtk2>, [">= 0"])
51
50
  s.add_dependency(%q<knjrbfw>, [">= 0"])
52
51
  s.add_dependency(%q<rspec>, ["~> 2.8.0"])
53
52
  s.add_dependency(%q<rdoc>, ["~> 3.12"])
54
53
  s.add_dependency(%q<bundler>, [">= 1.0.0"])
55
54
  s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
55
+ s.add_dependency(%q<gtk2>, [">= 0"])
56
56
  end
57
57
  else
58
- s.add_dependency(%q<gtk2>, [">= 0"])
59
58
  s.add_dependency(%q<knjrbfw>, [">= 0"])
60
59
  s.add_dependency(%q<rspec>, ["~> 2.8.0"])
61
60
  s.add_dependency(%q<rdoc>, ["~> 3.12"])
62
61
  s.add_dependency(%q<bundler>, [">= 1.0.0"])
63
62
  s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
63
+ s.add_dependency(%q<gtk2>, [">= 0"])
64
64
  end
65
65
  end
66
66
 
metadata CHANGED
@@ -1,94 +1,121 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: gtk2_expander_settings
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
4
5
  prerelease:
5
- version: 0.0.1
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Kasper Johansen
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2012-08-31 00:00:00 +02:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
17
- name: gtk2
18
- requirement: &id001 !ruby/object:Gem::Requirement
19
- none: false
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: "0"
24
- type: :runtime
25
- prerelease: false
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
12
+ date: 2013-03-08 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
28
15
  name: knjrbfw
29
- requirement: &id002 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
30
17
  none: false
31
- requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
35
22
  type: :runtime
36
23
  prerelease: false
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
39
31
  name: rspec
40
- requirement: &id003 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
41
33
  none: false
42
- requirements:
34
+ requirements:
43
35
  - - ~>
44
- - !ruby/object:Gem::Version
36
+ - !ruby/object:Gem::Version
45
37
  version: 2.8.0
46
38
  type: :development
47
39
  prerelease: false
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 2.8.0
46
+ - !ruby/object:Gem::Dependency
50
47
  name: rdoc
51
- requirement: &id004 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
52
49
  none: false
53
- requirements:
50
+ requirements:
54
51
  - - ~>
55
- - !ruby/object:Gem::Version
56
- version: "3.12"
52
+ - !ruby/object:Gem::Version
53
+ version: '3.12'
57
54
  type: :development
58
55
  prerelease: false
59
- version_requirements: *id004
60
- - !ruby/object:Gem::Dependency
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '3.12'
62
+ - !ruby/object:Gem::Dependency
61
63
  name: bundler
62
- requirement: &id005 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
63
65
  none: false
64
- requirements:
65
- - - ">="
66
- - !ruby/object:Gem::Version
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
67
69
  version: 1.0.0
68
70
  type: :development
69
71
  prerelease: false
70
- version_requirements: *id005
71
- - !ruby/object:Gem::Dependency
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: 1.0.0
78
+ - !ruby/object:Gem::Dependency
72
79
  name: jeweler
73
- requirement: &id006 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
74
81
  none: false
75
- requirements:
82
+ requirements:
76
83
  - - ~>
77
- - !ruby/object:Gem::Version
84
+ - !ruby/object:Gem::Version
78
85
  version: 1.8.4
79
86
  type: :development
80
87
  prerelease: false
81
- version_requirements: *id006
82
- description: A library for remembering expander-settings using a database for the gtk2-extension in Ruby.
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 1.8.4
94
+ - !ruby/object:Gem::Dependency
95
+ name: gtk2
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :runtime
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ description: A library for remembering expander-settings using a database for the
111
+ gtk2-extension in Ruby.
83
112
  email: k@spernj.org
84
113
  executables: []
85
-
86
114
  extensions: []
87
-
88
- extra_rdoc_files:
115
+ extra_rdoc_files:
89
116
  - LICENSE.txt
90
117
  - README.rdoc
91
- files:
118
+ files:
92
119
  - .document
93
120
  - .rspec
94
121
  - Gemfile
@@ -101,36 +128,33 @@ files:
101
128
  - lib/gtk2_expander_settings.rb
102
129
  - spec/gtk2_expander_settings_spec.rb
103
130
  - spec/spec_helper.rb
104
- has_rdoc: true
105
131
  homepage: http://github.com/kaspernj/gtk2_expander_settings
106
- licenses:
132
+ licenses:
107
133
  - MIT
108
134
  post_install_message:
109
135
  rdoc_options: []
110
-
111
- require_paths:
136
+ require_paths:
112
137
  - lib
113
- required_ruby_version: !ruby/object:Gem::Requirement
138
+ required_ruby_version: !ruby/object:Gem::Requirement
114
139
  none: false
115
- requirements:
116
- - - ">="
117
- - !ruby/object:Gem::Version
118
- hash: 3313718296616835424
119
- segments:
140
+ requirements:
141
+ - - ! '>='
142
+ - !ruby/object:Gem::Version
143
+ version: '0'
144
+ segments:
120
145
  - 0
121
- version: "0"
122
- required_rubygems_version: !ruby/object:Gem::Requirement
146
+ hash: -3330069193690036928
147
+ required_rubygems_version: !ruby/object:Gem::Requirement
123
148
  none: false
124
- requirements:
125
- - - ">="
126
- - !ruby/object:Gem::Version
127
- version: "0"
149
+ requirements:
150
+ - - ! '>='
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
128
153
  requirements: []
129
-
130
154
  rubyforge_project:
131
- rubygems_version: 1.6.2
155
+ rubygems_version: 1.8.25
132
156
  signing_key:
133
157
  specification_version: 3
134
- summary: A library for remembering expander-settings using a database for the gtk2-extension in Ruby.
158
+ summary: A library for remembering expander-settings using a database for the gtk2-extension
159
+ in Ruby.
135
160
  test_files: []
136
-