latest_ruby 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDA2MGExOTViMTA2YTU0MGEyMzBjYTRmZDRkYjVhZTZjZmQ5MDNkOA==
4
+ ZjE3ODBmOTAwNDQ4ZjJhNTM5NDc4ZmM0NDgxYThkZTNhOTAwNWZmYg==
5
5
  data.tar.gz: !binary |-
6
- ZGFkMDM1N2U5MGFjNDRjZWNmMDlkYzliZGYzMzQ0MjJlYzcyNzJmOA==
6
+ ZTJjYTJjOGMwZmYzZDUyMzNiZTg1YWEzZTdmODM2MzQyOWEzOWFlMw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YmQzMTE0YzBjZTA4M2I5YTIxNWQ0YjE1YmE2NjM5NWNmZTNiZDBmZWMzYmYy
10
- YmE4OWI2Njk1MDVjNjU2MDM2YTMzZmYyNzUyNmUxZDM4NTc5ZjA0MDU2NmJh
11
- NTYwYjViNWQxMTU0MmRmMmZkNjg3MDVmOTBlOTRiMDBjN2VhYWQ=
9
+ MmExZTg0ODU4MGE2ZTZiOGRlYzY4YzcwODA0NGQwNDFhMjgyODZkYjNjMDUy
10
+ NTcxYWU0MGYyZTQ0MjlkOWFmYTg4NWMwYmRkODdjY2VlZTQ3NjhmNTRjM2Rh
11
+ NWQzNzBiZjI1MDY2ZGNjZWNkODI5ZGE3NzE0MGUzOTk2NjYxYjg=
12
12
  data.tar.gz: !binary |-
13
- MWQ4ZGJlYjkxN2E3NDZiMWRkMDUyNTQ1MjJiM2I0MjVmMzliOWZmMDI2MWNl
14
- OTc3YTViZmI0NGVhODQ3NzE0ZTE0YzJjNDJjMWUyNGE5ZDdhYjUwZDZhMjg0
15
- NTJkOGM3NTVhZGEzMTJlMjBiNjdlNmE5OTU4YTRhMzE2NmI4M2I=
13
+ MDE0NmZhYWQ0ZjM2NDNiY2FhY2UwYTQwN2U2OGEyOTc4MjBjMmRmYTM0MDA5
14
+ NWY2NWYzY2UwNDI5Y2M0OWQxNzJlOTA0ZDRhNDI3ZGY4NjY1YTlhNjNiZDMx
15
+ NGZmZTQwYWEzOGEwNDM4ZTNjN2YxN2RhZWRjMzAzZjljNTZjYWY=
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  Latest Ruby changelog
2
2
  =====================
3
3
 
4
+ ### v0.0.2 (April 16, 2013)
5
+
6
+ * Added `#filename` method to `Latest::Ruby`
7
+
4
8
  ### v0.0.1 (April 16, 2013)
5
9
 
6
10
  * Initial release
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -9,6 +9,11 @@ module Latest
9
9
  @ruby = ruby
10
10
  end
11
11
 
12
+ def filename(ext = nil)
13
+ name = (ext ? @ruby.link(ext) : @ruby.link)
14
+ name.split('/').last
15
+ end
16
+
12
17
  def_delegators :@ruby, :link, :version
13
18
 
14
19
  end
@@ -2,6 +2,7 @@ require_relative 'helper'
2
2
 
3
3
  describe Latest do
4
4
  it "works" do
5
+ binding.pry
5
6
  true.should == true
6
7
  end
7
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: latest_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyrylo Silin