fluidfeatures-rails 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module FluidFeatures
2
2
  module Rails
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
5
5
  end
@@ -41,11 +41,11 @@ describe HomeController do
41
41
  JsonSpec.exclude_keys("duration")
42
42
  features_hit_request.body.should be_json_eql(%({
43
43
  "features": {
44
- "hit": [
45
- "apples",
46
- "oranges",
47
- "lemons"
48
- ],
44
+ "hit": {
45
+ "apples": {
46
+ "1": {}
47
+ }
48
+ },
49
49
  "unknown": {
50
50
  // features that we have not seen before
51
51
  "apples": {
@@ -92,11 +92,14 @@ describe HomeController do
92
92
  JsonSpec.exclude_keys("duration")
93
93
  features_hit_request.body.should be_json_eql(%({
94
94
  "features": {
95
- "hit": [
96
- "apples",
97
- "oranges",
98
- "lemons"
99
- ],
95
+ "hit": {
96
+ "oranges": {
97
+ "1": {}
98
+ },
99
+ "lemons": {
100
+ "1": {}
101
+ }
102
+ },
100
103
  "unknown": {
101
104
  // no unknown features
102
105
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluidfeatures-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: