simple_features 0.0.1 → 0.9.99

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c0f2f202e0148723019ac232db20aedeee047bf4
4
- data.tar.gz: dec874cb1b476be1ca67a55f01ac987387afc40f
3
+ metadata.gz: 065265e25bfcbc8023763bc148bfbdc82d30da98
4
+ data.tar.gz: 11efd17d3984d61e1e831a465a19271bc5debaec
5
5
  SHA512:
6
- metadata.gz: daf8d43a4049c76958e35725b09beeb010ac8172c308c772cbd1e8f80e013cdc8b56df2944d702524564502006552b310b9a022235f06ca50c48429224bc5c77
7
- data.tar.gz: bcf973e3b80bee06b30929120afb54c1db26183d026636d5f0af82b51f7f3587dde5abec108086daad83bae039e1afd2d0d3c854cb94998bece52475ec61db81
6
+ metadata.gz: 91a12468f2419f6410c608b418b17f19689d3cf487603e2c51ee15fe1f8ca8d4660faf5c272aba94b4b4f2d04c15e41bcf6052078348a0881e08d24bcc36629c
7
+ data.tar.gz: 3ecc1f03853c703090fc0ca863b8f3c3ed68b55b27e0cb77aad997aa005378b73022aaf8d4d15b82a372a0f35d542eaac72704fff28a2942494a778cd8e85a74
data/.gitignore CHANGED
@@ -10,3 +10,6 @@
10
10
 
11
11
  # rspec failure tracking
12
12
  .rspec_status
13
+
14
+
15
+ /*.gem
data/CHANGELOG ADDED
@@ -0,0 +1,7 @@
1
+ # Changelog
2
+
3
+
4
+
5
+ ## [0.9.99] - 2017-11-21
6
+ ### Added
7
+ - beta released.
data/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  This gem was design to 1 thing and it well. (me thinks)
4
4
 
5
- The reason for why I started to write this gem is that of all the feautre gems it was
6
- quicker to right this that learn how they work And thats why its simple
5
+ The reason for why I started to write this gem is that of all the feautre gems, it was
6
+ quicker to write this gem than learn how they work And thats why this gem is overly darn so simple
7
7
 
8
8
  ## Installation
9
9
 
@@ -42,6 +42,29 @@ puts "feature_b" if features.feature_b?
42
42
  features = SimpleFeatures::Features.load_config('config/simple_features.yml')
43
43
  ```
44
44
 
45
+ #### example config file
46
+
47
+ ```yaml
48
+ production:
49
+ feature_one: true
50
+ feature_two: false
51
+ feature_three: true
52
+
53
+ ```
54
+
55
+ ```ruby
56
+ puts features.feature_one?
57
+ >> true
58
+
59
+ puts features.feature_two?
60
+ >> false
61
+
62
+ puts features.feature_three?
63
+ >> true
64
+
65
+ ```
66
+
67
+
45
68
  ### Rails & Rails Helpers
46
69
 
47
70
  `Rails` only needs to have the config file in `config/simple_features.yml`
@@ -1,3 +1,3 @@
1
1
  module SimpleFeatures
2
- VERSION = "0.0.1"
2
+ VERSION = "0.9.99"
3
3
  end
@@ -4,15 +4,20 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require "simple_features/version"
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.name = "simple_features"
8
- spec.version = SimpleFeatures::VERSION
9
- spec.authors = ["Freibuis"]
10
- spec.email = ["freibuis@gmail.com"]
7
+ spec.name = "simple_features"
8
+ spec.version = SimpleFeatures::VERSION
9
+ spec.authors = ["Freibuis"]
10
+ spec.email = ["freibuis@gmail.com"]
11
11
 
12
- spec.summary = %q{simple features}
13
- spec.description = %q{simple features: the cheap ass'ed flag flipper}
14
- spec.homepage = "http://freibuis.com"
15
- spec.license = "MIT"
12
+ spec.summary = %q{simple features}
13
+ spec.description = %q{simple features: the cheap ass'ed flag flipper}
14
+ spec.homepage = "https://github.com/freibuis/simple_features"
15
+ spec.license = "MIT"
16
+
17
+ spec.metadata = {
18
+ "changelog_uri" => "https://github.com/freibuis/simple_features/blob/master/CHANGELOG",
19
+ "source_code_uri" => "https://github.com/freibuis/simple_features",
20
+ }
16
21
 
17
22
 
18
23
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_features
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.9.99
5
5
  platform: ruby
6
6
  authors:
7
7
  - Freibuis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-20 00:00:00.000000000 Z
11
+ date: 2017-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -62,6 +62,7 @@ files:
62
62
  - ".gitignore"
63
63
  - ".rspec"
64
64
  - ".travis.yml"
65
+ - CHANGELOG
65
66
  - CODE_OF_CONDUCT.md
66
67
  - Gemfile
67
68
  - LICENSE.txt
@@ -76,10 +77,12 @@ files:
76
77
  - lib/simple_features/features.rb
77
78
  - lib/simple_features/version.rb
78
79
  - simple_features.gemspec
79
- homepage: http://freibuis.com
80
+ homepage: https://github.com/freibuis/simple_features
80
81
  licenses:
81
82
  - MIT
82
- metadata: {}
83
+ metadata:
84
+ changelog_uri: https://github.com/freibuis/simple_features/blob/master/CHANGELOG
85
+ source_code_uri: https://github.com/freibuis/simple_features
83
86
  post_install_message:
84
87
  rdoc_options: []
85
88
  require_paths: