coral_core 0.2.25 → 0.2.26

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.25
1
+ 0.2.26
data/coral_core.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "coral_core"
8
- s.version = "0.2.25"
8
+ s.version = "0.2.26"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Adrian Webb"]
12
- s.date = "2013-05-22"
12
+ s.date = "2013-05-24"
13
13
  s.description = "= coral_core\n\nThis library provides core data elements and utilities used in other Coral gems.\n\nThe Coral core library contains functionality that is utilized by other\nCoral gems by providing basic utilities like Git, Shell, Disk, and Data\nmanipulation libraries, a UI system, and a core data model that supports\nEvents, Commands, Repositories, and Memory (version controlled JSON \nobjects). This library is only used as a starting point for other systems.\n\nNote: This library is still very early in development!\n\n== Contributing to coral_core\n \n* Check out the latest {major}.{minor} branch to make sure the feature hasn't \n been implemented or the bug hasn't been fixed yet.\n* Check out the issue tracker to make sure someone already hasn't requested \n it and/or contributed it.\n* Fork the project.\n* Start a feature/bugfix branch.\n* Commit and push until you are happy with your contribution.\n* Make sure to add tests for it. This is important so I don't break it in a \n future version unintentionally.\n* Please try not to mess with the Rakefile, version, or history. If you want \n to have your own version, or is otherwise necessary, that is fine, but \n please isolate to its own commit so I can cherry-pick around it.\n\n== Copyright\n\nLicensed under GPLv3. See LICENSE.txt for further details.\n\nCopyright (c) 2013 Adrian Webb <adrian.webb@coraltech.net>\nCoral Technology Group LLC"
14
14
  s.email = "adrian.webb@coraltech.net"
15
15
  s.extra_rdoc_files = [
@@ -60,7 +60,7 @@ Gem::Specification.new do |s|
60
60
  s.require_paths = ["lib"]
61
61
  s.required_ruby_version = Gem::Requirement.new(">= 1.8.1")
62
62
  s.rubyforge_project = "coral_core"
63
- s.rubygems_version = "1.8.15"
63
+ s.rubygems_version = "1.8.11"
64
64
  s.summary = "Provides core data elements and utilities used in other Coral gems"
65
65
 
66
66
  if s.respond_to? :specification_version then
@@ -54,5 +54,12 @@ class Base
54
54
  def add(path = '.', opts = {})
55
55
  self.lib.add(path, opts)
56
56
  end
57
+
58
+ #-----------------------------------------------------------------------------
59
+ # Remote extensions
60
+
61
+ def pull(remote = 'origin', branch = 'master')
62
+ self.lib.pull(remote, branch)
63
+ end
57
64
  end
58
65
  end
@@ -67,6 +67,13 @@ class Lib
67
67
  command('remote', ['rm', name])
68
68
  end
69
69
 
70
+ #---
71
+
72
+ def pull(remote, branch = 'master', tags = false)
73
+ command('pull', [remote, branch])
74
+ command('pull', ['--tags', remote]) if tags
75
+ end
76
+
70
77
  #-----------------------------------------------------------------------------
71
78
  # Utilities
72
79
 
metadata CHANGED
@@ -1,201 +1,139 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: coral_core
3
- version: !ruby/object:Gem::Version
4
- hash: 37
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.26
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 2
9
- - 25
10
- version: 0.2.25
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Adrian Webb
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2013-05-22 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2013-05-24 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: log4r
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &22093660 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
18
+ requirements:
26
19
  - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 13
29
- segments:
30
- - 1
31
- - 1
32
- version: "1.1"
20
+ - !ruby/object:Gem::Version
21
+ version: '1.1'
33
22
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: deep_merge
37
23
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *22093660
25
+ - !ruby/object:Gem::Dependency
26
+ name: deep_merge
27
+ requirement: &22092980 !ruby/object:Gem::Requirement
39
28
  none: false
40
- requirements:
29
+ requirements:
41
30
  - - ~>
42
- - !ruby/object:Gem::Version
43
- hash: 15
44
- segments:
45
- - 1
46
- - 0
47
- version: "1.0"
31
+ - !ruby/object:Gem::Version
32
+ version: '1.0'
48
33
  type: :runtime
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
51
- name: json
52
34
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *22092980
36
+ - !ruby/object:Gem::Dependency
37
+ name: json
38
+ requirement: &22092340 !ruby/object:Gem::Requirement
54
39
  none: false
55
- requirements:
56
- - - ">="
57
- - !ruby/object:Gem::Version
58
- hash: 7
59
- segments:
60
- - 1
61
- - 4
62
- version: "1.4"
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '1.4'
63
44
  type: :runtime
64
- version_requirements: *id003
65
- - !ruby/object:Gem::Dependency
66
- name: git
67
45
  prerelease: false
68
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *22092340
47
+ - !ruby/object:Gem::Dependency
48
+ name: git
49
+ requirement: &22091780 !ruby/object:Gem::Requirement
69
50
  none: false
70
- requirements:
71
- - - "="
72
- - !ruby/object:Gem::Version
73
- hash: 21
74
- segments:
75
- - 1
76
- - 2
77
- - 5
51
+ requirements:
52
+ - - =
53
+ - !ruby/object:Gem::Version
78
54
  version: 1.2.5
79
55
  type: :runtime
80
- version_requirements: *id004
81
- - !ruby/object:Gem::Dependency
82
- name: bundler
83
56
  prerelease: false
84
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *22091780
58
+ - !ruby/object:Gem::Dependency
59
+ name: bundler
60
+ requirement: &22117860 !ruby/object:Gem::Requirement
85
61
  none: false
86
- requirements:
62
+ requirements:
87
63
  - - ~>
88
- - !ruby/object:Gem::Version
89
- hash: 11
90
- segments:
91
- - 1
92
- - 2
93
- version: "1.2"
64
+ - !ruby/object:Gem::Version
65
+ version: '1.2'
94
66
  type: :development
95
- version_requirements: *id005
96
- - !ruby/object:Gem::Dependency
97
- name: jeweler
98
67
  prerelease: false
99
- requirement: &id006 !ruby/object:Gem::Requirement
68
+ version_requirements: *22117860
69
+ - !ruby/object:Gem::Dependency
70
+ name: jeweler
71
+ requirement: &22117280 !ruby/object:Gem::Requirement
100
72
  none: false
101
- requirements:
73
+ requirements:
102
74
  - - ~>
103
- - !ruby/object:Gem::Version
104
- hash: 31
105
- segments:
106
- - 1
107
- - 8
108
- version: "1.8"
75
+ - !ruby/object:Gem::Version
76
+ version: '1.8'
109
77
  type: :development
110
- version_requirements: *id006
111
- - !ruby/object:Gem::Dependency
112
- name: rspec
113
78
  prerelease: false
114
- requirement: &id007 !ruby/object:Gem::Requirement
79
+ version_requirements: *22117280
80
+ - !ruby/object:Gem::Dependency
81
+ name: rspec
82
+ requirement: &22116620 !ruby/object:Gem::Requirement
115
83
  none: false
116
- requirements:
84
+ requirements:
117
85
  - - ~>
118
- - !ruby/object:Gem::Version
119
- hash: 23
120
- segments:
121
- - 2
122
- - 10
123
- version: "2.10"
86
+ - !ruby/object:Gem::Version
87
+ version: '2.10'
124
88
  type: :development
125
- version_requirements: *id007
126
- - !ruby/object:Gem::Dependency
127
- name: rdoc
128
89
  prerelease: false
129
- requirement: &id008 !ruby/object:Gem::Requirement
90
+ version_requirements: *22116620
91
+ - !ruby/object:Gem::Dependency
92
+ name: rdoc
93
+ requirement: &22115960 !ruby/object:Gem::Requirement
130
94
  none: false
131
- requirements:
95
+ requirements:
132
96
  - - ~>
133
- - !ruby/object:Gem::Version
134
- hash: 31
135
- segments:
136
- - 3
137
- - 12
138
- version: "3.12"
97
+ - !ruby/object:Gem::Version
98
+ version: '3.12'
139
99
  type: :development
140
- version_requirements: *id008
141
- - !ruby/object:Gem::Dependency
142
- name: yard
143
100
  prerelease: false
144
- requirement: &id009 !ruby/object:Gem::Requirement
101
+ version_requirements: *22115960
102
+ - !ruby/object:Gem::Dependency
103
+ name: yard
104
+ requirement: &22115320 !ruby/object:Gem::Requirement
145
105
  none: false
146
- requirements:
106
+ requirements:
147
107
  - - ~>
148
- - !ruby/object:Gem::Version
149
- hash: 27
150
- segments:
151
- - 0
152
- - 8
153
- version: "0.8"
108
+ - !ruby/object:Gem::Version
109
+ version: '0.8'
154
110
  type: :development
155
- version_requirements: *id009
156
- description: |-
157
- = coral_core
158
-
159
- This library provides core data elements and utilities used in other Coral gems.
160
-
161
- The Coral core library contains functionality that is utilized by other
162
- Coral gems by providing basic utilities like Git, Shell, Disk, and Data
163
- manipulation libraries, a UI system, and a core data model that supports
164
- Events, Commands, Repositories, and Memory (version controlled JSON
165
- objects). This library is only used as a starting point for other systems.
166
-
167
- Note: This library is still very early in development!
168
-
169
- == Contributing to coral_core
170
-
171
- * Check out the latest {major}.{minor} branch to make sure the feature hasn't
172
- been implemented or the bug hasn't been fixed yet.
173
- * Check out the issue tracker to make sure someone already hasn't requested
174
- it and/or contributed it.
175
- * Fork the project.
176
- * Start a feature/bugfix branch.
177
- * Commit and push until you are happy with your contribution.
178
- * Make sure to add tests for it. This is important so I don't break it in a
179
- future version unintentionally.
180
- * Please try not to mess with the Rakefile, version, or history. If you want
181
- to have your own version, or is otherwise necessary, that is fine, but
182
- please isolate to its own commit so I can cherry-pick around it.
183
-
184
- == Copyright
185
-
186
- Licensed under GPLv3. See LICENSE.txt for further details.
187
-
188
- Copyright (c) 2013 Adrian Webb <adrian.webb@coraltech.net>
189
- Coral Technology Group LLC
111
+ prerelease: false
112
+ version_requirements: *22115320
113
+ description: ! "= coral_core\n\nThis library provides core data elements and utilities
114
+ used in other Coral gems.\n\nThe Coral core library contains functionality that
115
+ is utilized by other\nCoral gems by providing basic utilities like Git, Shell, Disk,
116
+ and Data\nmanipulation libraries, a UI system, and a core data model that supports\nEvents,
117
+ Commands, Repositories, and Memory (version controlled JSON \nobjects). This library
118
+ is only used as a starting point for other systems.\n\nNote: This library is still
119
+ very early in development!\n\n== Contributing to coral_core\n \n* Check out the
120
+ latest {major}.{minor} branch to make sure the feature hasn't \n been implemented
121
+ or the bug hasn't been fixed yet.\n* Check out the issue tracker to make sure someone
122
+ already hasn't requested \n it and/or contributed it.\n* Fork the project.\n* Start
123
+ a feature/bugfix branch.\n* Commit and push until you are happy with your contribution.\n*
124
+ Make sure to add tests for it. This is important so I don't break it in a \n future
125
+ version unintentionally.\n* Please try not to mess with the Rakefile, version, or
126
+ history. If you want \n to have your own version, or is otherwise necessary, that
127
+ is fine, but \n please isolate to its own commit so I can cherry-pick around it.\n\n==
128
+ Copyright\n\nLicensed under GPLv3. See LICENSE.txt for further details.\n\nCopyright
129
+ (c) 2013 Adrian Webb <adrian.webb@coraltech.net>\nCoral Technology Group LLC"
190
130
  email: adrian.webb@coraltech.net
191
131
  executables: []
192
-
193
132
  extensions: []
194
-
195
- extra_rdoc_files:
133
+ extra_rdoc_files:
196
134
  - LICENSE.txt
197
135
  - README.rdoc
198
- files:
136
+ files:
199
137
  - .document
200
138
  - .gitmodules
201
139
  - Gemfile
@@ -233,44 +171,34 @@ files:
233
171
  - spec/coral_test_kernel.rb
234
172
  - spec/spec_helper.rb
235
173
  homepage: http://github.com/coraltech/ruby-coral_core
236
- licenses:
174
+ licenses:
237
175
  - GPLv3
238
176
  post_install_message:
239
- rdoc_options:
177
+ rdoc_options:
240
178
  - --title
241
179
  - Coral Core library
242
180
  - --main
243
181
  - README.rdoc
244
182
  - --line-numbers
245
- require_paths:
183
+ require_paths:
246
184
  - lib
247
- required_ruby_version: !ruby/object:Gem::Requirement
185
+ required_ruby_version: !ruby/object:Gem::Requirement
248
186
  none: false
249
- requirements:
250
- - - ">="
251
- - !ruby/object:Gem::Version
252
- hash: 53
253
- segments:
254
- - 1
255
- - 8
256
- - 1
187
+ requirements:
188
+ - - ! '>='
189
+ - !ruby/object:Gem::Version
257
190
  version: 1.8.1
258
- required_rubygems_version: !ruby/object:Gem::Requirement
191
+ required_rubygems_version: !ruby/object:Gem::Requirement
259
192
  none: false
260
- requirements:
261
- - - ">="
262
- - !ruby/object:Gem::Version
263
- hash: 3
264
- segments:
265
- - 0
266
- version: "0"
193
+ requirements:
194
+ - - ! '>='
195
+ - !ruby/object:Gem::Version
196
+ version: '0'
267
197
  requirements: []
268
-
269
198
  rubyforge_project: coral_core
270
- rubygems_version: 1.8.15
199
+ rubygems_version: 1.8.11
271
200
  signing_key:
272
201
  specification_version: 3
273
202
  summary: Provides core data elements and utilities used in other Coral gems
274
203
  test_files: []
275
-
276
204
  has_rdoc: