globals 0.0.2 → 0.1.0

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 (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/globals.rb +4 -0
  3. metadata +7 -9
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2dbd9a3c07df627f024c2f26dab1dd0f4313005e
4
+ data.tar.gz: 69f26b78e65d7db1279dfbda4bb566f16c435568
5
+ SHA512:
6
+ metadata.gz: 8b3c5b1e9bfed034ec3086c237906d72d215e456fe3c57cf9b4dc0befb8ec2118d44785a70f0ef8fc1c47c09158287b2b2f2c1c93496142505858a0e80eec7a1
7
+ data.tar.gz: 3c49fb8c99578d272e92352059800955e69e230cbf4bd1961ccf67671a5f98a9541946e2e66cf96f9443a67fd69c9243cca8667e4a08bcf9507525a386ab8059
data/lib/globals.rb CHANGED
@@ -37,6 +37,10 @@ class Globals
37
37
  end
38
38
  end
39
39
 
40
+ def to_hash
41
+ @globals
42
+ end
43
+
40
44
  private
41
45
 
42
46
  def define_accessors
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: globals
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
5
- prerelease:
4
+ version: 0.1.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Sujoy Gupta
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-10-20 00:00:00.000000000 Z
11
+ date: 2013-10-02 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description:
15
14
  email: sujoyg@gmail.com
@@ -20,26 +19,25 @@ files:
20
19
  - lib/globals.rb
21
20
  homepage: http://rubygems.org/gems/globals
22
21
  licenses: []
22
+ metadata: {}
23
23
  post_install_message:
24
24
  rdoc_options: []
25
25
  require_paths:
26
26
  - lib
27
27
  required_ruby_version: !ruby/object:Gem::Requirement
28
- none: false
29
28
  requirements:
30
- - - ! '>='
29
+ - - '>='
31
30
  - !ruby/object:Gem::Version
32
31
  version: '0'
33
32
  required_rubygems_version: !ruby/object:Gem::Requirement
34
- none: false
35
33
  requirements:
36
- - - ! '>='
34
+ - - '>='
37
35
  - !ruby/object:Gem::Version
38
36
  version: '0'
39
37
  requirements: []
40
38
  rubyforge_project:
41
- rubygems_version: 1.8.24
39
+ rubygems_version: 2.1.4
42
40
  signing_key:
43
- specification_version: 3
41
+ specification_version: 4
44
42
  summary: A simple way to define globals for use in a rails application.
45
43
  test_files: []