fontana_client_support 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/fontana.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # -*- coding: utf-8 -*-
1
2
 
2
3
  module Fontana
3
4
  autoload :CommandUtils, 'fontana/command_utils'
@@ -18,5 +19,11 @@ module Fontana
18
19
  @home = value
19
20
  end
20
21
 
22
+ # これは fontanaの Fontana.env と同じ動きをすることが期待されています。
23
+ # https://github.com/tengine/fontana/blob/master/config/application.rb#L24
24
+ def env
25
+ @env ||= (ENV["FONTANA_ENV"] || "DEVELOPMENT").to_sym
26
+ end
27
+
21
28
  end
22
29
  end
@@ -1,3 +1,3 @@
1
1
  module FontanaClientSupport
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fontana_client_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - akima
@@ -13,6 +14,7 @@ dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: bundler
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :development
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
@@ -27,6 +30,7 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: rake
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - ! '>='
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :development
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ! '>='
39
44
  - !ruby/object:Gem::Version
@@ -66,26 +71,27 @@ files:
66
71
  homepage: ''
67
72
  licenses:
68
73
  - MIT
69
- metadata: {}
70
74
  post_install_message:
71
75
  rdoc_options: []
72
76
  require_paths:
73
77
  - lib
74
78
  required_ruby_version: !ruby/object:Gem::Requirement
79
+ none: false
75
80
  requirements:
76
81
  - - ! '>='
77
82
  - !ruby/object:Gem::Version
78
83
  version: '0'
79
84
  required_rubygems_version: !ruby/object:Gem::Requirement
85
+ none: false
80
86
  requirements:
81
87
  - - ! '>='
82
88
  - !ruby/object:Gem::Version
83
89
  version: '0'
84
90
  requirements: []
85
91
  rubyforge_project:
86
- rubygems_version: 2.0.3
92
+ rubygems_version: 1.8.25
87
93
  signing_key:
88
- specification_version: 4
94
+ specification_version: 3
89
95
  summary: gem to support development and testing with GSS/fontana
90
96
  test_files: []
91
97
  has_rdoc:
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MWRmZjcxNmE3MjFmNWNmYzdiNzMzNDdlYmJmNzk3MWU1OGJmNTU1YQ==
5
- data.tar.gz: !binary |-
6
- MDQzMDc2ZjE3N2ZiN2QwYTFiNTIxZTA1ODZjOTEyYjkxMGFkMGFmYg==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- OGZlMGY1Y2RjYWVhN2QxOWZiYTAwNGUzMDAwMWRlMzFjNjgwZTM0Mjg1NTMz
10
- OTVlMDRjYmI1YTEzNThiYjY1NDk5M2UzYmNkNzkwMDkyODBjODljMjkyYTQx
11
- NjdjOGMyMjIzMWY0OTQ0NTZlZTdkMWIyZjAwNTY2M2UwYTkyNTE=
12
- data.tar.gz: !binary |-
13
- MGI3OTUwZTM1ZDdjZmY1MTQ0ZGI1MDc3ODRmMTQ3ZWMwMjAzNWQ5ZmM3YzM5
14
- OGFhYTZhODJlNjVkZTEzNDI4OTk3OTMyNGFiYWQwMmQ1NzA5OTMwMzNlNTRj
15
- MWI2MGMzNjk5N2FlMGFjMzY1NWU4NGM4MDNmNzJlZDMzN2EwZDE=