sampler 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sampler/version.rb +1 -1
- data/lib/sampler.rb +2 -2
- metadata +2 -8
data/lib/sampler/version.rb
CHANGED
data/lib/sampler.rb
CHANGED
@@ -3,14 +3,14 @@ require 'sampler/railtie' if defined?(Rails)
|
|
3
3
|
|
4
4
|
module Sampler
|
5
5
|
def self.environments
|
6
|
-
@@environments
|
6
|
+
@@environments ||= %w(development)
|
7
7
|
end
|
8
8
|
|
9
9
|
def self.environments=(environments)
|
10
10
|
@@environments = environments
|
11
11
|
end
|
12
12
|
|
13
|
-
def self.config
|
13
|
+
def self.config(&block)
|
14
14
|
yield self
|
15
15
|
end
|
16
16
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sampler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-09-
|
12
|
+
date: 2012-09-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -78,18 +78,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
78
78
|
- - ! '>='
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '0'
|
81
|
-
segments:
|
82
|
-
- 0
|
83
|
-
hash: 1293236899247871060
|
84
81
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
82
|
none: false
|
86
83
|
requirements:
|
87
84
|
- - ! '>='
|
88
85
|
- !ruby/object:Gem::Version
|
89
86
|
version: '0'
|
90
|
-
segments:
|
91
|
-
- 0
|
92
|
-
hash: 1293236899247871060
|
93
87
|
requirements: []
|
94
88
|
rubyforge_project:
|
95
89
|
rubygems_version: 1.8.24
|