rim 1.8.2 → 1.9.0

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: 604da364926c385644eb07e744d0d5901d2495fc
4
- data.tar.gz: f60948d744b979021bdc0eeb06100fc4e8031771
3
+ metadata.gz: 73ae1a69fd80fb16e51ea6591de4d35e731ef022
4
+ data.tar.gz: 40e8becdef14a4ec449fcd096c01f3c597fb4b0f
5
5
  SHA512:
6
- metadata.gz: f4b8e3b4d2b377a445b57aa02582a993d42846fefb81c051130afcb35c99dda46ccf2560df48e1d82e46ad8f60c4a1461d657191df3f1eab925adb6c5c5f7c4b
7
- data.tar.gz: 6662310fe790d6ad821068eb15047654e36754f5a10858dd6bf4e07816547241d952615025947e57022dfbad109736120e45c20fe6e6ff4c77fb0330efab543c
6
+ metadata.gz: d175c0234b96627e4357a23fa995c79697cb962fb40f2d0268f5b4baee5772c4a690577dde57b7b99df2345d0ddba8850506e1e27c0ec08e5d4196164100d17e
7
+ data.tar.gz: 23f427eb60ef787e28bc988c8a95a817e8f079984e50dac37b215e20b4df54db36190578e79402adb7c6a22cb7c5d3db86c9bcdd39c1be527165f606bd1d919d
data/Changelog CHANGED
@@ -1,3 +1,7 @@
1
+ 1.9.0
2
+ New Rake task aspell.
3
+ Fix typos and improve some internals.
4
+
1
5
  1.8.2
2
6
  Fail silently if rdoc is not found.
3
7
 
@@ -16,7 +16,7 @@ Minimal Rakefile:
16
16
  version '1.0.0'
17
17
  end
18
18
 
19
- For advanced usuage have a look at the Rakefile of rim.
19
+ For advanced usage have a look at the Rakefile of rim.
20
20
 
21
21
 
22
22
  === Writing an extension
data/Rakefile CHANGED
@@ -1,5 +1,6 @@
1
1
  $:.unshift File.dirname(__FILE__) + '/lib'
2
2
  require 'rim'
3
+ require 'rim/aspell'
3
4
  require 'rim/check_version'
4
5
  require 'rim/gem'
5
6
  require 'rim/git'
data/lib/rim.rb CHANGED
@@ -9,7 +9,7 @@ require 'singleton'
9
9
  # versions as possible and is easy to extend. Feel free to dislike it. ;)
10
10
  class Rim
11
11
 
12
- VERSION = '1.8.2'
12
+ VERSION = '1.9.0'
13
13
 
14
14
  begin
15
15
  require 'rake/dsl_definition'
@@ -0,0 +1,24 @@
1
+ # -- encoding: utf-8 --
2
+ require 'rim/release'
3
+
4
+ class Rim
5
+ # Files to check via aspell (default: /^README/i)
6
+ attr_accessor :aspell_files
7
+
8
+ # Language for aspell (default: 'en')
9
+ attr_accessor :aspell_lang
10
+ end
11
+
12
+ Rim.defaults do
13
+ aspell_files filelist(/^README/i)
14
+ aspell_lang 'en'
15
+ end
16
+
17
+ Rim.after_setup do
18
+ desc 'Check files via aspell'
19
+ task :aspell do
20
+ aspell_files.each do |fn|
21
+ sh "aspell -c -x -l #{aspell_lang} #{fn}"
22
+ end
23
+ end
24
+ end
@@ -20,7 +20,7 @@ class Rim
20
20
  # Files included in the gem (default: <code>/^README/i, /^Changelog/i, /^COPYING/i, /^LICENSE/i, /^Rakefile/i, 'bin/*', 'lib/**/*', 'test/**/*'</code>)
21
21
  attr_accessor :gem_files
22
22
 
23
- # Dependencies for development (default: <code>rim ~> Rim::VERSION</code>)
23
+ # Dependencies for development (default: <code>["rim ~> #{Rim::VERSION.split(/\./)[0..1].join('.')}"]</code>)
24
24
  attr_accessor :development_dependencies
25
25
 
26
26
  # Required Ruby version
@@ -35,7 +35,7 @@ end
35
35
 
36
36
  Rim.defaults do
37
37
  gem_files filelist(/^README/i, /^Changelog/i, /^COPYING/i, /^LICENSE/i, /^Rakefile/i, 'bin/*', 'lib/**/*', 'test/**/*')
38
- development_dependencies ["rim ~> #{Rim::VERSION}"]
38
+ development_dependencies ["rim ~> #{Rim::VERSION.split(/\./)[0..1].join('.')}"]
39
39
  requirements []
40
40
  end
41
41
 
@@ -25,6 +25,8 @@ Rim.after_setup do
25
25
  begin
26
26
  require 'rake/rdoctask'
27
27
  klass = Rake::RDocTask
28
+ rescue LoadError
29
+ warn 'No rdoc found!'
28
30
  rescue Exception
29
31
  warn 'No rdoc found!'
30
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rim
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.2
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Friedrich
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-11 00:00:00.000000000 Z
11
+ date: 2014-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rim
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.8.2
19
+ version: '1.9'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.8.2
26
+ version: '1.9'
27
27
  description: |
28
28
  Goal is to have a project managing that just works on many Ruby
29
29
  versions as possible and is easy to extend. Feel free to dislike it. ;)
@@ -37,6 +37,7 @@ files:
37
37
  - README.rdoc
38
38
  - Rakefile
39
39
  - lib/rim.rb
40
+ - lib/rim/aspell.rb
40
41
  - lib/rim/check_version.rb
41
42
  - lib/rim/core.rb
42
43
  - lib/rim/gem.rb