starter_generators 0.7.1 → 0.7.2

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: d6ceb4e18e5232afce80f34c427dcf56f2c43716
4
- data.tar.gz: 9457cfd672bdff3a1616daf1410d180e1cbab786
3
+ metadata.gz: 4aafff1b6ffe8ca3103db7679f9c620495884930
4
+ data.tar.gz: 8e843862dcf7f5f35e5b945bc8cac469e5f68365
5
5
  SHA512:
6
- metadata.gz: 9958ac0ea69b1c85e3b0ecff4133127f8add3e6b8472b59c91118b2dfa61c9a0ee2377a0c7c866f27a912e25b144c471c4ded6aa97e4e29793cc84d9c69b2c31
7
- data.tar.gz: 44950b561d74db04ba2b449199d75b43c24fbdd8d940970f4f3d014c82648afc928b0115daf0dbb22053f17edfc7586fe48b95c0393f31603933bc93023938ae
6
+ metadata.gz: 0b064f0e51accbfc153015f2b09f5e16fe56f26fbc8e429a5f240de3f116f27493eccdd9a85067d7d887ed5b2702d4d43ef0b80e49b8fa0613a17ba2e080dc8b
7
+ data.tar.gz: 0018003ecfb676881979bab86b85a0a3203848a01fc96831be271daf44d795d00f0f5d06d08ea0665f711d5a2b6fca62bb0a8c80bc9309d6c7e59ae4f1890648
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## Version 0.7.2 (July 25, 2013)
2
+ * Enhanced flash messaging
3
+
4
+ ## Version 0.7.1 (July 25, 2013)
5
+ * Fix named routes
6
+
1
7
  ## Version 0.7.0 (July 25, 2013) ##
2
8
  * Change BOOTSWATCH_NAME to THEME_NAME
3
9
  * Use CDN for FontAwesome and Bootswatch themes.
@@ -44,11 +44,11 @@
44
44
 
45
45
  <div class="container">
46
46
 
47
- <%% if flash[:notice] %>
48
- <div class="alert alert-success">
49
- <button type="button" class="close" data-dismiss="alert">&times;</button>
50
- <%%= notice %>
51
- </div>
47
+ <%% flash.each do |name, msg| %>
48
+ <div class="alert alert-<%%= name == :notice ? "success" : "error" %>">
49
+ <a class="close" data-dismiss="alert">&times;</a>
50
+ <%%= msg %>
51
+ </div>
52
52
  <%% end %>
53
53
 
54
54
  <%%= yield %>
@@ -1,3 +1,3 @@
1
1
  module StarterGenerators
2
- VERSION = "0.7.1"
2
+ VERSION = "0.7.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: starter_generators
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Cohen