map 6.5.1 → 6.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (6) hide show
  1. checksums.yaml +15 -0
  2. data/Rakefile +4 -2
  3. data/a +0 -0
  4. data/lib/map.rb +6 -1
  5. data/map.gemspec +4 -2
  6. metadata +10 -10
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ODU5NDc3YjlkZGE3YzljYjgzZjk2NWU1YzBlOGIwNGNmMDlkZWJiNA==
5
+ data.tar.gz: !binary |-
6
+ ZWU1NTdkOWFiOGE4YTFlYjM5ZGFkMTYxNmQ3MTViYjJlNmM3ODQ5OA==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ M2QxYWM3OThmMDBiYzlhMTZmMzJiYzRlNzg3MzA3OGM1NGNjMDgzZGMyNDEz
10
+ MTE3NDNlMzIyNTU2YmY5ODdhZDBjZWZjNGZmMzZlOTgyZWNlODU0YTQwNjk2
11
+ M2Q0ZWY5MTkzZDQxNGE1YzEzZTFjNzQ1YzFiMTQxN2MxN2FjNDc=
12
+ data.tar.gz: !binary |-
13
+ ZTA3ZDFiZWNhMGMwMmM1MmZkYTcyNDVkMjQ4ODZlOTI3NDk5YTJkZjQ0MDQy
14
+ MDQ4NTc3NDQ5ZDQzZmNhMzdmNGFjMWQ2ZDlkYTA1ZmQ2NjExOWIxOTRjNzVl
15
+ NDMzYzZmODQ4ZGUzNjJkZDlkOWZjY2YwYjNkZjk4OWQ2MTZlYzk=
data/Rakefile CHANGED
@@ -93,6 +93,7 @@ task :gemspec do
93
93
  test_files = "test/#{ lib }.rb" if File.file?("test/#{ lib }.rb")
94
94
  summary = object.respond_to?(:summary) ? object.summary : "summary: #{ lib } kicks the ass"
95
95
  description = object.respond_to?(:description) ? object.description : "description: #{ lib } kicks the ass"
96
+ license = object.respond_to?(:license) ? object.license : "same as ruby's"
96
97
 
97
98
  if This.extensions.nil?
98
99
  This.extensions = []
@@ -118,6 +119,7 @@ task :gemspec do
118
119
  spec.platform = Gem::Platform::RUBY
119
120
  spec.summary = #{ lib.inspect }
120
121
  spec.description = #{ description.inspect }
122
+ spec.license = #{ license.inspect }
121
123
 
122
124
  spec.files =\n#{ files.sort.pretty_inspect }
123
125
  spec.executables = #{ executables.inspect }
@@ -178,8 +180,8 @@ task :readme do
178
180
  end
179
181
 
180
182
  template =
181
- if test(?e, 'readme.erb')
182
- Template{ IO.read('readme.erb') }
183
+ if test(?e, 'README.erb')
184
+ Template{ IO.read('README.erb') }
183
185
  else
184
186
  Template {
185
187
  <<-__
data/a ADDED
File without changes
data/lib/map.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  class Map < Hash
3
- Version = '6.5.1' unless defined?(Version)
3
+ Version = '6.5.2' unless defined?(Version)
4
4
  Load = Kernel.method(:load) unless defined?(Load)
5
5
 
6
6
  class << Map
@@ -8,6 +8,10 @@ class Map < Hash
8
8
  Map::Version
9
9
  end
10
10
 
11
+ def description
12
+ "the awesome ruby container you've always wanted: a string/symbol indifferent ordered hash that works in all rubies"
13
+ end
14
+
11
15
  def libdir(*args, &block)
12
16
  @libdir ||= File.expand_path(__FILE__).sub(/\.rb$/,'')
13
17
  libdir = args.empty? ? @libdir : File.join(@libdir, *args.map{|arg| arg.to_s})
@@ -1182,3 +1186,4 @@ end
1182
1186
  Map.load('struct.rb')
1183
1187
  Map.load('options.rb')
1184
1188
  Map.load('params.rb')
1189
+
@@ -3,15 +3,17 @@
3
3
 
4
4
  Gem::Specification::new do |spec|
5
5
  spec.name = "map"
6
- spec.version = "6.5.1"
6
+ spec.version = "6.5.2"
7
7
  spec.platform = Gem::Platform::RUBY
8
8
  spec.summary = "map"
9
- spec.description = "description: map kicks the ass"
9
+ spec.description = "the awesome ruby container you've always wanted: a string/symbol indifferent ordered hash that works in all rubies"
10
+ spec.license = "same as ruby's"
10
11
 
11
12
  spec.files =
12
13
  ["LICENSE",
13
14
  "README",
14
15
  "Rakefile",
16
+ "a",
15
17
  "a.rb",
16
18
  "lib",
17
19
  "lib/map",
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: map
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.5.1
5
- prerelease:
4
+ version: 6.5.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Ara T. Howard
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-05-01 00:00:00.000000000 Z
11
+ date: 2014-02-13 00:00:00.000000000 Z
13
12
  dependencies: []
14
- description: ! 'description: map kicks the ass'
13
+ description: ! 'the awesome ruby container you''ve always wanted: a string/symbol
14
+ indifferent ordered hash that works in all rubies'
15
15
  email: ara.t.howard@gmail.com
16
16
  executables: []
17
17
  extensions: []
@@ -20,6 +20,7 @@ files:
20
20
  - LICENSE
21
21
  - README
22
22
  - Rakefile
23
+ - a
23
24
  - a.rb
24
25
  - lib/map.rb
25
26
  - lib/map/integrations/active_record.rb
@@ -31,28 +32,27 @@ files:
31
32
  - test/lib/testing.rb
32
33
  - test/map_test.rb
33
34
  homepage: https://github.com/ahoward/map
34
- licenses: []
35
+ licenses:
36
+ - same as ruby's
37
+ metadata: {}
35
38
  post_install_message:
36
39
  rdoc_options: []
37
40
  require_paths:
38
41
  - lib
39
42
  required_ruby_version: !ruby/object:Gem::Requirement
40
- none: false
41
43
  requirements:
42
44
  - - ! '>='
43
45
  - !ruby/object:Gem::Version
44
46
  version: '0'
45
47
  required_rubygems_version: !ruby/object:Gem::Requirement
46
- none: false
47
48
  requirements:
48
49
  - - ! '>='
49
50
  - !ruby/object:Gem::Version
50
51
  version: '0'
51
52
  requirements: []
52
53
  rubyforge_project: codeforpeople
53
- rubygems_version: 1.8.23
54
+ rubygems_version: 2.0.3
54
55
  signing_key:
55
- specification_version: 3
56
+ specification_version: 4
56
57
  summary: map
57
58
  test_files: []
58
- has_rdoc: